[FFmpeg-user] copy hls m3u8 stream with ffmpeg

Chovy chovy at protonmail.com
Wed Apr 13 07:52:38 CEST 2016


-------- Original Message --------
Subject: Re: [FFmpeg-user] copy hls m3u8 stream with ffmpeg
Local Time: April 12, 2016 10:49 PM
UTC Time: April 13, 2016 5:49 AM
From: chovy at protonmail.com
To: ffmpeg-user at ffmpeg.org
CC: ffmpeg-user at ffmpeg.org



-------- Original Message --------
Subject: Re: [FFmpeg-user] copy hls m3u8 stream with ffmpeg
Local Time: April 12, 2016 10:17 PM
UTC Time: April 13, 2016 5:17 AM
From: barsnick at gmx.net
To: ffmpeg-user at ffmpeg.org

On Tue, Apr 12, 2016 at 23:59:46 -0400, Chovy wrote:
> I'm having some trouble trying to copy this stream. It worked fine with ffmpeg up until a day or two ago.

It works just fine for me. Did you try other players?

> $ ffmpeg -i http://nflioslivesvg2-i.akamaihd.net/hls/live/221521/nflioslive/2015HackerNow_w99d9_g.m3u8 -c copy test.m3u8
> ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers

Have you tried using latest git master (or at least 3.0.1)?

Moritz


Yes, I also tried with ffmpeg 3.0.1 from the static builds here: http://johnvansickle.com/ffmpeg/

Neither work, seems to have just started happening I think its a problem with the stream. Did you try the same command I pasted?

Here is my output with ffmpeg 3.0.1

$ ffmpeg -i http://nflioslivesvg2-i.akamaihd.net/hls/live/221521/nflioslive/2015HackerNow_w99d9_g.m3u8 -c copy test.m3u8
ffmpeg version 3.0.1-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.1 (Debian 5.3.1-13) 20160323
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
http://nflioslivesvg2-i.akamaihd.net/hls/live/221521/nflioslive/2015HackerNow_w99d9_g.m3u8: Invalid data found when processing input




I noticed it worked once -- seems to be intermittent.

When it did play, I got these messages, but then I tried again and it wouldn't play.

[mpegts @ 0x59ca840] Could not find codec parameters for stream 2 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x59c2400] Could not find codec parameters for stream 2 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options


More information about the ffmpeg-user mailing list