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
4
votes
2 answers

Auto detect rotation and rotate video accordingly with mencoder, handbrake cli or ffmpeg

I have found questions on rotating videos with mencoder and ffmpeg however I am after a fully automated solution. Can anybody help with this. I want to Detect the video orientation Rotate if needed Reset the meta data on the video (otherwise…
3
votes
3 answers

converting flv to mp4

I have converted the flv files into mp4 using the mencoder by using the following command mencoder input.flv -o outout.mp4 -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate…
Kalaiyarasan
  • 12,134
  • 8
  • 31
  • 49
3
votes
2 answers

split video (avi/h264) on keyframe

Hallo. I have a big video file. ffmpeg, tcprobe and other tool say, it is an h264-stream in an AVI-container. Now i'd like to cut out small chunks form the video. Problem: The index of the video seam corrupted/destroyed. I kind of fixed this via…
m.sr
  • 131
  • 1
  • 4
3
votes
1 answer

How to change subtitle's color & add background to it with mencoder/ffmpeg command line tools?

I want to burn a subtitle file with .srt format in Persian (-utf8) into a video file with .mp4 format using mencoder. I'm using ubuntu 14.04. This command works for the simple task of burning subtitle on video file: sudo mencoder input.mp4 -sub…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
3
votes
2 answers

How to batch insert same clip scene at the beginning of multiple videos?

I have been for a few days researching on a suitable auto or semi-automatic way of mass merging files this way. Basically, what I want to achieve is inserting the same clip, before a bunch of other clips. In this case I´ve been trying with .flv,…
FLYqtFLY
  • 81
  • 3
2
votes
2 answers

How to convert various video file formats into FLV (for FlowPlayer)?

We need to allow our users to upload video files (which will be in various different formats naturally), and convert them all into FLV so it can be streamed using FlowPlayer (http://flowplayer.org/). What would be better FFmpeg or mencoder? And what…
argvargc
  • 21
  • 2
2
votes
1 answer

Mencoder generates a video that uses first figure multiple times

I generate png figures using python and then use mencoder to make a movie. I used the commend I searched online. It does generate a movie for me. But it's strange that it uses the first figure multiple times during the entire movie. That is not what…
user5473110
  • 125
  • 1
  • 9
2
votes
0 answers

mencoder settings for PowerPoint

I have a series of jpg files that I would like to encode into video with mencoder. Currently I'm using the mpeg codec like so: mencoder mf://*.jpg -mf fps=30:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000 -o video.mp4 ...but I've been…
HotDogCannon
  • 2,113
  • 11
  • 34
  • 53
2
votes
0 answers

Mencoder - Audio is longer than Video Stream

I am trying use some images and audio to create video using mencoder. But my audio file could be much longer. Example: 5 images. fps: 1 desired video length: 5 seconds audio file length is: 20 seconds. mencoder mf://*.jpg -mf fps:1.0 -oac mp3lame…
Jasper
  • 8,440
  • 31
  • 92
  • 133
2
votes
1 answer

Best way to call terminal command repeatedly

I'm using mencoder to split files and I'd like to turn this into an Object Oriented approach, if possible, using Java or similar, for example. But I'm not sure the best way, so I leave it in the open. Here is what I need: I have an excel file with…
CodeGuy
  • 28,427
  • 76
  • 200
  • 317
2
votes
1 answer

Python - mencoder doesn't produce video in a different folder

Python - mencoder doesn't produce video in a different folder. I'm using Python to call mencoder to take a bunch of images and convert them into a video. The code I have do to this is: def Video(self,X,Y,location):#generate a video from the images …
Status
  • 912
  • 1
  • 12
  • 23
2
votes
1 answer

QtiPlot and Python: global name 'QLocale' is not defined

I'm developing a Python script the will run inside an application named QtiPlot. I searched the Qtiplot's documentation for Python API and it uses PyQt 4. I coded my script as bellow: #! /usr/bin/env python # A python script to be used in QtiPlot…
darkchet
  • 21
  • 2
2
votes
1 answer

Converting any video to iPhone - transcoding logic/algorithm?

I have many-many video files in different formats (mostly avi). For example, some relevant lines from ffprobe: Duration: 02:27:14.70, start: 0.000000, bitrate: 664 kb/s Stream #0.0: Video: mpeg4, yuv420p, 608x256 [PAR 1:1 DAR 19:8], 23.98 tbr,…
cajwine
  • 3,100
  • 1
  • 20
  • 41
2
votes
2 answers

How to route the exe exception back to VB6 app?

i have a vb6 apps which will call the mencoder.exe which is part of the mplayer to convert some files into flv format. i'm getting this weird unhandled exception problem from mencoder whenever i try to convert this one opendivx file. At the moment,…
melaos
  • 8,386
  • 4
  • 56
  • 93
2
votes
1 answer

Commandline video/image crossfading

I have a test.avi using ffmpeg or mencoder or some other commandline utility, I want to take splash.png put it at the beginning of the video, fade it out, show test.avi, then at the end of test.avi, fade splash.png back in. How would I go about…
tester
  • 22,441
  • 25
  • 88
  • 128