[FFmpeg-trac] #3362(undetermined:new): ffplay: video freeze after seek
FFmpeg
trac at avcodec.org
Wed Jan 29 17:03:20 CET 2014
#3362: ffplay: video freeze after seek
-------------------------------------+-------------------------------------
Reporter: | Type: defect
kirilldanilenko | Priority: normal
Status: new | Version: git-
Component: | master
undetermined | Blocked By:
Keywords: mov h264 | Reproduced by developer: 0
Constrained Baseline seek |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
How to reproduce:
{{{
ffplay media.mp4
}}}
ffmpeg version:
{{{
./ffmpeg -version
ffmpeg version N-60217-g644c32e
built on Jan 29 2014 12:54:09 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration:
libavutil 52. 63.100 / 52. 63.100
libavcodec 55. 49.100 / 55. 49.100
libavformat 55. 28.100 / 55. 28.100
libavdevice 55. 7.100 / 55. 7.100
libavfilter 4. 1.101 / 4. 1.101
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
}}}
built on :
{{{
Ubuntu 12.04.4 LTS, gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
}}}
Brief: I faced the problem with ffplay during playback of media.mp4 (I
have files to attach to this ticket). After seek video freezes, showing
video frame which was before seek. Audio after seek continues to play
correctly, no freeze.
ffprobe output:
{{{
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp41isom
Duration: 06:08:50.52, start: 0.000000, bitrate: 257 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 800x600 [SAR 1:1 DAR 4:3], 155 kb/s, -9.41 fps, 10
tbr, 10k tbn, 20 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
fltp, 100 kb/s (default)
Metadata:
handler_name : SoundHandler
}}}
Also I tried with 2.1.3 release and 1.2, the same situation.
1) avformat_seek_file()
2) av_read_frame() << returns video frame (only 1 after seek)
3) next av_read_frame() calls returns only audio data.
ffplay on Ubuntu (with libav engine) plays that file well.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3362>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list