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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 04-15-2012, 12:32 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Ok this is what I did

PAGE
be-at.tv/brands/wmc/surfcomber/waveform-with-victor-calderone-guests/ida-engberg

GET AUDIO
Code:
rtmpdump \
-r rtmp://media.cdn.be-at.tv \
-a cfx/st \
-W http://www.be-at.tv/v2/2/7/HostMovie.swf \
-y Session001216/Audio001284/128 \
-o Audio001284.flv
GET VIDEO
DownThemAll, Batch Download
Code:
video.cdn.be-at.tv/Session001216/Video002677/1000.[000:100].flv
MERGE
Merge videos with Avidemux, then combine with audio
Code:
ffmpeg -i 1000.000-100.flv -i Audio001284.flv -c copy video-audio.flv

Last edited by svnpenn : 04-15-2012 at 03:29 PM.
Reply With Quote
  #12  
Old 04-22-2012, 10:31 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Thanks a lot guys, am going to try this!
Reply With Quote
  #13  
Old 06-05-2012, 01:54 PM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


One other question: How can I append multiple files in AviDemux? Append 100 files one after one is very difficult. ;-)
Reply With Quote
  #14  
Old 06-06-2012, 12:13 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Quote:
Originally Posted by sebastian View Post
One other question: How can I append multiple files in AviDemux? Append 100 files one after one is very difficult. ;-)
Just highlight all of them and drag to the program; thats what I did.
Reply With Quote
  #15  
Old 06-06-2012, 11:12 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


That works, thanks! And I can be sure, that AviDemux will add it in the right order (alphabetically)?
Reply With Quote
  #16  
Old 06-06-2012, 01:58 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Quote:
Originally Posted by sebastian View Post
That works, thanks! And I can be sure, that AviDemux will add it in the right order (alphabetically)?
Should do
Reply With Quote
  #17  
Old 06-07-2012, 11:02 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Okay I see the problem of be-at.tv now:

The videostream is missing frames every now and then. So if I use a constant frame rate, the video will always be shorter than the audiostream. I figured it out when I saw, that sometimes my downloaded video is getting slower and faster.

When watching the video via the website, the video get's resynced to the audio every few seconds.

So, right now it's turning out into the pro-question : How can I merge the video-chunks AND have it synced to the audio?
Reply With Quote
  #18  
Old 06-08-2012, 06:42 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


Alternatively, is there a way to stretch the video via its framerate, so that it fits the audio length?
Reply With Quote
  #19  
Old 06-08-2012, 02:35 PM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: For the pros: Different length in audio- and file of the same stream


My 2nd question is answered with the following string, which syncs the video to the audiostream:

Code:
ffmpeg -i video.flv -vsync drop -i audio.flv -c copy video-audio.flv -map 1:1
If anyone does have a better solution, please help me. :-)


EDIT: That didn't help. It only changed the length of the videoindex, not the framerate. :-(
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 08:19 AM.


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