#1349: itsoffset doesn't work for second input file (audio)
------------------------------------+-----------------------------------
             Reporter:  bombo       |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  FFmpeg
              Version:  git-master  |               Resolution:  invalid
             Keywords:  itsoffset   |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by mjs973):

 I've looked into this further. My description in comment 2 doesn't match
 the behavior of current git, so either I mis-remembered or something
 changed.

 This command should display file1 content one second earlier than file2
 content:

 ffmpeg -itsoffset -1 -i file1.ts -i file2.ts -vcodec copy -acodec copy
 -map 0:0 -map 1:1 out.ts

 1) What I see is that -itsoffset adds or subtracts from all the timestamps
 (both the video and audio streams) in a file. So this option is only going
 to be useful when remuxing from separate input files.

 2) outfile has expected playback behavior with .ts and .mkv containers.

 3) It does not work with .avi (no timestamps, so not a surprise)

 4) It does not work with .mp4 container (a bug?)

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1349#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to