[FFmpeg-trac] #6204(undetermined:open): AAC-only hls stream slowly exceeds file descriptors

FFmpeg trac at avcodec.org
Wed Mar 1 04:31:10 EET 2017


#6204: AAC-only hls stream slowly exceeds file descriptors
-------------------------------------+-------------------------------------
             Reporter:  ncon         |                    Owner:  stevenliu
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  hls          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by stevenliu):

 Replying to [comment:7 ncon]:
 > This a little helper i made to simplify testing
 >
 > ffmpeg-mux-to-hls.sh
 >
 > {{{
 > #!/bin/bash
 >
 > on_die ()
 > {
 >     # kill all children
 >     pkill -SIGTERM -P $$
 > }
 >
 > trap 'on_die' TERM
 >
 > ffmpeg -v verbose -f lavfi -i sine \
 >           -c:a libfdk_aac \
 >           -vn \
 >           -b:a 128000 \
 >           -f hls \
 >           -hls_time 3 \
 >           -hls_list_size 3 \
 >           -hls_flags delete_segments \
 >           -hls_segment_filename segment_128_%10d.ts \
 >           playlist_128.m3u8 2>>ffmpeg-all.log &
 > wait
 > }}}
 >
 > and then:
 >
 > {{{
 > ./ffmpeg-mux-to-hls.sh &
 > }}}
 >
 > then check with
 >
 > {{{
 > lsof -p <PID>
 > }}}
 >
 > in the current master the files won't get released, in the 3.2 stable
 they get released


 https://patchwork.ffmpeg.org/patch/2706/


 try it please.

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


More information about the FFmpeg-trac mailing list