[FFmpeg-trac] #6673(avformat:new): fmp4/hls not working with remote paths
FFmpeg
trac at avcodec.org
Tue Sep 19 10:32:49 EEST 2017
#6673: fmp4/hls not working with remote paths
-------------------------------------+-------------------------------------
Reporter: | Type: defect
thecodeassassin | Priority: normal
Status: new | Version: git-
Component: avformat | master
Keywords: fmp4 hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When sending the chunks via the HTTP PUT method the init.mp4 file is not
created on the remote path. When supplying a init.mp4 manually in the
playlist the manifest does not play anywhere. This could be due to the
init.mp4 being incorrect or because of something else. Is the init.mp4
stream specific or is it possible to generate a generic one?
How to reproduce:
{{{
% ffmpeg -i bbb.avi -loglevel warning \
-hls_fmp4_init_filename init.mp4 -c:a aac -b:a 128k -ar 44100 -c:v
libx264 -max_muxing_queue_size 400 -x264opts no-scenecut -force_key_frames
"expr:gte(t,n_forced*2)" -crf 23 -start_number 0 -hls_time 4
-hls_list_size 3 -use_localtime 1 -hls_segment_type fmp4
-hls_segment_filename "${REMOTE_PATH}/segment_%s.m4s" -preset ultrafast
-profile:v main -level 3.1 -r 30 -threads 0 -vf "scale=-2:720" -bufsize
2000k -maxrate 2000k -b:v 2000k -f hls -method PUT
"${REMOTE_PATH}/playlist.m3u8"
ffmpeg version 3.3.3
}}}
Error:
[hls @ 0x7fa09a00ca00] Failed to open segment 'init.mp4'
Could not write header for output file #0 (incorrect codec parameters ?):
No such file or directory
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6673>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list