Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Can somebody help get filmon rtmp code to play with livestreamer?Can somebody help get filmon rtmp code to play with livestreamer? Starts then cuts off after 30 seconds. Thanks in advance!
Code:
livestreamer "rtmp://live-1130.la2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed3f8fe3286df6a738d388022e9c04270a279056777b43ac166056d0c2876d8cdbdf224ec59313aca45a56e8c94bfbf2609b7e84d30079fbc7833abf3e32348e402d6b40427743755c107e5541702b3fed62f3e06ae0704422461d7ba108526e43b1dcee2ba73234156dbde5e3458d80105fbef588d4563372a30da75e704dce4271/694.high.stream live=1 swfUrl=http://www.filmon.com/tv/modules/FilmOnTV/files/flashapp/filmon/FilmonPlayer.swf" best |
#2
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?It only works for the low / worst quality setting, I think you need a account for the higher quality stream to bypass the 30 second limit, at least you don't get the constant annoying flash adds they have on the website though slowing your browser down to a halt
You can make your filmon script shorter though you only need the the filmon webpage channel url eg: livestreamer https://www.filmon.com/channel/bbc-news worst pause |
#3
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?Quote:
|
#4
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?ihryjfbd,
livestreamer "http://www.filmon.com/channel/cbeebiesbbc-four" best Have you noticed that livestreamer plays rtmp stream here ? Before it was possible to watch high steam by replacing "low" with "high" in http url. Does not work any more. Now there are 2 different ID's for low and high, high ID changing every 30 seconds. For the start, I would like to get low rtmp stream with rtmpdump and for that I need right parameters. Any idea how livestreamer would show us rtmp parameters ? url helper returns nothing, wireshark returns everything encrypted, url snooper returns this: 6c748db9efc4a0cec5b80295d905694c43a9d3057f9ba591a3 9feeb4c9fa9 flashVer WIN 10,0,32,18 swfUrl Phttp:?//www.filmon.com/tv/modules/FilmOnTV/files/flashapp/filmon/FilmonPlayer.swf tcUrlbrtmp://live-889.ld5.edge.filmon.com:1935/li?ve/?id=0ad5aac39bb13fbedb155fbc99f60be5747cbf5aa9c464 ff837f79524346840496968ec2c1b8add4ae5be18f6eababa1 457324f83d8ddb809d2a60680?74d92ee98ada4b624091f2cc 7e03197c93163c0e2d3bfd8502d64a953a908bf9554e3ea314 ab45d7b9a8e9a461e65187a43 ( cannot get -y --playpath from this ) the best of them all, rtmpdumphelper, works with web browser only, shows no rtmp stream. |
#5
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?In the meantime, this will give you bogus high:
set var=http://www.filmon.com/channel/cbeebiesbbc-four start /min livestreamer --player "ffplay.exe -vf scale=864:480" %var% worst |
#6
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?Quote:
http://www.filmon.com/api-v2/channel/3191?protocol=hls http://www.filmon.com/api-v2/channel/3191?protocol=rtmp Code:
livestreamer "hls://http://live-1183.gv2.edge.filmon.com/live/3191.low.stream/playlist.m3u8?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed3f8fe3286df6a738d3ea8e8f151e193bfaffd6e8f9fadcc78e80cadf8006c0b3076fbe9d488e0540c5bb87b3206e31b61d8ebee55c398a2e094469a5f78da0bf0317bd646a7c16eab52497798b095128bc8e7dc0b498e3246a21c5e4ad91fab1046ec19823f0cc2fd82c3e6daef4d8e8a9053c04735b276dac7725c9604fecbfe7" best |
#7
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer? |
#8
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?laj,
you started this thread filmon, rtmp code, livestreamer... this is how this works for me on BBC 4: PLAYING: @title BBC_4 set var=http://www.filmon.com/channel/cbeebiesbbc-four start /min livestreamer --player "ffplay.exe -vf scale=864:480" %var% worst CMD window: [cli][info] Found matching plugin filmon for URL http://www.filmon.com/channel/cbeebiesbbc-four [cli][info] Available streams: low (worst), high (best) [cli][info] Opening stream: low (rtmp) [cli][info] Starting player: ffplay.exe -vf scale=864:480 RECORDING: simplest: @title ~BBC_4 set var=http://www.filmon.com/channel/cbeebiesbbc-four FOR /f %%a IN ('livestreamer --stream-url %var% worst') DO set var2="%%a/103.low.stream" ffmpeg -i %var2% -c:v h264 -c:a aac -vf scale=864:480 "c:\BBC_4.flv" my original batch file: @title ~BBC_4 set var=http://www.filmon.com/channel/cbeebiesbbc-four :START @FOR /f %%x IN ('DT') DO @set d=%%x @FOR /f %%a IN ('livestreamer --stream-url %var% worst') DO set var2="%%a/103.low.stream" ffmpeg -i %var2% -c:v h264 -c:a aac -vf scale=864:480 "c:\%d%_BBC_4.flv" SLEEP 10 goto START DT.exe ( delphi ) program DT; {$APPTYPE CONSOLE} uses SysUtils; var dtime: string; begin dtime:= FormatDateTime('yyyy-mm-dd_hh-nn-ss', Now); writeln(dtime); end. SLEEP.exe http://www.computerhope.com/dutil.htm CMD window: C:\MISC\~>set var=http://www.filmon.com/channel/cbeebiesbbc-four C:\MISC\~>set var2="rtmp://live-889.ld5.edge.filmon.com/live/?id=0ad5aac39bb13fbe1f5ae3a72e5dfd4c0ad4df9982bfb8 716aca0ee d81b3bafb4b9fc891f4ca95e4efd167688e5b8e2eef0f15206 30d997a43e181e35f05a4279757406bd4cd91e3cb263509ef2 04d17eed0a7cf46c4f5b 552486307e4b226aabb843aeb2d52ba7d002883028e68659ac 08d5e34136bf150226a64a065d8afd19e465f5ed64ebd153e8 17d6a28d96c9cc19fdc9 77547fc8b/103.low.stream" C:\MISC\~>ffmpeg -i "rtmp://live-889.ld5.edge.filmon.com/live/?id=0ad5aac39bb13fbe1f5ae3a72e5dfd4c0ad4df9982bfb8 716aca0e ed81b3bafb4b9fc891f4ca95e4efd167688e5b8e2eef0f1520 630d997a43e181e35f05a4279757406bd4cd91e3cb263509ef 204d17eed0a7cf46c4f5 b552486307e4b226aabb843aeb2d52ba7d002883028e68659a c08d5e34136bf150226a64a065d8afd19e465f5ed64ebd153e 817d6a28d96c9cc19fdc 977547fc8b/103.low.stream" -c:v h264 -c:a aac -vf scale=864:480 "c:\2016-11-13_21-24-52_BBC_4.flv" ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --ena ble-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --e nable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-lib soxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-li bxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 [flv @ 032a81e0] video stream discovered after head already parsed [flv @ 032a81e0] audio stream discovered after head already parsed Input #0, flv, from 'rtmp://live-889.ld5.edge.filmon.com/live/?id=0ad5aac39bb13fbe1f5ae3a72e5dfd4c0ad4df9982bfb8 716aca0e ed81b3bafb4b9fc891f4ca95e4efd167688e5b8e2eef0f1520 630d997a43e181e35f05a4279757406bd4cd91e3cb263509ef 204d17eed0a7cf46c4f5 b552486307e4b226aabb843aeb2d52ba7d002883028e68659a c08d5e34136bf150226a64a065d8afd19e465f5ed64ebd153e 817d6a28d96c9cc19fdc 977547fc8b/103.low.stream': Duration: N/A, start: 8762.687000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 568x320 [SAR 640:639 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tb c Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp [libx264 @ 057c0460] using SAR=80/81 [libx264 @ 057c0460] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 057c0460] profile High, level 3.0 [libx264 @ 057c0460] 264 - core 148 r2721 72d53ab - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.or g/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_thr eads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 r c=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, flv, to 'c:\2016-11-13_21-24-52_BBC_4.flv': Metadata: encoder : Lavf57.56.100 Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 864x480 [SAR 80:81 DAR 16:9], q=-1--1, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.64.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc57.64.100 aac Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help frame= 340 fps= 28 q=28.0 size= 837kB time=00:00:13.93 bitrate= 492.1kbits/s speed=1.13x Cheers, Johnny. Last edited by j_cool : 11-13-2016 at 04:25 PM. Reason: BBC's original high resolution: 854:480, original text not edited |
#9
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer? |
#10
|
|||
|
|||
Re: Can somebody help get filmon rtmp code to play with livestreamer?Laj,
I can get 90 seconds at a time like this: ffplay.exe -i "http://live-1130.la2.edge.filmon.com/live/694.high.stream/playlist.m3u8?id=035bca1a71b11fce016d28acd3dbea51c bc96ddfe5b9ed3f8fe3286df6a738d399a8f02efdb782d24fe b4a6292724eef95bc9d0d9dc44007f0fc3d10a2a509fe502eb 9567d102f1c13973ffa83a5769aca72e660b8a1ec525af7462 8f1f0bd4ad8d32ed6e1d6657cbd87edb952f7cc781efb5213f 8a88a4bea46dc9678b51e277998f860d86b1dcf6f0223ef56c 40d2dca6e89aa1903c92e" ID expires after 90 seconds. There is new ID every 90th second from: http://www.filmon.com/api-v2/channel/694?protocol=hls Members who know more than me welcome with tips how to make the stream continuous. http://live-1130.la2.edge.filmon.com...b5c2bba7d31107 ffplay version 3.2 Copyright (c) 2003-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dx va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschr oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --e nable-decklink --enable-zlib libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, hls,applehttp, from 'http://live-1130.la2.edge.filmon.com/live/694.low .stream/playlist.m3u8?id=035bca1a71b11fce016d28acd3dbea51c bc96ddfe5b9ed3f8fe3286 df6a738d399a8f02efdb782d2e319b82727c1a35efe07bf172 522790352a92c015c0df863d0c1d47 5ece24d0314431d750735b8c68449fd0727a13777cbea1d556 4291cb08908ac4a7c88ffb095acb58 e946527c29a2c47ff9ce6c9593201f361cee70963757744ac5 649798875859c13f26f50fee7b5c2b ba7d31107': Duration: N/A, start: 2345.587678, bitrate: N/A Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 568x320 [ SAR 640:639 DAR 16:9], 29.97 tbr, 90k tbn, 59.94 tbc Metadata: variant_bitrate : 0 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, flt p Metadata: variant_bitrate : 0 Stream #0:2: Data: timed_id3 (ID3 / 0x20334449) Metadata: variant_bitrate : 0 2373.54 A-V: -0.006 fd= 17 aq= 19KB vq= 26KB sq= 0B f=0/0 http://live-1130.la2.edge.filmon.com...6e89aa1903c92e ffplay version 3.2 Copyright (c) 2003-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dx va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschr oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --e nable-decklink --enable-zlib libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, hls,applehttp, from 'http://live-1130.la2.edge.filmon.com/live/694.hig h.stream/playlist.m3u8?id=035bca1a71b11fce016d28acd3dbea51c bc96ddfe5b9ed3f8fe328 6df6a738d399a8f02efdb782d24feb4a6292724eef95bc9d0d 9dc44007f0fc3d10a2a509fe502eb9 567d102f1c13973ffa83a5769aca72e660b8a1ec525af74628 f1f0bd4ad8d32ed6e1d6657cbd87ed b952f7cc781efb5213f8a88a4bea46dc9678b51e277998f860 d86b1dcf6f0223ef56c40d2dca6e89 aa1903c92e': Duration: N/A, start: 2480.799911, bitrate: N/A Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 720x4 80 [SAR 40:33 DAR 20:11], Closed Captions, 29.97 tbr, 90k tbn, 59.94 tbc Metadata: variant_bitrate : 0 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, flt p Metadata: variant_bitrate : 0 Stream #0:2: Data: timed_id3 (ID3 / 0x20334449) Metadata: variant_bitrate : 0 2509.37 A-V: -0.003 fd= 9 aq= 19KB vq= 94KB sq= 0B f=0/0 Last edited by j_cool : 11-14-2016 at 06:02 PM. |
Tags: filmon, livestreamer |
Thread Tools | |
Display Modes | |
|
|