[FFmpeg-trac] #6815(avcodec:open): Regression recovering broken H264 stream
FFmpeg
trac at avcodec.org
Fri Apr 6 14:31:18 EEST 2018
#6815: Regression recovering broken H264 stream
-------------------------------------+-------------------------------------
Reporter: w3sip | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: h264 | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by staircase27):
Replying to [comment:8 heleppkes]:
> I would strongly recommend to in fact not use the chunked decoding mode,
and instead make use of the h264 parser to re-assemble the bitstream. The
result should be the same, just using a more thoroughly tested code path.
Hi,
I'm not entirely sure how I would go about making use of the h264 parser
to re-assemble the bitstream?
Currently I am reading NAL unit packets using av_read_frame and then
passing these packets to avcodec_send_packet and pulling the decoded
frames out using avcodec_receive_frame. Is this re-assembing done by
adding another call to ffmpeg to request it re-assemble the nal-unit
packets back into larger nal-unit packets before passing to
avcodec_send_packet or an option we pass in when creating the
codec_context to request that ffmpeg does it internally?
If you need any more details please can we discuss directly over emails?
My email address is "staircase AT sector DASH alpha NOT net".
Thanks,
Simon
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6815#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list