#6627(avformat:new): av_read_frame got incorrect packet after av_seek_frame
#6627: av_read_frame got incorrect packet after av_seek_frame -------------------------------------+------------------------------------- Reporter: sorayuki | Type: defect Status: new | Priority: normal Component: avformat | Version: git- Keywords: mp4, | master demuxer | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- I'm writing a C program to use avformat to demux the attached mp4 file and feed audio track to decoder. I found avformat read packet in incorrect size after seek to begining, and decoder refused to decode that packet. How to reproduce: windows 10 x64, visual studio 2013, linked with nightly build 20170827-ef0c6d9-win32 (32bit) from https://ffmpeg.zeranoe.com/builds/ I use av_read_frame to read packet from video file, and feed the packet of audio track through avcodec_send_packet to decoder, then receive frame by avcodec_receive_frame. After decoding finished, I use av_seek_frame to rewind and read the file again. The program's output should explain the issue. attachments are the program and sample video file. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6627> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6627: av_read_frame got incorrect packet after av_seek_frame ------------------------------------+------------------------------------ Reporter: sorayuki | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mov | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: mp4, demuxer => mov -- Ticket URL: <https://trac.ffmpeg.org/ticket/6627#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6627: av_read_frame got incorrect packet after av_seek_frame -------------------------------------+------------------------------------- Reporter: sorayuki | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: mov | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by sorayuki): * status: new => closed * resolution: => needs_more_info Comment: In second turn, that the audio packet with the same pts is larger is caused by the merging of side data. Decoding error may be caused by other problem. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6627#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg