Questions tagged [mencoder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
1k views

Command line VOB to AVI/MP4 with good quality and deinterlace

I have some VOB files, grabbed from DVDs. I need to make AVI/MP4 files for uploading online. The original resolution is 720p and I want 720p, but need to scale as the pixels are not square (720x480 to ...
Mikhail Ramendik's user avatar
0 votes
1 answer
2k views

H.264/MPEG-4 from PNG frames: how to, and how to tune compression

I often create digital animations by preparing all the frames in .png format (with minimal compression), that I need to convert to video format for upload to websites such as reddit, instagram, gfycat....
Nicola Sap's user avatar
3 votes
1 answer
2k views

How to display an image with mplayer?

How can I display a jpg image with mplayer for an infinite amount of time? Wen opening an image with mplayer, the image is displayed for about 0.1s and then mplayer is leaving: mplayer image.png ...
user123456's user avatar
  • 5,038
1 vote
1 answer
5k views

What is the format name to have a MP4 video as output in ffmpeg?

The following command ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 -f ogg - > video.mp4 Does not produce a .mp4 video. I want to replace -f ogg with -f <mp4 ...
 j1088099.mvrht.com.'s user avatar
1 vote
0 answers
50 views

Linux mencoder and green frames

I like to rip my vhs on mpeg format I use a vcr svhs and this mencoder line mencoder -tv driver=v4l2:alsa:adevice=hw.0,0:amode=1:audiorate=32000:forceaudio:immediatemode=0:freq=189.250:device=/dev/...
elbarna's user avatar
  • 12.7k
4 votes
0 answers
5k views

How to re-encode file A.mp4 with the same settings as B.mp4?

I have a MP4 file with AAC audio and H264 video, let's call it B.mp4. I also have file A.mp4 with the same picture resolution, but: different FPS possibly different audio/video bitrate different ...
Andrea Lazzarotto's user avatar
1 vote
1 answer
1k views

Using mencoder to record a video

I'm trying to use mencoder to record a video. The following command was taken from an online tutorial: mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/...
George's user avatar
  • 1,809
28 votes
4 answers
60k views

Convert a video to a fixed screen size by cropping and resizing

I've tried to figure this out myself, but the myriad of options just baffles me. I want to use ideally either ffmpeg or mencoder (or something else, but those two I know I have working) to convert ...
Andy Jeffries's user avatar
8 votes
3 answers
3k views

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this ...
student's user avatar
  • 18.4k
3 votes
1 answer
79 views

Why does mencoder output still images if I try to encode them under 3 FPS, while mencoder outputs dynamic images if I output them at 3 FPS or over?

If I try... mencoder mf://@NetSWLW12MA.txt -mf w=800:h=600:fps=1.5:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o NetSWLW12MA2.avi I just get a bunch of still images of the ...
InquilineKea's user avatar
  • 6,272
3 votes
1 answer
6k views

Convert images into avi with Raspberry Pi

I'm following this page: Creating Timelapse Videos With The Raspberry Pi Camera. But every time I try to make the video, I get this error: original: https://i.stack.imgur.com/ApIJ0.png ...
Coolcrab's user avatar
  • 133
2 votes
0 answers
2k views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...
Alasdair's user avatar
  • 281
1 vote
1 answer
2k views

Merging flv files causes a massive size increase

I have 3 flv files which I wish to merge. I used the answer in this post: Merge multiple flv files? which suggested this option: mencoder -forceidx -ovc copy -oac pcm -o output.flv input1.flv ...
Carl's user avatar
  • 11
4 votes
1 answer
2k views

How do I use MEncoder to encode all png files (in the current directory) as an avi file in order of date modification?

So I want MEncoder to encode all png files as an avi file from the earliest date modified to the last date modified, and I'd like each frame to be spaced out by 3 seconds.
InquilineKea's user avatar
  • 6,272
1 vote
1 answer
2k views

Converting dvd to MKV videos, anything wrong here?

I'm converting DVD media to a MKV format video with mencoder: mencoder dvd://4 -o output.mkv -oac mp3lame -ovc x264 -x264encopts crf=20:8x8dct:frameref=4:bframes=3:b_pyramid=normal:weight_b But the ...
daisy's user avatar
  • 54.6k
2 votes
1 answer
3k views

Terminate script using zenity progress bar

(GNOME2, Ubuntu 10.04 LTS) I've made a nautilus script, so that if I have a directory full of various codecs, then I just need to right click in that folder -> Scripts -> THISSCRIPT.txt, then presto, ...
gasko peter's user avatar
  • 5,514
3 votes
1 answer
4k views

Fix error in mp3 file

I have an mp3 file that plays OK on computer but there is a problem to play it on mp3 player. ffmpeg shows this: $ ffmpeg -i file.mp3 [mp3 @ 0x8de72a0] Invalid size in frame , skipping the rest of ...
xralf's user avatar
  • 15.4k
7 votes
2 answers
15k views

Mencoder with same quality output

I like mencoder for converting video files because it shows me how much time is remaining to the end of the conversion (in opposite to ffmpeg). mencoder file.wmv -ofps 23.976 -ovc lavc -oac copy -o ...
xralf's user avatar
  • 15.4k