[FFmpeg-trac] #5460(undetermined:new): http.c module, custom headers are lost
FFmpeg
trac at avcodec.org
Thu Apr 21 20:45:00 CEST 2016
#5460: http.c module, custom headers are lost
-------------------------------------+-------------------------------------
Reporter: kowalsky | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: http | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by kowalsky):
Found a solution into a forum. Many other people has gotten my same
problem about unclear syntax.
Now I've used ffplay.
ffplay -v debug -user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
Gecko/20100101 Firefox/45.0' -headers 'Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-
Language: en-US,en;q=0.8,es-ES;q=0.5,es;q=0.3'$'\r\n''Accept-Encoding:
gzip, deflate'$'\r\n''DNT: 1'$'\r\n''Referer:
http://www.ponlatv.com/jwplayer6/jwplayer.flash.swf'$'\r\n''Connection:
keep-alive'$'\r\n''Icy-Metadata: 0'$'\r\n' -i
'http://cdn.sstream.pw/live/cuatro_xrf2a3/playlist.m3u8?st=8If-lp-
putG5fQ_PAioD-Q&e=1460073969'
This works, even if I've to force Icy-Metadata 0 to get the stream.
Otherwise the stream doesn't start because the ffmpeg uses as default
Icy-Metadata 1.
This ticket can be closed.
Tks for your help
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5460#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list