Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
urgend help with rtmpe Streamhi all , im seriously getting nuts with this live stream (on a linux box)
rtmpe://alex-stream.rosebud-media.de/lblive/alexlivestream_2.mp4 player location: http://alex-berlin.de/swf/alexplayer002.swf i used the oldschool method getting hash 2bbcf070f267594db43c780fc216c18dbdf50b0b33299b4f04 40c71837163521 swf size 220920 and issued this command and a couple of variations but im not getting further Code:
./rtmpdump -r rtmpe://alex-stream.rosebud-media.de/lblive/ -y alexlivestream_2 -w 2bbcf070f267594db43c780fc216c18dbdf50b0b33299b4f0440c71837163521 -s http://alex-berlin.de/swf/alexplayer002.swf -x 220920 -a video -o test2.flv Code:
./rtmpdump --swfhash "2bbcf070f267594db43c780fc216c18dbdf50b0b33299b4f0440c71837163521" --swfsize 220920 -r "rtmpt://alex-stream.rosebud-media.de/lblive/alexlivestream_2.mp4" --live -o test.mp4 Code:
WARNING: Trying different position for server digest! INFO: Connected... ERROR: rtmp server sent error ERROR: rtmp server requested close thank you |
#2
|
|||
|
|||
Re: urgend help with rtmpe StreamCode:
http://alex-stream.rosebud-media.de:1935/live/alexlivetv.smil/playlist.m3u8 |
#3
|
|||
|
|||
Re: urgend help with rtmpe Streamor rtmpdump:
Code:
rtmpdump -r "rtmpe://217.115.145.185/live" -a "live" -W "http://www.alex-berlin.de/swf/alexplayer002.swf" -T "9yuXuRXn" --live -y "mp4:alexlivestream_2" -o "t.flv" Code:
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: Trying different position for server digest! INFO: Connected... Starting Live Stream INFO: Metadata: INFO: author INFO: copyright INFO: description INFO: keywords INFO: rating INFO: title INFO: presetname Custom INFO: creationdate Mon May 14 20:53:02 2012 INFO: videodevice Decklink Video Capture INFO: framerate 25.00 INFO: width 720.00 INFO: height 576.00 INFO: videocodecid avc1 INFO: videodatarate 1000.00 INFO: avclevel 30.00 INFO: avcprofile 66.00 INFO: videokeyframe_frequency5.00 INFO: audiodevice Decklink Audio Capture INFO: audiosamplerate 44100.00 INFO: audiochannels 2.00 INFO: audioinputvolume 75.00 INFO: audiocodecid .mp3 INFO: audiodatarate 128.00 276.304 kB / 2.46 sec |
#4
|
|||
|
|||
Re: urgend help with rtmpe StreamYou are missing two things. first is rtmp redirection. either use the redirected url (use -V | --verbose switch) or compile rtmpdump with my patches and it will be handled automatically. secondly it uses SecureToken. decompile the player swf to get SecureToken.
|
#5
|
|||
|
|||
Re: urgend help with rtmpe StreamQuote:
Thanks |
#6
|
|||
|
|||
Re: urgend help with rtmpe Streamthanks all, awesome help...the ffmpeg hint is the best way to go for my purposes
|
#7
|
|||
|
|||
Re: urgend help with rtmpe StreamQuote:
|
#8
|
|||
|
|||
Re: urgend help with rtmpe Stream@chap you mentioned the ffmpeg method with the m3u8 playlist, but im not getting further , would help me a lot
Code:
ffmpeg -i http://alex-stream.rosebud-media.de:1935/live/alexlivetv.smil/playlist.m3u8 -acodec copy -vcodec copy -f flv test.flv when i ipen the playlist.m3u8 ill gett but Code:
#EXTM3U #EXT-X-VERSION:2 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000 /live/_definst_/mp4:alexlivestream_2/playlist.m3u8?wowzasessionid=949410792 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=300000 /live/_definst_/mp4:alexlivestream_1/playlist.m3u8?wowzasessionid=949410792 |
#9
|
|||
|
|||
Re: urgend help with rtmpe StreamCode:
ffmpeg -i "http://alex-stream.rosebud-media.de:1935/live/alexlivetv.smil/playlist.m3u8" -vcodec copy -acodec copy t.ts Code:
C:\Opera 12.00\profile\temporary_downloads\ffmpeg-git-6833fe4-win32-static\ffmpe g-git-6833fe4-win32-static\bin>ffmpeg -i "http://alex-stream.rosebud-media.de:19 35/live/alexlivetv.smil/playlist.m3u8" -vcodec copy -acodec copy t.ts ffmpeg version N-40301-gc1fe2db Copyright (c) 2000-2012 the FFmpeg developers built on May 3 2012 11:40:38 with gcc 4.6.3 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e nable-zlib libavutil 51. 49.100 / 51. 49.100 libavcodec 54. 17.101 / 54. 17.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 72.104 / 2. 72.104 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [hls,applehttp @ 0221cf20] max_analyze_duration 5000000 reached at 5015467 [hls,applehttp @ 0221cf20] Could not find codec parameters (Unknown: none ([21][ 0][0][0] / 0x0015)) Last message repeated 1 times [hls,applehttp @ 0221cf20] Estimating duration from bitrate, this may be inaccur ate Input #0, hls,applehttp, from 'http://alex-stream.rosebud-media.de:1935/live/ale xlivetv.smil/playlist.m3u8': Duration: 00:00:00.03, start: 720.013067, bitrate: 62 kb/s Stream #0:0: Unknown: none ([21][0][0][0] / 0x0015) Metadata: variant_bitrate : 1000000 Stream #0:1: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 720x5 76 [SAR 1:1 DAR 5:4], 25 tbr, 90k tbn, 50 tbc Metadata: variant_bitrate : 1000000 Stream #0:2: Audio: mp3 ([4][0][0][0] / 0x0004), 44100 Hz, stereo, s16, 128 kb/s Metadata: variant_bitrate : 1000000 Stream #0:3: Unknown: none ([21][0][0][0] / 0x0015) Metadata: variant_bitrate : 300000 Stream #0:4: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x3 20 [SAR 1:1 DAR 3:2], 25 tbr, 90k tbn, 50 tbc Metadata: variant_bitrate : 300000 Stream #0:5: Audio: mp3 ([4][0][0][0] / 0x0004), 44100 Hz, stereo, s16, 128 kb/s Metadata: variant_bitrate : 300000 [mpegts @ 0319eb00] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 't.ts': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 1:1 DAR 5:4], q=2-31, 90k tbn, 25 tbc Metadata: variant_bitrate : 1000000 Stream #0:1: Audio: mp3 ([4][0][0][0] / 0x0004), 44100 Hz, stereo, 128 kb/s Metadata: variant_bitrate : 1000000 Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:2 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 157 fps=0.0 q=-1.0 size= 944kB time=00:00:06.26 bitrate=1234.5kbits/ frame= 186 fps=180 q=-1.0 size= 1117kB time=00:00:07.42 bitrate=1231.6kbits/ frame= 219 fps=142 q=-1.0 size= 1297kB time=00:00:08.74 bitrate=1215.1kbits/ frame= 251 fps=122 q=-1.0 size= 1442kB time=00:00:10.02 bitrate=1177.9kbits/ frame= 282 fps=110 q=-1.0 size= 1618kB time=00:00:11.26 bitrate=1176.2kbits/ frame= 304 fps= 97 q=-1.0 size= 1791kB time=00:00:12.14 bitrate=1207.7kbits/ No longer receiving variant 1 frame= 317 fps= 87 q=-1.0 size= 1919kB time=00:00:12.66 bitrate=1241.1kbits/ frame= 345 fps= 83 q=-1.0 size= 2098kB time=00:00:13.78 bitrate=1246.9kbits/ frame= 376 fps= 81 q=-1.0 size= 2280kB time=00:00:15.02 bitrate=1242.7kbits/ frame= 421 fps= 82 q=-1.0 size= 2518kB time=00:00:16.82 bitrate=1226.0kbits/ s |
#10
|
|||
|
|||
Re: urgend help with rtmpe Streamthanks chap, seems my ffmpeg is outdated and doesnt support hls demux
Code:
ffmpeg -i "http://alex-stream.rosebud-media.de:1935/live/alexlivetv.smil/playlist.m3u8" -vcodec copy -acodec copy t.ts FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 http://alex-stream.rosebud-media.de:1935/live/alexlivetv.smil/playlist.m3u8: Invalid data found when processing input |
Tags: rtmpe stream grabbing |
Thread Tools | |
Display Modes | |
|
|