View Single Post
  #1  
Old 04-30-2016, 12:35 PM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

Record Directv from web


Hey all-

I've been attempting to grab the JazzFest stream and I'm not having much luck. I can find the m3u8(s) with no issues but can't seem to figure out the combination to get the stream to capture. I have tried ffmpeg as well as livestreamer with no luck. I noticed that the URL that I pull starts with http://127.0.0.1.... so I'm wondering if I need to do something (e.g. use a switch of some sort) I'm not used to having to use. Typically the m3u8 address is a full on URL and not something looping thru the mandatory Directv app.

Edit:
I think I'm making some headway. I'm pretty sure my issues stem from the input coming from the local network.

When I try this:
ffmpeg -f mpegts -i "http://127.0.0.1:51259/4209/latest.m3u8?is_manifest=1" -c copy AXStest.ts

I get this:
ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 14 2015 18:07:58 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
http://127.0.0.1:51259/4209/latest.m3u8?is_manifest=1: could not find codec parameters

I think I'm getting close. Any help is greatly appreciated!


Update:
When I attempt this command/string:
ffmpeg -f flv -i http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1 -c copy AXStest.flv

I get this:
server:AdobeHDS bigalow$ ffmpeg -f flv -i http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1 -c copy AXStest.flv
ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 14 2015 18:07:58 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[flv @ 0x7f82fa806a00] Stream discovered after head already parsed
[flv @ 0x7f82fa806a00] Could not find codec parameters for stream 0 (Video: none, none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[flv @ 0x7f82fa806a00] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, flv, from 'http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1':
Duration: N/A, start: 1514687.861000, bitrate: N/A
Stream #0:0: Video: none, none, 1k tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: none, 0 channels
Stream #0:2: Data: none
File 'AXStest.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'AXStest.flv':
Output file #0 does not contain any stream


When I attempt this command/string:
fmpeg -f mpegts -i http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1 -c copy AXStest.flv

I get this:
server:AdobeHDS bigalow$ ffmpeg -f mpegts -i http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1 -c copy AXStest.flv
ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 14 2015 18:07:58 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
http://127.0.0.1:53549/4209/latest.m3u8?is_manifest=1: could not find codec parameters


I should add that no matter the file type I choose to output to I get the same result which leads me to believe that this issue is really with the input variables. Hoping someone can help guide me in. I feel like I'm missing something simple. Thanks!

Last edited by bigalow : 04-30-2016 at 03:57 PM. Reason: more info
Reply With Quote