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
2
votes
1 answer

Black overlay appears when merging a transparent video to another video

This is what I have done so far: Command to create a transparent PNG image: convert -size 640x480 -background transparent -fill blue \ -gravity South label:ROCK image1-0.png Command to create a transparent video: ffmpeg -loop 1 -f image2 -i…
Rakesh Sankar
  • 9,337
  • 4
  • 41
  • 66
1
vote
1 answer

Audio stream shorter than video stream

I generate a bunch of videos by looping .PNG inputs along with .AMR audio. ffmpeg -loop 1 -i slide001.png -i slide001.amr -vcodec rawvideo -acodec pcm_s16le -t 5 slide001.avi Eventually I join the .AVIs using Mencoder. I haven't had much success…
JackWilson
  • 577
  • 3
  • 20
1
vote
1 answer

mencoder generates empty .avi file

i am calling mencoder from a python script to generate a movie from various .png files: import sys, os command = ''.join([ 'mplayer\mencoder.exe ', 'mf://frames/out_*.png ', '-mf type=png:w=800:h=600:fps=10 -ovc…
Cubius
  • 1,294
  • 2
  • 15
  • 33
1
vote
3 answers

Forcing custom H.264 intra-frames (keyframes) at encode-time?

I have a video sequence that I'd like to skip to specific frames at playback-time (my player is implemented using AVPlayer in iOS, but that's incidental). Since these frames will fall at unpredictable intervals, I can't use the standard "keyframe…
Henry Cooke
  • 2,563
  • 2
  • 23
  • 22
1
vote
2 answers

Converting G2M3 and G2M2 encoded Videos (GoToMeeting Videos) to a video type that FFMPEG supports

I'm developing a PHP application that uses FFMPEG-PHP to split videos and convert them to FLV. And I ran into this problem : FFMPEG does not support G2M3 or G2M2 encoded videos, and I have to make the process of splitting and converting videos…
KarimMesallam
  • 290
  • 8
  • 19
1
vote
1 answer

Start Token in LSTM Decoder

I understand the encoder-decoder model, and how the output of the encoder will be the input of the decoder. Assume here I have decoder model only, I have the decoder initial_state (i.e. decoder_states_inputs are given). I want to give the…
userInThisWorld
  • 1,361
  • 4
  • 18
  • 35
1
vote
2 answers

FFMpeg Convert AVI to MP4 - Audio / Video Out of Sync

I have an application that lets users record video from their webcams. The users record 3 clips, which are then combined into one video for playback. I am having issues with the audio and video on the third clip sometimes being out of sync after…
Brian
  • 761
  • 2
  • 10
  • 25
1
vote
0 answers

Using Mencoder to Convert Sequence of Images Sorted Numerically to Video

I want to use mencoder to convert a sequence of PNG files to video. The PNG files are named like {file1.png, file2.png, ... file1000.png}. However, if I run this: mencoder mf://*.png -mf fps=25 -ovc copy -oac copy output.avi The resulting video…
txizzle
  • 820
  • 7
  • 19
1
vote
1 answer

Call mencoder from Fortran or gnuplot

I have made a Fortran program thats plot a vector field with gnuplot, I want to make a animation of this. I have managed to print a 1000 pictures with the name framee_000000001.png, framee_000000002.png, framee_000000003.png and so on. Now i want to…
euroshopper
  • 81
  • 1
  • 1
  • 9
1
vote
0 answers

How can I encode a video to play on a DLink DSM-520 using FFMPEG?

I have been searching, testing, and coming up with nothing for over a week. I want to use FFMPEG to convert mp4's and mkv's to AVI files that will play on my DLink DSM-520. Mencoder will do it. The files that FFMPEG generates cause the player to…
tolsen64
  • 881
  • 1
  • 9
  • 22
1
vote
0 answers

java transform video to avi by mencoder

this is my java code, when i use command "mencoder 1.rmvb -o 2.avi -vf scale=320:240 -oac pcm -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=500 " in linux ,it successful, String toAvi = "mencoder "+ originPath +"-o " + aviPath …
lynn_xly
  • 95
  • 1
  • 2
  • 12
1
vote
3 answers

How to convert 3GP video for Android to view?

I'm creating 3GP videos with the Android - however, when the 3GP files are posted on a site, the same Android phone cannot view it back. (The file works on the iPhone). What is right way to encode/resize the 3GP video so that the video player on…
RedNax
  • 1,507
  • 1
  • 10
  • 20
1
vote
1 answer

Converting .png movie in .avi to .wmv with MEncoder

I saved a number of .png files generated from rotation of a pretty figure that I made using Octave. I converted them into a .png .avi movie using MEncoder, which looks exactly like I want on my Linux machine. Now, though, I'd like to embed it into…
k.mat27
  • 163
  • 2
  • 8
1
vote
1 answer

FFmpeg bitrate issue

I'm dealing with a very big issue about bit rate , ffmpeg provide the -b option for the bit rate and for adjustment it provide -minrate and -maxrate, -bufsize but it don't work proper. If i'm giving 256kbps at -b option , when the trans-coding…
A.P.S
  • 1,124
  • 4
  • 17
  • 36
1
vote
1 answer

Writing .Ts file 'on demand' (inotify ?...)

I have a mediaplayer that can only read samba shared files. I would like to play http stream (from my dreambox for instance). My idea is to share a folder on my linux. In this share, I will put a (fake?) file for each tv channel I want to be able to…
user267899