[FFmpeg-trac] #1806(avformat:open): Audio/video stream order reversed in remuxed VOB files

FFmpeg trac at avcodec.org
Mon Nov 26 16:03:15 CET 2012


#1806: Audio/video stream order reversed in remuxed VOB files
------------------------------------+------------------------------------
             Reporter:  paulbu      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  stream VOB  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by paulbu):

 Clearer information on this issue from more investigation:
 My input VOB files have a time delay between audio and video streams. When
 remultiplexing (using -codec copy) ffmpeg is repositioning the packets in
 the streams into time order SO it ends up with a whole VOBU at the start
 of file containing only audio packets. This causes the (incorrect)
 'dvdauthor' error message as it can't determine video time from the first
 VOBU.

 I have attached a short VOB file sample to test with. Run:
 ffmpeg -i test-ffmpeg.vob -target pal-dvd -codec copy <out.vob>

 and the output file will have an audio only first VOBU and ffprobe will
 report the audio and video stream IDs have been reversed.
 In my view the excess audio before the video starts should be discarded
 but it maybe the problem is more with 'dvdauthor' here?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1806#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list