Questions tagged [mencoder]

MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.

mencoder (MPlayer’s Movie Encoder) is a simple movie encoder, designed to encode MPlayer-playable movies (see above) to other MPlayer-playable formats (see below). It encodes to MPEG-4 (DivX/Xvid), one of the libavcodec codecs and PCM/MP3/VBRMP3 audio in 1, 2 or 3 passes. Furthermore it has stream copying abilities, a powerful filter system (crop, expand, flip, postprocess, rotate, scale, noise, RGB/YUV conversion) and more.

Online resources

95 questions
84
votes
7 answers

Using Python to execute a command on every file in a folder

I'm trying to create a Python script that would : Look into the folder "/input" For each video in that folder, run a mencoder command (to transcode them to something playable on my phone) Once mencoder has finished his run, delete the original…
Manu
  • 4,410
  • 6
  • 43
  • 77
40
votes
3 answers

Re-sampling H264 video to reduce frame rate while maintaining high image quality

Here's the mplayer output for a video of interest: br@carina:/tmp$ mplayer foo.mov mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team mplayer: could not…
BrianTheLion
  • 2,618
  • 2
  • 29
  • 46
35
votes
2 answers

ffmpeg vs mencoder

I'm doing a bunch of video encoding for a variety of devices and platforms. I've bounced back and forth a few times between mencoder and ffmpeg. Which do you recommend and why? Side question: From googling it seems that mencoder uses ffmpeg. Does…
Jonah Braun
  • 4,155
  • 7
  • 29
  • 31
18
votes
5 answers

Dump last frame of video file using ffmpeg/mencoder/transcode et. al

I'd like to grab the last frame in a video (.mpg, .avi, whatever) and dump it into an image file (.jpg, .png, whatever). Toolchain is a modern Linux command-line, so things like mencoder, transcode, ffmpeg &c. Cheers, Bob.
bobbogo
  • 14,989
  • 3
  • 48
  • 57
12
votes
3 answers

fast encoding video codec?

can anybody compare popular video codecs by encoding speed? I understand that usually better compression requires more processing time, but it's also possible that some codecs still provide comparably good compression with fast encoding. any…
Andriy Tylychko
  • 15,967
  • 6
  • 64
  • 112
8
votes
2 answers

How to extract frames using mencoder into specific directory?

I can't seem to extract images into a specific directory. The current command I am running is mplayer -vo jpeg CustomLogoAni.mp4 Is it also possible to set the prefix for the file? Similar to ffmpeg %d.jpg When combining the images I run the…
slik
  • 5,001
  • 6
  • 34
  • 40
8
votes
4 answers

How to join webcam FLVs

I want my website to join some webcam recordings in FLV files (like this one). This needs to be done on Linux without user input. How do I do this? For simplicity's sake, I'll use the same flv as both inputs in hope of getting a flv that plays the…
Marc-André Lafortune
  • 78,216
  • 16
  • 166
  • 166
6
votes
1 answer

Plotting directly to movie with numpy and mencoder

So, this should be a comment to this thread, but it's apparently closed, so here it goes. I've been playing around quite successfully with matplotlib and numpy and mencoder, as has been suggested around here. I have since adopted Voki Codder buffer…
Alex S
  • 1,027
  • 1
  • 10
  • 17
6
votes
0 answers

How to fix ffmpeg & mencoder pushing Persian (RTL) subtitles reversed?

I'm trying to build an application to burn subtitles on videos. The specific task to do is burning Persian (Right-to-left language) subtitles. But I have a problem with it. When I got several words simuntaneously without any "Enter" between them,…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
5
votes
3 answers

Merging multiple (more than two) videos on Ubuntu

I want to merge videos in batch size of twenty (20) each. I'm running a Linux machine. The videos are in mp4 format and moderate quality. Some even have the audio stream missing. So far I've tried ffmpeg, mencoder, cvlc/vlc and MP4Box. I want to…
Dhruv Singal
  • 158
  • 1
  • 2
  • 5
5
votes
1 answer

How to capture screenshots from a video clip 50 minutes into the clip and do it fast?

Ok it seems that whenever I tell ffmpeg to take a screen cap half way though the clip (clip can be as long as 10 hours) it uses 100% of 1 cpu core and takes ages… whereas if I let it do a frame at the start it goes real quick, as if it scans though…
Mint
  • 14,388
  • 30
  • 76
  • 108
5
votes
2 answers

How to detect Audio or Video or Both exist in converted file

I am trying to convert mp4 or 3gp video files into Flash (flv) format (using Perl script), using following (mencoder) command: mencoder test.mp4 -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=1000:mbd=2 -fps 20.80 -ofps 20.80 -oac mp3lame…
5
votes
2 answers

Video from photos using mencoder?

During the day I take pictures from the camera every minute. I would like to make a video from the images. 1 day -> 1 video I use mencoder to do that at the end of the day like this: mencoder "mf://*.jpg" -mf fps=25:type=jpg -ovc lavc -lavcopts…
user2193024
  • 51
  • 1
  • 2
4
votes
2 answers

Merge two .m4a files or convert .wav file to m4a

I was looking for a way to record in mpeg-4 with the ability to pause and resume but it seemed like there isn't one. So I decided to record in raw wave format and convert to .m4a. Is there a way I can convert .wav file to .m4a in android. I've…
Pannu
  • 2,547
  • 2
  • 23
  • 29
4
votes
0 answers

(MEncoder) How to resolve librtsp: buffer overflow in rtsp_get error?

I'm trying to use MEncoder to dump an RTSP stream I get. When I try to do the same, I get an error saying "librtsp: buffer overflow in rtsp_get". The full console output is given below. C:\mplayer-svn-37594>mplayer -dumpstream…
1
2 3 4 5 6 7