Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-04-2012, 10:05 PM
benny benny is offline
Junior Member
 
Join Date: Feb 2012
Posts: 26
benny is on a distinguished road
Default

A site can rtmpdump but just only few seconds


Hi 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.
any ideas?
Thanks a lot !

Last edited by KSV : 02-05-2012 at 04:24 AM.
Reply With Quote
  #2  
Old 02-04-2012, 11:23 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: A site can rtmpdump but just only few seconds


replace -s with -W in your command line.
Reply With Quote
  #3  
Old 02-06-2012, 10:19 AM
benny benny is offline
Junior Member
 
Join Date: Feb 2012
Posts: 26
benny is on a distinguished road
Default

Re: A site can rtmpdump but just only few seconds


SOLVED!

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>
the server starts and come with this error: (starts with "sudo ffserver")
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.
any ideas?
Reply With Quote
  #4  
Old 02-06-2012, 10:36 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: A site can rtmpdump but just only few seconds


your ffserver doesn't seems to be compiled with librtmp.
Reply With Quote
  #5  
Old 02-06-2012, 11:22 AM
benny benny is offline
Junior Member
 
Join Date: Feb 2012
Posts: 26
benny is on a distinguished road
Default

Re: A site can rtmpdump but just only few seconds


Yes....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
Reply With Quote
  #6  
Old 02-06-2012, 12:02 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: A site can rtmpdump but just only few seconds


you are using linux then why don't you compile it yourself with whatever libs you want?
Reply With Quote
  #7  
Old 02-06-2012, 12:14 PM
benny benny is offline
Junior Member
 
Join Date: Feb 2012
Posts: 26
benny is on a distinguished road
Default

Re: A site can rtmpdump but just only few seconds


thanks for quick reply...

BTW... I am new to linux world so just know how to search the website and follow the instructions to install the packages...

I just follow the instructions and then sucessfully install the libvpx in the ffmpeg...

but I can't find any information or even files on librtmp....

Sorry about that....
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:39 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons