[MEncoder-users] Help with mencoder
Jonathan Busby
jonathanbusby at gmail.com
Sun Mar 6 23:37:13 CET 2011
Also, you'd have to use the -vf expand filter in conjunction with the scale
filter to get a fixed resolution.
Jonathan
On Sun, Mar 6, 2011 at 4:15 PM, Jonathan Busby <jonathanbusby at gmail.com>wrote:
> I forgot to mention that they all have to have the same resolution;
> otherwise you're going to have to use the -vf scale filter on them
> individually and then do a stream copy assuming you've fixed the framerate
> of all the sub-videos.
>
> Jonathan
>
>
> On Sun, Mar 6, 2011 at 4:11 PM, Jonathan Busby <jonathanbusby at gmail.com>wrote:
>
>> You can't use the text based "cat" command to combine structured binary
>> video files -- it just doesn't work that way.
>> You have to re-encode (transcode) your source videos into a new video.
>>
>> Here is an example that would work for you :
>>
>> mencoder Zachar*.flv -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts
>> preset=insane -o Zach_all.avi
>>
>>
>> Jonathan
>>
>>
>>
>>
>> On Sat, Mar 5, 2011 at 3:09 PM, JD <jd1008 at gmail.com> wrote:
>>
>>> Hi,
>>> I wanted to combine 12 flash video files (from youtube)
>>> into a single avi file.
>>> So I did
>>>
>>> cat at Zachar*.flv > Zach_all.flv
>>>
>>> $ mencoder Zach_all.flv -o Zach_all.avi -forceidx -ovc copy -oac pcm
>>>
>>> The output shows skipping frames, and
>>> missing aspect information, as you see below.
>>>
>>> What do I need to do to fix that, so thet when I am transcoding into
>>> .avi,
>>> I do not get these skips and missing aspect info?
>>>
>>>
>>>
>>> MEncoder SVN-r31628-4.4.5 (C) 2000-2010 MPlayer Team
>>> success: format: 0 data: 0x0 - 0x8378f0a
>>> libavformat file format detected.
>>> [flv @ 0x92d07a0] Estimating duration from bitrate, this may be
>>> inaccurate
>>> [lavf] stream 0: video (h264), -vid 0
>>> [lavf] stream 1: audio (aac), -aid 0
>>> VIDEO: [H264] 480x270 0bpp 29.917 fps 119.2 kbps (14.5 kbyte/s)
>>> [V] filefmt:44 fourcc:0x34363248 size:480x270 fps:29.917
>>> ftime:=0.0334
>>>
>>> ==========================================================================
>>> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
>>> AUDIO: 44100 Hz, 2 ch, s16le, 49.5 kbit/3.51% (ratio: 6184->176400)
>>> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
>>>
>>> ==========================================================================
>>> videocodec: framecopy (480x270 0bpp fourcc=34363248)
>>> Writing header...
>>> ODML: Aspect information not (yet?) available or unspecified, not writing
>>> vprp header.
>>> Writing header...
>>> ODML: Aspect information not (yet?) available or unspecified, not writing
>>> vprp header.
>>> Pos: 0.7s 21f ( 0%) 14.38fps Trem: 0min 0mb A-V:0.067 [0:1411]
>>> Skipping frame!
>>> Pos: 1.1s 33f ( 0%) 18.45fps Trem: 0min 0mb A-V:0.068
>>> [150:1411]
>>> Skipping frame!
>>> Pos: 6.0s 182f ( 0%) 38.81fps Trem: 65min 1014mb A-V:0.067
>>> [148:1411]
>>> Skipping frame!
>>> Pos: 23.5s 706f ( 0%) 43.90fps Trem: 70min 1142mb A-V:0.067
>>> [106:1411]
>>> Skipping frame!
>>> Pos: 38.4s 1153f ( 0%) 44.83fps Trem: 68min 1147mb A-V:0.067
>>> [113:1411]
>>> Skipping frame!
>>> Pos: 57.4s 1723f ( 0%) 44.84fps Trem: 66min 1117mb A-V:0.068
>>> [124:1411]
>>> Skipping frame!
>>> Pos: 76.9s 2306f ( 1%) 44.36fps Trem: 65min 1089mb A-V:0.067
>>> [128:1411]
>>> Skipping frame!
>>> Pos: 98.4s 2950f ( 1%) 44.17fps Trem: 65min 1092mb A-V:0.067
>>> [126:1411]
>>> Skipping frame!
>>> Pos: 117.5s 3522f ( 1%) 43.68fps Trem: 65min 1086mb A-V:0.067
>>> [128:1411]
>>> Skipping frame!
>>> Pos: 132.5s 3972f ( 2%) 43.76fps Trem: 66min 1092mb A-V:0.067
>>> [127:1411]
>>> Skipping frame!
>>> Pos: 153.7s 4608f ( 2%) 44.14fps Trem: 66min 1104mb A-V:0.067
>>> [126:1411]
>>> Skipping frame!
>>> Pos: 173.1s 5190f ( 2%) 43.84fps Trem: 68min 1133mb A-V:0.067
>>> [120:1411]
>>> Skipping frame!
>>> Pos: 190.3s 5705f ( 3%) 44.08fps Trem: 67min 1122mb A-V:0.067
>>> [121:1411]
>>> Skipping frame!
>>> Pos: 211.7s 6347f ( 3%) 43.80fps Trem: 66min 1114mb A-V:0.068
>>> [124:1411]
>>> Skipping frame!
>>> Pos: 228.7s 6856f ( 3%) 43.84fps Trem: 66min 1113mb A-V:0.067
>>> [124:1411]
>>> Skipping frame!
>>> Pos: 248.1s 7436f ( 4%) 44.06fps Trem: 65min 1110mb A-V:0.067
>>> [125:1411]
>>> Skipping frame!
>>> Pos: 265.3s 7954f ( 4%) 43.82fps Trem: 66min 1120mb A-V:0.067
>>> [123:1411]
>>> Skipping frame!
>>>
>>> _______________________________________________
>>> MEncoder-users mailing list
>>> MEncoder-users at mplayerhq.hu
>>> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>>
>>
>>
>
More information about the MEncoder-users
mailing list