Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
A site can rtmpdump but just only few secondsHi all,
I have found a stream using rtmpdump to watch... rtmpdump -r "rtmp://solive.wni.co.jp/live" -s "http://weathernews.jp/framework/current/mws_streaming_video.swf" -p "http://weathernews.jp/solive24" -a "live" -y "livestream1" -v | vlc - original website: http://weathernews.jp/solive24/ but it just run for 2~3 seconds and then the rtmpdump will exit ... (-v options shows too long but just some extract to here).... Code:
DEBUG: HandleCtrl, Stream BufferEmpty 1 DEBUG: RTMP_ClientPacket, received: invoke 180261 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: RTMP_ClientPacket, received: invoke 40 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwdone> DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 DEBUG: HandleCtrl, Stream BufferReady 1 162.180 kB / 1.96 sec DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 .... .... DEBUG: HandleCtrl, Stream BufferReady 1 [flv @ 0x89eca20] Estimating duration from bitrate, this may be inaccurate 181.228 kB / 2.48 sec DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 ..... ..... [0x8a5c2ec] xcb_xv generic error: no available XVideo adaptor DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 DEBUG: HandleCtrl, Stream BufferReady 1 225.479 kB / 3.03 sec .... .... .... DEBUG: HandleCtrl, received ctrl. type: 32, len: 6 DEBUG: HandleCtrl, Stream BufferReady 1 DEBUG: HandleCtrl, received ctrl. type: 31, len: 6 DEBUG: HandleCtrl, Stream BufferEmpty 1 DEBUG: Invoking deleteStream ERROR: RTMP_ReadPacket, failed to read RTMP packet header 283.093 kB / 4.86 sec DEBUG: RTMP_Read returned: 0 Download complete DEBUG: Closing connection. Thanks a lot ! Last edited by KSV : 02-05-2012 at 04:24 AM. |
#2
|
|||
|
|||
Re: A site can rtmpdump but just only few secondsreplace -s with -W in your command line.
|
#3
|
|||
|
|||
Re: A site can rtmpdump but just only few secondsSOLVED!
Thanks.... but I have tried to put this into the ffserver and it can't work... Code:
Port 8090 RTSPPort 554 BindAddress 0.0.0.0 MaxHTTPConnections 1000 MaxClients 200 MaxBandwidth 10000 CustomLog - <Stream test2.flv> Format rtp File "rtmp://solive.wni.co.jp:1935/live app=live swfUrl=http://weathernews.jp/framework/current/mws_streaming_video.swf?1 pageUrl=http://weathernews.jp/solive24 playpath=livestream1 live=1" MulticastAddress 224.124.0.1 MulticastPort 5000 MulticastTTL 16 NoLoop </Stream> Code:
ffserver version git-2012-01-17-7e62315 Copyright (c) 2000-2012 the FFmpeg developers built on Jan 17 2012 17:44:01 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 34.100 / 51. 34.100 libavcodec 53. 56.105 / 53. 56.105 libavformat 53. 30.100 / 53. 30.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 59.100 / 2. 59.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 51. 2.100 / 51. 2.100 Tue Feb 7 00:17:46 2012 Opening file 'rtmp://solive.wni.co.jp:1935/live app=live swfUrl=http://weathernews.jp/framework/current/mws_streaming_video.swf?1 pageUrl=http://weathernews.jp/solive24 playpath=livestream1 live=1' Tue Feb 7 00:18:37 2012 Could not open 'rtmp://solive.wni.co.jp:1935/live app=live swfUrl=http://weathernews.jp/framework/current/mws_streaming_video.swf?1 pageUrl=http://weathernews.jp/solive24 playpath=livestream1 live=1': -5 Tue Feb 7 00:18:37 2012 FFserver started. |
#4
|
|||
|
|||
Re: A site can rtmpdump but just only few secondsyour ffserver doesn't seems to be compiled with librtmp.
|
#5
|
|||
|
|||
Re: A site can rtmpdump but just only few secondsYes....I just found that issue...
but ... how to install? I have no idea... (just know how to install libvpx in this link http://ubuntuforums.org/showthread.php?t=786095 currently using ubuntu lucid 64bit |
#6
|
|||
|
|||
Re: A site can rtmpdump but just only few secondsyou are using linux then why don't you compile it yourself with whatever libs you want?
|
Tags: rtmpdump live stream |
Thread Tools | |
Display Modes | |
|
|