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
  #21  
Old 12-18-2012, 10:10 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: FLV fixer script


Quote:
Originally Posted by svnpenn2 View Post
I could be wrong but it appears you can fix this by simply remuxing with FFmpeg
FFmpeg fixes the video, so it works in every video player, but it doesn't fix the timestamps. It only changes the timestamp of the keyframes, so they match the other frames.

With the sample video I posted above, I need to skip to 7 minutes before it starts to play the video. The first 7 minutes of the video is basically a still image of the first frame.

First image is before fixing, second image is after fixing.


Reply With Quote
  #22  
Old 12-19-2012, 08:50 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: FLV fixer script


@Elgero

i have made some specific fixes to correct files with such odd timestamps. try it out and post your feedback.

http://pastebin.com/2CeNeArd
Reply With Quote
  #23  
Old 12-19-2012, 11:31 AM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Thumbs up

Re: FLV fixer script


KSV, thank you very much. The timestamps are fixed correctly now.
Reply With Quote
  #24  
Old 12-19-2012, 09:56 PM
TubeDigger TubeDigger is offline
Senior Member
 
Join Date: Jun 2011
Posts: 134
TubeDigger is on a distinguished road
Default

Re: FLV fixer script


Yet Another FLV Fixer: C file and compiled binary. Please test and provide your feedback.

Last edited by TubeDigger : 12-20-2012 at 06:15 AM. Reason: Separated files
Reply With Quote
  #25  
Old 12-19-2012, 10:19 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: FLV fixer script


TubeDigger, that one works fine too.



The only thing I've noticed is that VLC, MPC and WMP play the fixed videos without problems, but for example BSPlayer keeps playing the first 2/10th of a second over and over again (with both FLV Fixers). It must be BSPlayer, but I wonder what the problem might be. BSPlayer has no problems with playing FLV videos that don't have these odd timestamps.
Reply With Quote
  #26  
Old 12-19-2012, 10:31 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

Re: FLV fixer script


Quote:
Originally Posted by Elgero
BSPlayer keeps playing the first 2/10th of a second over and over again
As workaround, you can try clipping first second

Code:
ffmpeg -ss 1 a.flv -c copy b.flv
Reply With Quote
  #27  
Old 12-19-2012, 10:45 PM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Thumbs up

Re: FLV fixer script


Quote:
Originally Posted by svnpenn2 View Post
As workaround, you can try clipping first second

Code:
ffmpeg -ss 1 a.flv -c copy b.flv
Thank you very much. BSPlayer can now play them as well.
Reply With Quote
  #28  
Old 12-20-2012, 08:48 AM
reumb reumb is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
reumb is on a distinguished road
Default

Re: FLV fixer script


Quote:
Originally Posted by TubeDigger View Post
Yet Another FLV Fixer: C file and compiled binary. Please test and provide your feedback.

this is a best windows noob tool seen here (in my opinion)

just draw/drop your flv f4v to yaflvfix.exe

works allmost on every file ------- great1!
Reply With Quote
  #29  
Old 12-20-2012, 09:19 AM
TubeDigger TubeDigger is offline
Senior Member
 
Join Date: Jun 2011
Posts: 134
TubeDigger is on a distinguished road
Default

Re: FLV fixer script


Quote:
Originally Posted by reumb View Post
works allmost on every file
For further improvements please upload that problematic videos and post links to them here or via PM.
Reply With Quote
  #30  
Old 12-21-2012, 08:28 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: FLV fixer script


i have pushed the update to repo with a bit of more fine tuning.

@TubeDigger

Thanx for your contributions.
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 05:58 PM.


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