[FFmpeg-trac] #5391(undetermined:new): Allow option to use webproxy
FFmpeg
trac at avcodec.org
Thu Mar 31 15:11:12 CEST 2016
#5391: Allow option to use webproxy
-------------------------------------+-------------------------------------
Reporter: fool1223 | Type:
Status: new | enhancement
Component: | Priority: normal
undetermined | Version:
Keywords: | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
I'm trying to play a stream like the following:
http://example.com/proxy.php?u=http://realhost.com/session/xxx/index.m3u8
The resulting m3u8 file looks like this:
{{{
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:1438367455
#EXTINF:4.000,
1438367455.ts
#EXTINF:4.000,
1438367456.ts
#EXTINF:4.000,
1438367457.ts
#EXTINF:4.000,
1438367458.ts
}}}
The problem is that ffmpeg doesn't stay on the complete url but instead
downloads the file and than generates the new chunks like:
http://realhost.com/session/xxx/1438367455.ts
Obviously this won't work. So I want to request a command line arg like '
--webproxy' which would include the full original url like this:
http://example.com/proxy.php?u=http://realhost.com/session/xxx/1438367455.ts
VLC can handle this type of urls already without problems but my software
uses ffmpeg.
(I used the latest build ffmpeg version N-79173-gbe746ae for testing and
also older versions)
Thanks in advance!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5391>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list