Opened 12 years ago
Last modified 12 years ago
#1721 new defect
ffplay doesn't correctly play files with audio timestamps not starting from 0
Reported by: | Stefano Sabatini | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffplay |
Version: | unspecified | Keywords: | ffplay audio |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
ffplay can't correctly plays file, where the audio timestamps doesn't start from 0.
A test file can be created with the command:
ffmpeg -f lavfi -i "flite=text='To be or not to be, that is the question',asetpts=PTS+5/TB [out0]; testsrc=n=2[out1]" -ar 16000 -acodec libmp3lame -y out.mp4
ffplay starts to play the video from the point where the audio starts, which doesn't seem the correct behavior. Compare for example with how vlc plays the file.
I don't know which is the best place to address the issue. We could add an audio pad filter, which fills the gap (but that would introduce another dependency on ffplay), or add the logic (possibly configurable) to handle that within ffplay.
Change History (1)
comment:1 by , 12 years ago
Summary: | ffplay doesn't correctly plays files with audio timestamps not starting from 0 → ffplay doesn't correctly play files with audio timestamps not starting from 0 |
---|
Note:
See TracTickets
for help on using tickets.