On Wed, 12 Dec 2018, Carl Eugen Hoyos wrote:

2018-12-08 22:28 GMT+01:00, Ulf Zibis <ulf.zi...@gmx.de>:

with:
ffmpeg -i "concat:CYD-001.vob|CYD-002.vob|..." -c copy CYD_copy.vob
I get the warning:
[svcd @ 0x56377151e140] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size

How can I aviod the warning?

Use the target option.

If the target option is used WITHOUT "-c copy", then it's true you won't see this warning. But then it's doing a re-encode... NOT a copy. The problem comes when trying to do a COPY and the target option doesn't help in that case.

So, I'll rephrase Ulf's original question... how do you avoid this warning while doing a stream COPY (remux)?

FYI.  You get the same result here with or without "-target XXX".

  $ ffmpeg -i TEST.mpg -target ntsc-dvd -codec copy -f vob - > /dev/null
  ffmpeg version N-92681-g0e833f615b Copyright (c) 2000-2018 the FFmpeg 
developers
    built with gcc 7 (GCC)
    configuration: --disable-optimizations --disable-stripping --enable-static 
--disable-shared --disable-ffplay
    libavutil      56. 24.101 / 56. 24.101
    libavcodec     58. 42.100 / 58. 42.100
    libavformat    58. 24.100 / 58. 24.100
    libavdevice    58.  6.101 / 58.  6.101
    libavfilter     7. 46.101 /  7. 46.101
    libswscale      5.  4.100 /  5.  4.100
    libswresample   3.  4.100 /  3.  4.100
  Input #0, mpeg, from 'TEST.mpg':
    Duration: 00:00:09.88, start: 0.533367, bitrate: 142 kb/s
      Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 
720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
  [vob @ 0x4000e00] VBV buffer size not set, using default size of 230KB
  If you want the mpeg file to be compliant to some specification
  Like DVD, VCD or others, make sure you set the correct buffer size
  Output #0, vob, to 'pipe:':
    Metadata:
      encoder         : Lavf58.24.100
      Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 
[SAR 32:27 DAR 16:9], q=2-31, 6000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 
tbc
  Stream mapping:
    Stream #0:0 -> #0:0 (copy)
  Press [q] to stop, [?] for help
  [vob @ 0x4000e00] Timestamps are unset in a packet for stream 0. This is 
deprecated and will stop working in the future. Fix your code to set the 
timestamps properly
  frame=  300 fps=0.0 q=-1.0 Lsize=     172kB time=00:00:09.94 bitrate= 
141.7kbits/s speed=4.21e+03x
  video:169kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 1.759272%
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to