笔者在使用自行编译的ffmplay调试播放网络流过种中遇到无HTTP header返回的问题,日志打印级别为TRACE,如下:
pening 'http://10.48.144.87:8100/MPEG-DASH/MP4_ONDEMAND_SegmentBase_MutilBitrate/MP4_ONDEMAND_SegmentBase.mpd
' for reading
Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
Original list of addresses:
Address 10.48.144.87 port 8100
Interleaved list of addresses:
Address 10.48.144.87 port 8100
Starting connection attempt to 10.48.144.87 port 8100
Successfully connected to 10.48.144.87 port 8100
request: GET /MPEG-DASH/MP4_ONDEMAND_SegmentBase_MutilBitrate/MP4_ONDEMAND_SegmentBase.mpd
HTTP/1.1
User-Agent: Lavf/58.29.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.48.144.87:8100
Icy-MetaData: 1
header='<?xml version="1.0"?>'
http_code=0
header='<!-- MPD file Generated with GPAC version 0.5.2-DEV-rev322-gf6fed6c-master at 2015-05-13T01:20:55.664Z-->'
header='<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H15M37.045S" maxSegmentDuration="PT0H0M9.968S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011">'
header=' <ProgramInformation moreInformationURL="http://gpac.sourceforge.net">'
header=' <Title>H264_AAC_dash.mpd generated by GPAC</Title>'
header=' </ProgramInformation>'
header=''
Unable to parse 'http://10.48.144.87:8100/MPEG-DASH/MP4_ONDEMAND_Segm