Hello,

Thanks for this community.

First, why I with following cli it can't copy all streams of a vob files?
Feature not implemented, I get error -1?

ffmpeg -i VTS_01_4_ORIGINAL.vob -map 0 -c copy oscar4.vob
ffmpeg version N-68399-g10ef8f0 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Dec 12 2014 22:12:56 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fo
ntconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --ena
ble-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-li
bmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-lib
rtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack -
-enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-decklink --enable-zl
ib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.104 / 56. 15.104
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  3.101 /  5.  3.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg2video @ 000000000032d500] Invalid frame dimensions 0x0.
    Last message repeated 11 times
Input #0, mpeg, from 'VTS_01_4_ORIGINAL.vob':
  Duration: 25:42:20.97, start: 3402.244489, bitrate: 92 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg),
720x576 [SAR 64:45 DAR 16:9], max. 8800 k
b/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:2[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:3[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x20]: Subtitle: dvd_subtitle
    Stream #0:6[0x1bf]: Data: dvd_nav_packet
Output #0, svcd, to 'oscar4.vob':
  Metadata:
    encoder         : Lavf56.15.104
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, max. 8800 kb/s, 25 fps, 90k tb
n, 25 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, 224 kb/s
    Stream #0:2: Audio: ac3, 48000 Hz, stereo, 224 kb/s
    Stream #0:3: Audio: ac3, 48000 Hz, stereo, 224 kb/s
    Stream #0:4: Subtitle: dvd_subtitle
    Stream #0:5: Subtitle: dvd_subtitle
    Stream #0:6: Data: dvd_nav_packet
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
  Stream #0:5 -> #0:5 (copy)
  Stream #0:6 -> #0:6 (copy)
Could not write header for output file #0 (incorrect codec parameters ?):
Error number -1 occurred



Second, if I copy all streams except dvd_nav_packet
ffmpeg -i VTS_01_4_ORIGINAL.vob -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map
0:4 -map 0:5 -c:v copy  -c:a:0 copy -c:a:1 copy -c:a:2 copy -c:s:0 copy
-c:s:1 copy VTS_01_4_N.vob

Than why is the ouput order changed?

ffmpeg -i VTS_01_4_N.vob
ffmpeg version N-68399-g10ef8f0 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Dec 12 2014 22:12:56 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fo
ntconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --ena
ble-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-li
bmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-lib
rtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack -
-enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-decklink --enable-zl
ib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.104 / 56. 15.104
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  3.101 /  5.  3.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg @ 00000000003142c0] DTS discontinuity in stream 0: packet 3 with DTS
50761, packet 4 with DTS 53641
[mpeg @ 00000000003142c0] DTS discontinuity in stream 1: packet 3 with DTS
56521, packet 4 with DTS 59401
[mpeg @ 00000000003142c0] DTS discontinuity in stream 2: packet 3 with DTS
56521, packet 4 with DTS 59401
Input #0, mpeg, from 'VTS_01_4_N.vob':
  Duration: 00:18:30.13, start: 0.500000, bitrate: 7694 kb/s
    Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:1[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:2[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
    Stream #0:4[0x21]: Subtitle: dvd_subtitle
    Stream #0:5[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg),
720x576 [SAR 64:45 DAR 16:9], max. 8800 k
b/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
At least one output file must be specified


Thanks,

Philippe

P.S. My initial objective is to repair a scratched DVD and concat all its
vob into a single one. In this case VTS_01_4.vob is scratched and file
jerks or freeze even read from pc, that's why I want to "re-write" it.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to