[FFmpeg-trac] #1349(FFmpeg:closed): itsoffset doesn't work for second input file (audio)

FFmpeg trac at avcodec.org
Thu May 31 16:48:36 CEST 2012


#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


More information about the FFmpeg-trac mailing list