[FFmpeg-trac] #2273(avformat:open): no option to set file name format inside the generated m3u8 file

FFmpeg trac at avcodec.org
Sat Feb 16 11:25:37 CET 2013


#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


More information about the FFmpeg-trac mailing list