[FFmpeg-trac] #4258(avcodec:new): HEVC Decoder Hang in Multi-threaded Slice Type Decoding

FFmpeg trac at avcodec.org
Tue Jan 13 20:16:05 CET 2015


#4258: HEVC Decoder Hang in Multi-threaded Slice Type Decoding
-------------------------------------+-----------------------------------
             Reporter:  jlsantiago0  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  hevc         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by jlsantiago0):

 I have uploaded a PCAP that can be used to reproduce the issue to ftp
 ://ffmpeg-issue-4258.pcap/incoming/ffmpeg-issue-4258.pcap .

 To reproduce the issue:

 1) Use tcpreplay to stream the PCAP in a loop :

 {{{
 while true \
 do
    sudo tcpreplay \
       --preload-pcap \
       -i eth0 \
       ffmpeg-issue-4258.pcap
 done
 }}}

 2) Tune into the stream and start decoding it:

 {{{
 $ ffmpeg_g -vcodec hevc -threads 10 -thread_type slice  -i
 udp://@239.36.13.100:4900 -f null /dev/null
 }}}

 It may hang right away, it may take 15-20 minutes to hang. Seems like a
 race condition of some kind.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4258#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list