1
我想爲ffplay或ffmpeg傳遞多個頭文件,它說我需要用CRLF進行分割。在Linux上,我可以使用\
或$'\r\n'
,但如何爲Windows?windows CMD在雙引號內發送CRLF
SET CRLF=^
ffplay -v debug -i "http://example.com/test" -headers "Accept-Language: en-US,en;q=0.5%CRLF%Connection: keep-alive"
調試日誌:Connection: keep-alive
不發送
[http @ 04df3f40] No trailing CRLF found in HTTP header.
[http @ 04df3f40] request: GET /test HTTP/1.1 0KB sq= 0B f=0/0
User-Agent: Lavf/57.37.101
Accept: */*
Range: bytes=0-
Connection: close
Host: example.com
Icy-MetaData: 1
Accept-Language: en-US,en;q=0.5
感謝