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 07-22-2013, 04:06 PM
mehphishtopheles mehphishtopheles is offline
Junior Member
 
Join Date: Jul 2013
Posts: 9
mehphishtopheles is on a distinguished road
Unhappy

"Ghost time" issue with live webcast generated rtmp dumps


I have been trying to rip live streaming webcast concert videos occasionally offered by a band I like. rtmpdump will run, but there are playback issues with the output files. First, here is what the server is sending me:

RTMP Proxy Server
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
Processing connect
app : live/
flashVer : WIN 10,3,183,90
swfUrl : http://static.nugs.net/swf/player3.swf
tcUrl : rtmpe://cp127157.live.edgefcs.net/live/
pageUrl : http://www.livephish.com
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
live : yes
Playpath : nugs_ph3130719@s87528?auth=[my auth code, removed to protect identity]
Saving as : nugs_ph3130719@s87528
INFO: Metadata:
INFO: startDate 19-07-2013
INFO: startTime 15:48:21:00
INFO: title
INFO: author
INFO: description
INFO: keywords
INFO: rating
INFO: copyright
INFO: sourcetype KulaByte Encoder 3.2 rev6949
INFO: presetname ph130719.kpf
INFO: creationdate
INFO: videodevice
INFO: videocodecid avc1
INFO: framerate 29.97
INFO: width 848.00
INFO: height 480.00
INFO: videodatarate 1200.00
INFO: avcprofile 77.00
INFO: avclevel 31.00
INFO: videokeyframe_frequency0.00
INFO: audiodevice
INFO: audiocodecid aac
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: audiodatarate 128.00
INFO: audioinputvolume 0.00
WARNING: ignoring too small audio packet: size: 0


Here's what seems to be the issue: The webcast might start at let's say 8pm. The link to connect doesn't go live for a few mins and I am first able to connect at 8:05pm. The output files seem to think there is an extra 5 mins of video (hence my subject line of "ghost video") because the server is giving a static start time that is different from the actual time the video rip begins.

It causes all sorts of weird anomalies with various players/editors. Everything from not being playable, to being way out of sync, frozen image but working audio, etc.

I have tried using tools to fix this. FLVMDI, Replay Media Catcher's Fix FLV utility, and GetFLV's fix flv feature. I have yet to find a solution.

Can anyone help? Thank you in advance!

PS: I can upload an example .flv file upon request if that would be helpful.

PSS: I am using rtmpdumphelper in order to generate the command parameters.
Reply With Quote
  #2  
Old 07-22-2013, 04:18 PM
placebo placebo is offline
Moderator - exTerminator
 
Join Date: Aug 2010
Posts: 477
placebo is on a distinguished road
Default

Re: "Ghost time" issue with live webcast generated rtmp dumps


Maybe such thread may help you. Also you may upload that file.
Reply With Quote
  #3  
Old 07-22-2013, 05:41 PM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: "Ghost time" issue with live webcast generated rtmp dumps


oftens just stripping container created during livestream, and then laying down video-audio streams to fresh made container fix these timestamp type things issue.

at least i say it have works for me somes of the times, may be you could trys doing it for your case to say the outcome?

by examples, use ffmpeg. this example is ms-dos command line, but yous could do linux command line if that is how you run ffmpeg.

Code:
ffmpeg -i "input.flv" -vcodec copy -acodec copy "output.flv"
where input.flv is you mess up livestream file, and output.flv is the re-fixed file.
Reply With Quote
  #4  
Old 07-23-2013, 04:01 AM
mehphishtopheles mehphishtopheles is offline
Junior Member
 
Join Date: Jul 2013
Posts: 9
mehphishtopheles is on a distinguished road
Default

Re: "Ghost time" issue with live webcast generated rtmp dumps


Quote:
Originally Posted by placebo View Post
Maybe such thread may help you. Also you may upload that file.
placeba, this thread was indeed helpful, mostly for the link to yaflvfix! what a life-saver!

I do have a few files it couldn't fix, and for those i am looking into using KSV's php script. If I am unable to make any progress I will go ahead and upload a sample file and seek further direction.

Thanks!! You've helped to put smiles on many, many faces.
Reply With Quote
  #5  
Old 07-23-2013, 04:03 AM
mehphishtopheles mehphishtopheles is offline
Junior Member
 
Join Date: Jul 2013
Posts: 9
mehphishtopheles is on a distinguished road
Default

Re: "Ghost time" issue with live webcast generated rtmp dumps


Quote:
Originally Posted by blimey View Post
oftens just stripping container created during livestream, and then laying down video-audio streams to fresh made container fix these timestamp type things issue.

at least i say it have works for me somes of the times, may be you could trys doing it for your case to say the outcome?

by examples, use ffmpeg. this example is ms-dos command line, but yous could do linux command line if that is how you run ffmpeg.

Code:
ffmpeg -i "input.flv" -vcodec copy -acodec copy "output.flv"
where input.flv is you mess up livestream file, and output.flv is the re-fixed file.
thank you as well, blimey. what I did was:

1. use yaflvfix
2. used your command above to demux/remux
3. used ffmpeg again to trim first second of file.

following these 3 steps fixed the vast majority of my problems.
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 12:51 AM.


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