Questions tagged [mencoder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
540 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....
1
vote
0answers
700 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 ...
0
votes
1answer
992 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 ...
1
vote
0answers
38 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/...
0
votes
0answers
2k 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 ...
1
vote
0answers
512 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=/...
19
votes
4answers
36k 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 ...
6
votes
2answers
1k 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 ...
3
votes
1answer
62 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 ...
3
votes
1answer
5k 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: http://i.imgur.com/VLJrK8q.png Specifically ...
2
votes
0answers
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 ...
1
vote
1answer
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 ...
4
votes
1answer
1k 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.
1
vote
1answer
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 ...
2
votes
1answer
2k 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, ...
2
votes
1answer
3k 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 ...
5
votes
2answers
14k 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 ...