[FFmpeg-devel] [PATCH v13] avformat/dashdec: add dash demuxer base version

Andy Furniss adf.lists at gmail.com
Sun Apr 9 01:17:37 EEST 2017


Steven Liu wrote:

> v13 fixed:
> 1. fix bug: cannot play:
> http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd

Great things seem to be working OK now.

Is it possible to choose streams?

There are some logging nits on the mpds I've tested.

http logs per chunk

No trailing CRLF found in HTTP header.

https additionally logs

The TLS connection was non-properly terminated.

With a live stream plus -loglevel verbose there is "too much"

I don't know if this url will work outside the UK.

ffmpeg -loglevel verbose -i 
https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd 
-f null -
ffmpeg version N-85386-gd14a1bd Copyright (c) 2000-2017 the FFmpeg 
developers
   built with gcc 5.3.0 (GCC)
   configuration: --prefix=/usr --disable-doc --enable-gpl --enable-omx 
--enable-opencl --enable-libvpx --enable-libx265 --enable-libmp3lame 
--enable-libx264 --enable-gnutls --enable-libxml2
   libavutil      55. 60.100 / 55. 60.100
   libavcodec     57. 92.100 / 57. 92.100
   libavformat    57. 72.100 / 57. 72.100
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 84.100 /  6. 84.100
   libswscale      4.  7.100 /  4.  7.100
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/IS.mp4', 
offset 0, playlist 0
[https @ 0x27aeb60] No trailing CRLF found in HTTP header.
[tls @ 0x22c5860] The TLS connection was non-properly terminated.
[dash @ 0x22bd320] Could not read complete fragment.
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/388460817.m4s', 
offset 0, playlist 0
[https @ 0x22c4b20] No trailing CRLF found in HTTP header.
Input #0, dash, from 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd':
   Duration: N/A, start: 1491689537.280000, bitrate: N/A
   Program 0
     Stream #0:0: Audio: flac (fLaC / 0x43614C66), 48000 Hz, stereo, s16
Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[graph_0_in_0_0 @ 0x27cd920] tb:1/48000 samplefmt:s16 samplerate:48000 
chlayout:0x3
Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf57.72.100
     Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
     Metadata:
       encoder         : Lavc57.92.100 pcm_s16le
[tls @ 0x22c58a0] The TLS connection was non-properly terminated.
[dash @ 0x22bd320] new fragment: min[388460661] max[388460817], playlist 0
     Last message repeated 2253 times
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/388460818.m4s', 
offset 0, playlist 0
[https @ 0x27d0660] No trailing CRLF found in HTTP header.
[tls @ 0x27d7f80] The TLS connection was non-properly terminated.
[dash @ 0x22bd320] new fragment: min[388460661] max[388460818], playlist 0
     Last message repeated 652 times
[dash @ 0x22bd320] new fragment: min[388460662] max[388460818], playlist 0
     Last message repeated 2804 times
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/388460819.m4s', 
offset 0, playlist 0
[https @ 0x27d0660] No trailing CRLF found in HTTP header.
[tls @ 0x27d7f80] The TLS connection was non-properly terminated.
[dash @ 0x22bd320] new fragment: min[388460662] max[388460819], playlist 0
     Last message repeated 809 times
[dash @ 0x22bd320] new fragment: min[388460663] max[388460819], playlist 0
     Last message repeated 1868 times
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/388460820.m4s', 
offset 0, playlist 0
[https @ 0x2da3a40] No trailing CRLF found in HTTP header.
[tls @ 0x2850500] The TLS connection was non-properly terminated.
[dash @ 0x22bd320] new fragment: min[388460663] max[388460820], playlist 0
     Last message repeated 661 times
[dash @ 0x22bd320] new fragment: min[388460664] max[388460820], playlist 0
     Last message repeated 2803 times
[dash @ 0x22bd320] DASH request for url 
'https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/A1/388460821.m4s', 
offset 0, playlist 0
[https @ 0x27d0660] No trailing CRLF found in HTTP header.
size=N/A time=00:00:15.07 bitrate=N/A speed= 1.1x
video:0kB audio:2826kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: unknown
Input file #0 
(https://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd):
   Input stream #0:0 (audio): 161 packets read (1184205 bytes); 158 
frames decoded (728064 samples);
   Total: 161 packets (1184205 bytes) demuxed
Output file #0 (pipe:):
   Output stream #0:0 (audio): 157 frames encoded (723456 samples); 157 
packets muxed (2893824 bytes);
   Total: 157 packets (2893824 bytes) muxed



More information about the ffmpeg-devel mailing list