Questions tagged [mencoder]
18 questions
28
votes
4 answers
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 any incoming video to a fixed screen size.
If the…
Andy Jeffries
- 283
- 1
- 3
- 7
7
votes
2 answers
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 file.avi
The problem is that the resulting file is…
xralf
- 16,149
- 29
- 101
- 149
7
votes
3 answers
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 automatically (i.e. without extracting the information…
student
- 17,875
- 31
- 103
- 169
4
votes
1 answer
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
- 6,152
- 12
- 43
- 42
4
votes
0 answers
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 codecs
I would like to re-encode file A.mp4 with the…
Andrea Lazzarotto
- 526
- 5
- 15
3
votes
1 answer
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
Specifically this command from the output above:
$ avconv -r…
Coolcrab
- 133
- 1
- 4
3
votes
1 answer
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
PS: the ultimate goal is to send a picture to…
user123456
- 4,758
- 11
- 52
- 78
3
votes
1 answer
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 tag.
[mp3 @ 0x8de72a0] max_analyze_duration…
xralf
- 16,149
- 29
- 101
- 149
3
votes
1 answer
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 first frame.
if I try...
mencoder…
InquilineKea
- 6,152
- 12
- 43
- 42
2
votes
0 answers
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 outfile.mp4
except that it gives me:
Error while…
Alasdair
- 281
- 1
- 4
- 9
2
votes
1 answer
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, it recursively converts all the video files…
gasko peter
- 5,434
- 22
- 83
- 145
1
vote
1 answer
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 input2.flv
It seems to have worked except that the merged…
Carl
- 11
- 2
1
vote
0 answers
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
I want to do it with the command line; whether…
Mikhail Ramendik
- 442
- 5
- 18
1
vote
1 answer
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 output from file output.mkv indicate it's AVI…
daisy
- 53,527
- 78
- 236
- 383
1
vote
1 answer
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 where is the right format to generate a…
j1088099.mvrht.com.
- 2,903
- 3
- 13
- 20