[FFmpeg-trac] #7907(ffmpeg:new): [hls @ 0x6a30180] Unable to find mapping variant stream av_interleaved_write_frame(): Cannot allocate memory
FFmpeg
trac at avcodec.org
Fri May 17 16:23:27 EEST 2019
#7907: [hls @ 0x6a30180] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
---------------------------------+----------------------------------
Reporter: geekteq | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 4.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------
Summary of the bug: CentOS FFMpeg (compiled according to FFMpeg.org
instructions) fails with the following message -- [hls @ 0x6a30180] Unable
to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
How to reproduce:
{{{
% ffmpeg -y -i
"udp://224.0.0.0:5000?overrun_nonfatal=1&fifo_size=100000000" -flags +cgop
-vsync 1 \
-c:v:0 libx264 -vf:0 "yadif=0:-1:1,format=yuv420p" -b:v:0 2048k -c:a:0
libfdk_aac -s:v:0 1280x720 -shortest -b:a:0 128k -r:v:0 30 -g:v:0 60
-force_key_frames "expr:gte(t,n_forced*2)" -preset:0 faster -crf:0 23
-profile:v:0 high -level:v:0 4.0 \
-c:v:1 libx264 -vf:1 "yadif=0:-1:1,format=yuv420p" -b:v:1 1024k -c:a:1
libfdk_aac -s:v:1 720x480 -shortest -b:a:1 128k -r:v:1 30 -g:v:1 60
-force_key_frames "expr:gte(t,n_forced*2)" -preset:1 faster -crf:1 24
-profile:v:1 baseline -level:v:1 3.1 \
-c:v:2 libx264 -vf:2 "yadif=0:-1:1,format=yuv420p" -b:v:2 512k -c:a:2
libfdk_aac -s:v:2 640x360 -shortest -b:a:2 128k -r:v:2 30 -g:v:2 60
-force_key_frames "expr:gte(t,n_forced*2)" -preset:2 faster -crf:2 25
-profile:v:2 baseline -level:v:2 3 \
-sn -ac 2 -flags -global_header -hls_time 6 -hls_list_size 10
-start_number 1 -method PUT -threads 2 -thread_type slice \
-hls_flags delete_segments \
-map 0:v -map 0:a -map 0:v -map 0:a -map 0:v -map 0:a \
-var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" \
-f hls -master_pl_name "master.m3u8" \
"https://pxxx.net/xxx/xxx/xxx-%v-%v.m3u8"
}}}
ffmpeg version 4.1.3 (have tested latest daily as well and the same issue
appears) although 4.1.3 dumps core while latest does not, and also
complains about renaming files. Currently reverting 4.0.2 to see
regression.
built on CentOS 7.6
The same command line works flawlessly on Ubuntu LTS 18.04 -
Hardware is a HP server with 64 GB Ram and 24 cores so there's enough RAM
and CPU..
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7907>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list