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 01-09-2013, 08:24 PM
unknownsoldierx unknownsoldierx is offline
Junior Member
 
Join Date: Jan 2013
Posts: 6
unknownsoldierx is on a distinguished road
Default

Live stream stuttering and disconnects


Is there a way to deal with unreliable live streams? I have a couple feeds that sometimes start to freeze every few seconds. This is when I play them in my browser and when I have it sent via rtmpdump to VLC.

Also, these streams are not watchable in VLC. Besides the freezing, after a short time watching, VLC stops and rtmpdump says something like "ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 4696".

I've tried adding "--live-caching" to the command, but it doesn't help any.

Code:
D:\Programs\rtmpdump\rtmpdump.exe -r rtmp://d.cdn.msnbclive.eu/edge -W http://msnbclive.eu/player.swf -y msnbc_live -v | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --live-caching 60000 -
Reply With Quote
  #2  
Old 01-09-2013, 08:54 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Live stream stuttering and disconnects


Quote:
ffplay "rtmp://d.cdn.msnbclive.eu/edge/msnbc_live swfUrl=http://msnbclive.eu/player.swf live=1"
​​​​​
Reply With Quote
  #3  
Old 01-09-2013, 09:56 PM
unknownsoldierx unknownsoldierx is offline
Junior Member
 
Join Date: Jan 2013
Posts: 6
unknownsoldierx is on a distinguished road
Default

Re: Live stream stuttering and disconnects


Video loaded and played for a few seconds, then froze and the audio went crazy.

Code:
ffplay version N-48675-g2672b2c Copyright (c) 2003-2013 the FFmpeg developers
  built on Jan  9 2013 23:28:36 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-l
ibbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enabl
e-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
ble-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwol
ame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --ena
ble-libx264 --enable-libxavs --enable-libxvid --enable-zlib --enable-filter=frei0r
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.107 / 54. 59.107
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Metadata:
  presetname            Custom
  creationdate          Tue Jan 08 04:52:54 2013
  videodevice           713x BDA Analog Capture
  framerate             25.00
  width                 768.00
  height                576.00
  videocodecid          avc1
  videodatarate         550.00
  avclevel              31.00
  avcprofile            66.00
  videokeyframe_frequency5.00
  audiodevice           Line In (VIA High Definition Audio)
  audiosamplerate       44100.00
  audiochannels         2.00
  audioinputvolume      79.00
  audiocodecid          .mp3
  audiodatarate         112.00
RTMP_ReadPacket, failed to read RTMP packet body. len: 4681
[flv @ 000000000203d0e0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://d.cdn.msnbclive.eu/edge/msnbc_live swfUrl=http://msnbclive.eu/
player.swf live=1':
  Metadata:
    author          :
    copyright       :
    description     :
    keywords        :
    rating          :
    title           :
    presetname      : Custom
    creationdate    : Tue Jan 08 04:52:54 2013
                    :
    videodevice     : 713x BDA Analog Capture
    avclevel        : 31
    avcprofile      : 66
    videokeyframe_frequency: 5
    audiodevice     : Line In (VIA High Definition Audio)
    audiochannels   : 2
    audioinputvolume: 79
  Duration: N/A, start: 0.000000, bitrate: 675 kb/s
    Stream #0:0: Video: h264 (Baseline), yuv420p, 768x576 [SAR 1:1 DAR 4:3], 563 kb/s, 25
tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 112 kb/s
Frame changed from size:0x0 to size:768x576 278KB sq=    0B f=0/0
WriteN, RTMP send error 10054 (46 bytes)q=    0KB sq=    0B f=115/80
Reply With Quote
  #4  
Old 01-10-2013, 05:47 PM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: Live stream stuttering and disconnects


Works fine.

Code:
rtmpdump -v -r "rtmp://d.cdn.msnbclive.eu/edge/msnbc_live" -W "http://msnbclive.eu/player.swf" | vlc -
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   author
INFO:   copyright
INFO:   description
INFO:   keywords
INFO:   rating
INFO:   title
INFO:   presetname              Custom
INFO:   creationdate            Tue Jan 08 04:52:54 2013
INFO:   videodevice             713x BDA Analog Capture
INFO:   framerate               25.00
INFO:   width                   768.00
INFO:   height                  576.00
INFO:   videocodecid            avc1
INFO:   videodatarate           550.00
INFO:   avclevel                31.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 5.00
INFO:   audiodevice             Line In (VIA High Definition Audio)
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO:   audioinputvolume        79.00
INFO:   audiocodecid            .mp3
INFO:   audiodatarate           112.00
1555.207 kB / 11.18 sec
ERROR: Download: Failed writing, exiting!
Reply With Quote
  #5  
Old 01-10-2013, 07:46 PM
unknownsoldierx unknownsoldierx is offline
Junior Member
 
Join Date: Jan 2013
Posts: 6
unknownsoldierx is on a distinguished road
Default

Re: Live stream stuttering and disconnects


Your connection to the server is more stable. I'm not sure what that has to do with my problem. Also, I'm trying to play it through VLC.
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 11:18 PM.


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