[FFmpeg-user] Unable to add valid http headers from windows command line

John Bell jhbell50 at hotmail.com
Tue Jul 30 21:35:16 CEST 2013


http headers must be terminated by a CRLF, but when invoking ffmpeg from the command line for an HLS stream that requires a header, the \r\n are removed and http gives an error message reporting no CRLF. 
eg:
ffplay -headers "Cookie: eurospirt1keys=goXwiG_clitxCyNihl0ErA; eurospirt1keyt=1375113106\r\n" "http://46.165.210.22/hqstream/eurospirt1/playlist.m3u8?keys=goXwiG_clitxCyNihl0ErA&keyt=1375113106" 
"[http @ 043ac6a0] No trailing CRLF found in HTTP header."

Seems to me that ffmpeg should add any required crlf’s just like CURL does. I’ve requested approval to post this in tracker but I’ve received no email back.


More information about the ffmpeg-user mailing list