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!
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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Thank you very very much Jonathan. I did not concoct the cat method myself. I googled, and found it in a blog. Since I know absolutely nothing about audio/video structures and algorithms, I rely on what I find on the web. Your suggestion is working (i.e. transcoding) as I type this reply. BEst regards, JD On 03/06/2011 02:11 PM, Jonathan Busby 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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
The encoding, using your suggestion: mencoder Zachar*.flv -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi also failed :( The bzipped command output (menc.out.bz2) attached. On 03/06/2011 02:11 PM, Jonathan Busby 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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Try this : mencoder Zachar*.flv -vf format=rgb32 scale=-1:-1 -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi Jonathan 2011/3/6 JD <jd1008@gmail.com>
The encoding, using your suggestion:
mencoder Zachar*.flv -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi
also failed :(
The bzipped command output (menc.out.bz2) attached.
On 03/06/2011 02:11 PM, Jonathan Busby 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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
I did. And it is failing with continuously repeating error messages of x264 [error]: This build of x264 requires high depth input. Rebuild to support 8-bit input. x264_encoder_encode failed I think my x264 libs are compiled with the wrong option and thus do not support 8-bit input. On 03/06/2011 04:54 PM, Jonathan Busby wrote:
Try this :
mencoder Zachar*.flv -vf format=rgb32 scale=-1:-1 -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi
Jonathan
2011/3/6 JD<jd1008@gmail.com>
The encoding, using your suggestion:
mencoder Zachar*.flv -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi
also failed :(
The bzipped command output (menc.out.bz2) attached.
On 03/06/2011 02:11 PM, Jonathan Busby 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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On 03/06/2011 05:54 PM, Jonathan Busby wrote:
Try this :
mencoder Zachar*.flv -vf format=rgb32 scale=-1:-1 -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi
Jonathan Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Unknown suboption vbitrate success: format: 0 data: 0x0 - 0xc396ae libavformat version 53.32.100 (external) Mismatching header version 53.19.0 libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0 VIDEO: [H264] 480x270 0bpp 29.970 fps 119.2 kbps (14.5 kbyte/s) [V] filefmt:44 fourcc:0x34363248 size:480x270 fps:29.970 ftime:=0.0334 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.61.100 (external) Mismatching header version 53.32.2 AUDIO: 22050 Hz, 2 ch, s16le, 49.5 kbit/7.01% (ratio: 6184->88200) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== MP3 audio selected. Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. FATAL: Cannot initialize video driver. Exiting... ------------------------ So, what driver is it talking about? I do have x264 libs installed.
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
On 03/06/2011 05:54 PM, Jonathan Busby wrote:
Try this :
mencoder Zachar*.flv -vf format=rgb32 scale=-1:-1 -ovc x264 -x264encopts crf=18 -oac mp3lame -lameopts preset=insane -o Zach_all.avi
Jonathan
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
scale=4:3 ←what are you trying to achieve using this filter? if you are trying to set an aspect ratio, try this: -vf format=rgb32,dsize=4/3,scale=-1:-2 you can consult with the documentation to better understanding of each parameter.
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer
Team
Option x264encopts: Unknown suboption vbitrate
sorry, miss this. for x264, you use bitrate. and don't forget to add comma. by the way, you can't use bitrate and crf together, they should be used exclusively. so, either use -x264encopts crf=18,format=dvd or -x264encopts bitrate=8000,format=dvd
Thank you. Will retry and get back to you. Regards, JD On Fri, Apr 26, 2013 at 10:25 PM, Gabri Shally <gabri.ns@gmail.com> wrote:
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer
Team
Option x264encopts: Unknown suboption vbitrate
sorry, miss this. for x264, you use bitrate. and don't forget to add comma. by the way, you can't use bitrate and crf together, they should be used exclusively.
so, either use -x264encopts crf=18,format=dvd or -x264encopts bitrate=8000,format=dvd _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On 04/26/2013 10:25 PM, Gabri Shally wrote:
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Unknown suboption vbitrate sorry, miss this. for x264, you use bitrate. and don't forget to add comma. by the way, you can't use bitrate and crf together, they should be used exclusively.
so, either use -x264encopts crf=18,format=dvd or -x264encopts bitrate=8000,format=dvd OK, I retried as you suggested:
$ mencoder Zachar*.flv -vf format=rgb32,dsize=4/3,scale=-1:-2 -ovc x264 -x264encopts bitrate=8000,format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Bad argument bitrate=8000,format=dvd success: format: 0 data: 0x0 - 0xc396ae libavformat version 53.32.100 (external) Mismatching header version 53.19.0 libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0 VIDEO: [H264] 480x270 0bpp 29.970 fps 119.2 kbps (14.5 kbyte/s) [V] filefmt:44 fourcc:0x34363248 size:480x270 fps:29.970 ftime:=0.0334 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.61.100 (external) Mismatching header version 53.32.2 AUDIO: 22050 Hz, 2 ch, s16le, 49.5 kbit/7.01% (ratio: 6184->88200) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== MP3 audio selected. Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. FATAL: Cannot initialize video driver. Exiting... Which video driver is it referring to???
On Apr 27, 2013 12:03 PM, "JD" <jd1008@gmail.com> wrote:
On 04/26/2013 10:25 PM, Gabri Shally wrote:
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer
Team
Option x264encopts: Unknown suboption vbitrate
sorry, miss this. for x264, you use bitrate. and don't forget to add
comma.
by the way, you can't use bitrate and crf together, they should be used exclusively.
so, either use -x264encopts crf=18,format=dvd or -x264encopts bitrate=8000,format=dvd
OK, I retried as you suggested:
$ mencoder Zachar*.flv -vf format=rgb32,dsize=4/3,scale=-1:-2 -ovc x264 -x264encopts bitrate=8000,format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Bad argument bitrate=8000,format=dvd
success: format: 0 data: 0x0 - 0xc396ae libavformat version 53.32.100 (external) Mismatching header version 53.19.0 libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0 VIDEO: [H264] 480x270 0bpp 29.970 fps 119.2 kbps (14.5 kbyte/s) [V] filefmt:44 fourcc:0x34363248 size:480x270 fps:29.970 ftime:=0.0334 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.61.100 (external) Mismatching header version 53.32.2 AUDIO: 22050 Hz, 2 ch, s16le, 49.5 kbit/7.01% (ratio: 6184->88200) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== MP3 audio selected. Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. FATAL: Cannot initialize video driver.
Exiting...
Which video driver is it referring to???
what video driver mean is the x264 encoder. it cannot initialize because there is still problem with its arguments. once again, sorry... i forgot that encoder use double colon to separate arguments -x264encopts bitrate=8000:format=dvd if it still failed, try to remove format=dvd
On 04/26/2013 11:09 PM, Gabri Shally wrote:
On Apr 27, 2013 12:03 PM, "JD" <jd1008@gmail.com> wrote:
On 04/26/2013 10:25 PM, Gabri Shally wrote:
On Apr 27, 2013 9:08 AM, "JD" <jd1008@gmail.com> wrote:
Tried this:
mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Unknown suboption vbitrate sorry, miss this. for x264, you use bitrate. and don't forget to add
comma.
by the way, you can't use bitrate and crf together, they should be used exclusively.
so, either use -x264encopts crf=18,format=dvd or -x264encopts bitrate=8000,format=dvd OK, I retried as you suggested:
$ mencoder Zachar*.flv -vf format=rgb32,dsize=4/3,scale=-1:-2 -ovc x264 -x264encopts bitrate=8000,format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team Option x264encopts: Bad argument bitrate=8000,format=dvd
success: format: 0 data: 0x0 - 0xc396ae libavformat version 53.32.100 (external) Mismatching header version 53.19.0 libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0 VIDEO: [H264] 480x270 0bpp 29.970 fps 119.2 kbps (14.5 kbyte/s) [V] filefmt:44 fourcc:0x34363248 size:480x270 fps:29.970 ftime:=0.0334 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.61.100 (external) Mismatching header version 53.32.2 AUDIO: 22050 Hz, 2 ch, s16le, 49.5 kbit/7.01% (ratio: 6184->88200) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== MP3 audio selected. Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. FATAL: Cannot initialize video driver.
Exiting...
Which video driver is it referring to???
what video driver mean is the x264 encoder. it cannot initialize because there is still problem with its arguments.
once again, sorry... i forgot that encoder use double colon to separate arguments
-x264encopts bitrate=8000:format=dvd
if it still failed, try to remove format=dvd _______________________________________________
OK. I had to remove :format=dvd and now it is encoding. But why does not work with format=dvd? Is that not a bug?
On Apr 27, 2013 12:27 PM, "JD" <jd1008@gmail.com> wrote:
OK. I had to remove :format=dvd and now it is encoding.
But why does not work with format=dvd? Is that not a bug?
i don't know. but, do you ever see this option in documentation? because afaik, dvd is only supporting MPEG2 as its video codec. so, imo, putting it in a H264 profile doesn't make sense.
On 04/26/2013 11:32 PM, Gabri Shally wrote:
On Apr 27, 2013 12:27 PM, "JD" <jd1008@gmail.com> wrote:
OK. I had to remove :format=dvd and now it is encoding.
But why does not work with format=dvd? Is that not a bug? i don't know. but, do you ever see this option in documentation? because afaik, dvd is only supporting MPEG2 as its video codec. so, imo, putting it in a H264 profile doesn't make sense.
MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
You are exposing the fact that I am not a media savvy person. I used ffplay to play it so that I could see what the bitrate is. It turns out it is not 8000Kbits/s, it shows 32Mbits/s : I played whatever mencoder has written so far (not much though) and ffplay shows: . . Duration: 00:00:01.85, start: 0.000000, bitrate: 32034 kb/s Why? That's such an overkill, and I certainly did not request it in the arguments?
On Apr 27, 2013 12:38 PM, "JD" <jd1008@gmail.com> wrote:
You are exposing the fact that I am not a media savvy person.
well, so do i... it just that i frequently use mencoder to reduce the size of my video collection, so i try to learn option to maximize quality.
I used ffplay to play it so that I could see what the bitrate is. It turns out it is not 8000Kbits/s, it shows 32Mbits/s :
I played whatever mencoder has written so far (not much though) and ffplay shows: . . Duration: 00:00:01.85, start: 0.000000, bitrate: 32034 kb/s
Why? That's such an overkill, and I certainly did not request it in the arguments?
it maybe because the video is too sort, so the encoder cannot decide the bitrate properly. altough you're setting bitrate, actually the bitrate still vary. if you are really forcing a constant bitrate, at the expense of quality, add vbv_maxrate -x264encopts bitrate=8000,vbv_maxrate=8000
On 04/26/2013 11:55 PM, Gabri Shally wrote:
On Apr 27, 2013 12:38 PM, "JD" <jd1008@gmail.com> wrote:
You are exposing the fact that I am not a media savvy person.
well, so do i... it just that i frequently use mencoder to reduce the size of my video collection, so i try to learn option to maximize quality.
I used ffplay to play it so that I could see what the bitrate is. It turns out it is not 8000Kbits/s, it shows 32Mbits/s :
I played whatever mencoder has written so far (not much though) and ffplay shows: . . Duration: 00:00:01.85, start: 0.000000, bitrate: 32034 kb/s
Why? That's such an overkill, and I certainly did not request it in the arguments? it maybe because the video is too sort, so the encoder cannot decide the bitrate properly. altough you're setting bitrate, actually the bitrate still vary. if you are really forcing a constant bitrate, at the expense of quality, add vbv_maxrate
-x264encopts bitrate=8000,vbv_maxrate=8000 _______________________________________________
I restarted the encoding with your change and ffplay now shows more like what I wanted: Input #0, avi, from 'Zach_all.avi': Metadata: encoder : MEncoder svn r34540 (Ubuntu), built with gcc-4.7 Duration: 00:00:01.85, start: 0.000000, bitrate: 7928 kb/s Stream #0:0: Video: h264 (High) (h264 / 0x34363268), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16, 160 kb/s Thank you very very much!! Best regards, JD
On Apr 27, 2013 12:38 PM, "JD" <jd1008@gmail.com> wrote:
You are exposing the fact that I am not a media savvy person.
by the way, could you explain what "media savvy person" means? i was thought that it mean person that has an expertise in multimedia.
On 04/26/2013 11:57 PM, Gabri Shally wrote:
On Apr 27, 2013 12:38 PM, "JD" <jd1008@gmail.com> wrote:
You are exposing the fact that I am not a media savvy person.
by the way, could you explain what "media savvy person" means? i was thought that it mean person that has an expertise in multimedia. _______________________________________________
Yes that is what it means - Media includes media files :) Multimedia is just more of an umbrella term for all sorts of media, including printed media, Photo Media, Audio and Video Media, ...etc. Cheers, JD
JD <jd1008 <at> gmail.com> writes:
$ mencoder Zachar*.flv -vf format=rgb32,dsize=4/3,scale=-1:-2 -ovc x264 -x264encopts bitrate=8000,format=dvd -oac mp3lame -lameopts preset=insane -o Zach_all.avi
Since you apparently don't konw: MEncoder is not an actively maintained application for several years, it should be possible to do above encoding with current FFmpeg, please report (on ffmpeg-user) if it does not work! (There are still features of MEncoder that do not work with FFmpeg but I don't see any of them above.)
MEncoder svn r34540 (Ubuntu)
Unfortunately, this is not MEncoder but an intentionally broken version that contains many known bugs not present in (real) MEncoder, some apparently security relevant, please understand that we therefore cannot support it here.
libavformat version 53.32.100 (external) Mismatching header version 53.19.0
This probably makes it worse. Generally, I don't think it is a good idea to continue old threads that were inactive for over two years;-) Carl Eugen
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@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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
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@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@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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Thank you Jonathan. They are indeed all of the same resolution and scale and same frame rate, even same audio frequency and rate. Cheers, JD On 03/06/2011 02:37 PM, Jonathan Busby wrote:
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@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@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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
In that case you can just do a re-mux : mencoder Zachar*.flv -ovc copy -oac copy -o Zach_all.avi Jonathan On Sun, Mar 6, 2011 at 2:57 PM, JD <jd1008@gmail.com> wrote:
Thank you Jonathan. They are indeed all of the same resolution and scale and same frame rate, even same audio frequency and rate.
Cheers,
JD
On 03/06/2011 02:37 PM, Jonathan Busby wrote:
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@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@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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
I DID indeed try that one as well. Mencoder complained about my using -oac copy and it suggested I use -oac pcm. SO I did do that and the avi file was created. But when I played the resulting avi file, it only played the very first video of 12 videos, and it exited; as if that was the end of the file. The size of the resulting avi file was well over a gigabyte. Cheers, JD On 03/06/2011 03:54 PM, Jonathan Busby wrote:
In that case you can just do a re-mux :
mencoder Zachar*.flv -ovc copy -oac copy -o Zach_all.avi
Jonathan
On Sun, Mar 6, 2011 at 2:57 PM, JD<jd1008@gmail.com> wrote:
Thank you Jonathan. They are indeed all of the same resolution and scale and same frame rate, even same audio frequency and rate.
Cheers,
JD
On 03/06/2011 02:37 PM, Jonathan Busby wrote:
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@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@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@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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
What was the specific error? Jonathan On Sun, Mar 6, 2011 at 3:16 PM, JD <jd1008@gmail.com> wrote:
I DID indeed try that one as well. Mencoder complained about my using -oac copy and it suggested I use -oac pcm. SO I did do that and the avi file was created. But when I played the resulting avi file, it only played the very first video of 12 videos, and it exited; as if that was the end of the file. The size of the resulting avi file was well over a gigabyte.
Cheers,
JD
On 03/06/2011 03:54 PM, Jonathan Busby wrote:
In that case you can just do a re-mux :
mencoder Zachar*.flv -ovc copy -oac copy -o Zach_all.avi
Jonathan
On Sun, Mar 6, 2011 at 2:57 PM, JD<jd1008@gmail.com> wrote:
Thank you Jonathan.
They are indeed all of the same resolution and scale and same frame rate, even same audio frequency and rate.
Cheers,
JD
On 03/06/2011 02:37 PM, Jonathan Busby wrote:
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@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@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@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@mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users > > > _______________________________________________
MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
$ mencoder Zachar*.flv -ovc copy -oac copy -o Zach_all.avi MEncoder SVN-r31628-4.4.5 (C) 2000-2010 MPlayer Team success: format: 0 data: 0x0 - 0xc396ae libavformat file format detected. [flv @ 0x97b5d40] 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 videocodec: framecopy (480x270 0bpp fourcc=34363248) Audio format 0x4134504d is incompatible with '-oac copy', please try '-oac pcm' instead or use '-fafmttag' to override it. Exiting... On 03/06/2011 04:11 PM, Jonathan Busby wrote:
What was the specific error?
Jonathan
On Sun, Mar 6, 2011 at 3:16 PM, JD<jd1008@gmail.com> wrote:
I DID indeed try that one as well. Mencoder complained about my using -oac copy and it suggested I use -oac pcm. SO I did do that and the avi file was created. But when I played the resulting avi file, it only played the very first video of 12 videos, and it exited; as if that was the end of the file. The size of the resulting avi file was well over a gigabyte.
Cheers,
JD
On 03/06/2011 03:54 PM, Jonathan Busby wrote:
In that case you can just do a re-mux :
mencoder Zachar*.flv -ovc copy -oac copy -o Zach_all.avi
Jonathan
On Sun, Mar 6, 2011 at 2:57 PM, JD<jd1008@gmail.com> wrote:
Thank you Jonathan.
They are indeed all of the same resolution and scale and same frame rate, even same audio frequency and rate.
Cheers,
JD
On 03/06/2011 02:37 PM, Jonathan Busby wrote:
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@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@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@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@mplayerhq.hu >> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users >> >> >> _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
You can't use the text based "cat" command to combine structured binary video files -- it just doesn't work that way. Not entirely true. Some simple containers (e.g. MPEG-PS IIRC) can be concatenated in such a way and still produce usable video files. You have to re-encode (transcode) your source videos into a new video. Absolutely false. I don't know if MEncoder can do it, but videos with
On 2011.03.06 04:11 PM, Jonathan Busby wrote: the same codec, profile and resolution (I think variable frame rate in this context is practical with Matroska and possibly a couple other containers) can be combined and muxed into a new container. A special program may or may not be necessary. mencoder Zachar*.flv -o Zach_all.avi -forceidx -ovc copy -oac pcm may work fine. However, I am not familiar with flash containers (and I don't know enough about AVI to know if -forceidx is a good idea or not), so I can't help much more.
I should have mentioned that I was speaking in the context of the OPs desire to combine several video files with headers that might also have disparate frame rates and resolutions into an AVI container, not video in general. In the case of mencoder, and at least flash video, every video file must have the same colorspace, frame-rate and resolution in order to perform a stream-copy/re-mux. Also, the last time I checked this was the *Mencoder* mailing list. Jonathan On Sun, Mar 6, 2011 at 4:57 PM, Andrew Berg <bahamutzero8825@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. Not entirely true. Some simple containers (e.g. MPEG-PS IIRC) can be concatenated in such a way and still produce usable video files. You have to re-encode (transcode) your source videos into a new video. Absolutely false. I don't know if MEncoder can do it, but videos with
On 2011.03.06 04:11 PM, Jonathan Busby wrote: the same codec, profile and resolution (I think variable frame rate in this context is practical with Matroska and possibly a couple other containers) can be combined and muxed into a new container. A special program may or may not be necessary.
mencoder Zachar*.flv -o Zach_all.avi -forceidx -ovc copy -oac pcm may work fine. However, I am not familiar with flash containers (and I don't know enough about AVI to know if -forceidx is a good idea or not), so I can't help much more.
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
participants (5)
-
Andrew Berg -
Carl Eugen Hoyos -
Gabri Shally -
JD -
Jonathan Busby