Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

cookie encrypted m3u8 to rtmp server?

(http://stream-recorder.com/forum/showthread.php?t=20491)

able101 12-01-2015 10:58 PM

cookie encrypted m3u8 to rtmp server?


 
Looking to restream this kind of link to RTMP server:


http://nlds237.cdnak.neulion.com/nld... ec05b08fbb33



Here is the command I have been trying to run (converts m3u8 to rtmp and transfers it to my youtube channel)

Code:

ffmpeg -re -i http://nlds237.cdnak.neulion.com/nlds/nhl/canucks/as/live/canucks_hd.m3u8?nltid=nhlgc&nltdt=6&nltnt=2&hdnea=expires%3D1449033213%7Eaccess%3D%2Fnlds%2Fnhl%2Fcanucks%2Fas%2Flive%2F*%7Emd5%3D13862b7ec219de80e9f3ec05b08fbb33 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f flv "rtmp://a.rtmp.youtube.com/live2/ablewalmsley.0crx-419b-b9cb-6p1j"
The problem is that the command isn't working on m3u8's with cookie encryption, definitely works on m3u8's without encryption.

Console Output:

Code:

Ables-Pro-2015:~ ablewalmsley$ ffmpeg -re -i http://nlds237.cdnak.neulion.com/nlds/nhl/canucks/as/live/canucks_hd.m3u8?nltid=nhlgc&nltdt=6&nltnt=2&hdnea=expires%3D1449033213%7Eaccess%3D%2Fnlds%2Fnhl%2Fcanucks%2Fas%2Flive%2F*%7Emd5%3D13862b7ec219de80e9f3ec05b08fbb33 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f flv "rtmp://a.rtmp.youtube.com/live2/ablewalmsley.0crx-419b-b9cb-6p1j"
[2] 17664
[3] 17665
[4] 17666
-bash: -c:v: command not found
[3]  Done                    nltdt=6
[4]-  Done                    nltnt=2
Ables-Pro-2015:~ ablewalmsley$ ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 7.0.0 (clang-700.1.76)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.1_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfaac --enable-nonfree --enable-vda
  libavutil      54. 31.100 / 54. 31.100
  libavcodec    56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter    5. 40.101 /  5. 40.101
  libavresample  2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample  1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100



All times are GMT -6. The time now is 06:27 PM.