Ticket #231 (open defect)
ffplay freezes with date -s in linux
| Reported by: | sahandeva | Owned by: | michael |
|---|---|---|---|
| Priority: | normal | Component: | FFplay |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
While playing a video clip in ffplay, setting system time in linux by "date -s" freezes video playback while audio seems to be playing.
System Ubuntu 10.04 LTS x86_64
ffmpeg recent (20/50/2011) git pulled
Does it has some thing to do with core ffmpeg
Change History
comment:1 follow-up: ↓ 2 Changed 2 years ago by cehoyos
- Priority changed from critical to minor
- Status changed from new to open
- Reproduced by developer set
comment:2 in reply to: ↑ 1 Changed 2 years ago by sahandeva
Replying to cehoyos:
Video stops playing (esp, if the time is set back), but I cannot reproduce a freeze.
Yes video stops playing but the audio does continue to play.
Wondering weather this is localized to ffplay implementation of PTS - DTS bounded to system clock or ffmpeg specific.
Checked the same scenario with VLC which perfectly plays video + audio irrespective of the system time modifications.
Please shed some light on this as implementation of my case require system time modification (using NTP)to be not effective on ffmpeg playback.
comment:3 Changed 2 years ago by saste
This is related to the implementation of av_gettime(void) in libavformat.
Read also the thread:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/101431/focus=101434
Work in this area is very welcome.
comment:4 Changed 2 years ago by saste
- Priority changed from minor to normal
Increased priority level to "normal", indeed this is not only a bug in ffplay but a defect in libavformat.



Video stops playing (esp, if the time is set back), but I cannot reproduce a freeze.