pocarist / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

ffmbc 0.6-rc3 second output file does not contain essence #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I take one input file and render it to two output files then I get no 
essence in the second output file. This is a simple example but demonstrates 
the issue.

ffmbc \
 -y -loglevel debug \
 -i Clock10tone.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  out1.vob \
 -vcodec mpeg2video -vb 1000k \
  out2.vob

Looking at the output of FFmbc, it looks like I'm going to get two identical 
files:

Output #0, svcd, to 'out1.vob':
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Output #1, svcd, to 'out2.vob':
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps

But the two files are vastly different sizes...

ls -la out?.vob
-rw-r--r-- 1 himslm01 himslm01 1419264 2011-03-09 13:39 out1.vob
-rw-r--r-- 1 himslm01 himslm01  221184 2011-03-09 13:39 out2.vob

If I play the second output file I only get a green video presented, and ffmbc 
-i of the two output files gives me very different bitrates: 1139 kb/s for the 
first output file and 178 kb/s for the second.

FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0xaf288a0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] 0: start_time: 0 duration: 250
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] 1: start_time: 0 duration: 480250
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Clock10tone.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2009-07-16 17:23:31
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30334 kb/s
    Stream #0.0(eng), 1, 1/25: Video: dvvideo, yuv420p, 720x576i bff [PAR 64:45 DAR 16:9], tbc 1/25, 28800 kb/s, tbr 25/1, 25.00 fps
    Stream #0.1(eng), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[svcd @ 0xaf2a3b0] VBV buffer size not set, muxing may fail
[svcd @ 0xaf2fbf0] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'out1.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Output #1, svcd, to 'out2.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.0 -> #1.0
Press [q] to stop encoding
frame=  250 fps=150 q=3.1 Lq=2.0 size=    1386kB time=00:00:09.96 
bitrate=1140.0kbits/s
video:1574kB audio:0kB global headers:0kB muxing overhead -11.963536%

ls -la out?.vob
-rw-r--r-- 1 himslm01 himslm01 1419264 2011-03-09 13:39 out1.vob
-rw-r--r-- 1 himslm01 himslm01  221184 2011-03-09 13:39 out2.vob

ffmbc -i out1.vob
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mpeg, from 'out1.vob':
  Duration: 00:00:09.96, start: 1.000000, bitrate: 1139 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 104857 kb/s, 25.00 fps
At least one output file must be specified

ffmbc -i out2.vob
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mpeg, from 'out2.vob':
  Duration: 00:00:09.92, start: 1.000000, bitrate: 178 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 104857 kb/s, 25.00 fps
At least one output file must be specified

Original issue reported on code.google.com by mark.him...@gmail.com on 9 Mar 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Thanks a lot for the report Mark.
It seems the new option system is kinda bumpy for the moment.
I'll have a look ASAP.

Original comment by baptiste...@gmail.com on 9 Mar 2011 at 11:51

GoogleCodeExporter commented 9 years ago
Should be fixed in rc4, can you please double check ?

Original comment by baptiste...@gmail.com on 1 May 2011 at 12:57

GoogleCodeExporter commented 9 years ago
Confirmed fixed in 0.6-rc4

Original comment by mark.him...@gmail.com on 3 May 2011 at 3:55

GoogleCodeExporter commented 9 years ago

Original comment by baptiste...@gmail.com on 3 May 2011 at 8:11