#2273(FFmpeg:new): no option to set file name format inside the generated m3u8 file
#2273: no option to set file name format inside the generated m3u8 file --------------------------------+--------------------------------------- Reporter: mpapp | Type: defect Status: new | Priority: normal Component: FFmpeg | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+--------------------------------------- Summary of the bug: How to reproduce: {{{ This is relevant when using segment option in ffmpeg I cannot see such option For vlc, there is an option ,index-url=http://37.188.125.31/demo/medium-########.ts} which specifies in what format the filenames are saved inside the m3u8. I am sorry if I missed it. }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: no option to set file name format inside the generated m3u8 file --------------------------------------+------------------------------------ Reporter: mpapp | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: segment m3u8 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | --------------------------------------+------------------------------------ Changes (by saste): * status: new => open * reproduced: 0 => 1 * component: FFmpeg => avformat * keywords: => segment m3u8 * version: unspecified => git-master * analyzed: 0 => 1 * type: defect => enhancement Comment: Replying to [ticket:2273 mpapp]:
Summary of the bug: How to reproduce: {{{ This is relevant when using segment option in ffmpeg I cannot see such option For vlc, there is an option ,index-url=http://37.188.125.31/demo/medium-########.ts} which specifies in what format the filenames are saved inside the m3u8.
Your request is not clear. I suppose you want an option like: {{{ ffmpeg -i INPUT -f segment ... -segment_list out.m3u8 -segment_list_prefix "http://37.188.125.31/demo/" medium-%03d.ts }}} Correct? Or do you want the name in the M3U8 to be *different* from the segment filename (not only the prefix)? Can you elaborate what this would be useful for?
I am sorry if I missed it. }}}
-- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: no option to set file name format inside the generated m3u8 file --------------------------------------+------------------------------------ Reporter: mpapp | Owner: Type: enhancement | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: segment m3u8 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | --------------------------------------+------------------------------------ Comment (by mpapp): yes, a -segment_list_prefix "http://37.188.125.31/demo/" which would replace any directory prefix deduced from medium-%03d.ts There is a practical reason , of course. OK, supposed you want to generate m3u8 for web use. Then the filenames inside in m3u8 should be referenced someone differently using http... way. Some video players like it this way. So if you want to serve the net, you need this. It would be useful not only for http requests but I want to use different way of referencing files. E.g. if I use use full path e.g. /root/video/medium-%03d.ts, then the files will also contain /root/video... prefix as it is implemented right now. -segment_list_prefix "" would remove those prefixes... -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: no option to set file name format inside the generated m3u8 file --------------------------------------+------------------------------------ Reporter: mpapp | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: segment m3u8 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | --------------------------------------+------------------------------------ Changes (by cehoyos): * priority: normal => wish -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: no option to set file name format inside the generated m3u8 file --------------------------------------+------------------------------------ Reporter: mpapp | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: segment m3u8 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | --------------------------------------+------------------------------------ Changes (by vihai): * cc: daniele@… (added) -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: no option to set file name format inside the generated m3u8 file -------------------------------------+------------------------------------- Reporter: mpapp | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: hls segment | Blocked By: m3u8 | Reproduced by developer: 1 Blocking: | Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: segment m3u8 => hls segment m3u8 -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2273#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#2273: allow to set file name prefix for the segment names inside the generated m3u8 file -------------------------------------+------------------------------------- Reporter: mpapp | Owner: Type: enhancement | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: hls segment | Blocked By: m3u8 | Reproduced by developer: 1 Blocking: | Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by saste): * priority: wish => normal * status: open => closed * resolution: => fixed Old description:
Summary of the bug: How to reproduce: {{{ This is relevant when using segment option in ffmpeg I cannot see such option For vlc, there is an option ,index-url=http://37.188.125.31/demo/medium-########.ts} which specifies in what format the filenames are saved inside the m3u8.
I am sorry if I missed it. }}}
New description: Summary of the bug: This is relevant when using segment option in ffmpeg I cannot see such option For vlc, there is an option ,index-url=http://37.188.125.31/demo/medium-########.ts} which specifies in what format the filenames are saved inside the m3u8. I am sorry if I missed it. -- Comment: I believe this should be fixed in: {{{ commit 5e278c19c752d65fdc1da1ceb599b091f71a4b4b Author: Stefano Sabatini <stefasab@gmail.com> Date: Fri Nov 22 12:49:05 2013 +0100 lavf/segment: add segment_list_entry_prefix option This option allows to add a prefix to the segment list entry filenames. Also set by default the list entry filenames to the corresponding segment basename, consistent with the HLS muxer. Based on an idea by Steven Liu <lingjiujianke@gmail.com>. }}} The new option allows to set the prefix to use for the playlist file. -- Ticket URL: <https://trac.ffmpeg.org/ticket/2273#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg