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
  #51  
Old 02-04-2014, 05:36 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


Guys, we're so close! Just need to know how I can find out if and how much bytes I'd have to strip! :-)
Reply With Quote
  #52  
Old 02-06-2014, 10:33 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: be-at.tv changed their internal urls - how to download?


@blimey
i didn't noticed your corrected debug log you posted in your previous post. you should have mentioned it in new post. anyway i have analyzed your new log and it's obvious why total time of joined file is increased. it's due to wrong interleaving of audio video packets at the point of separation.

End of first flv:
Code:
 VIDEO   11976           11936           5228    1966536         
 AUDIO   11981           11958           360     1971779         
 VIDEO   12016           11976           3091    1972154         
 VIDEO   12056           12016           5407    1975260         
 VIDEO   12096           12056           3229    1980682         
 VIDEO   12136           12096           6156    1983926         
 VIDEO   12176           12136           3393    1990097         
 VIDEO   12216           12176           6204    1993505         
 VIDEO   12256           12216           3546    1999724         
 VIDEO   12296           12256           4681    2003285         
 VIDEO   12336           12296           6716    2007981         
 VIDEO   12376           12336           3715    2014712 
Start of second flv:
Code:
 AUDIO   12004           -1              4       13              
 AUDIO   12004           12004           389     32              
 AUDIO   12027           12004           395     436             
 AUDIO   12051           12027           346     846             
 AUDIO   12074           12051           395     1207            
 AUDIO   12097           12074           376     1617            
 AUDIO   12120           12097           396     2008            
 AUDIO   12144           12120           383     2419            
 AUDIO   12167           12144           376     2817            
 AUDIO   12190           12167           372     3208            
 AUDIO   12213           12190           356     3595            
 AUDIO   12236           12213           388     3966            
 AUDIO   12260           12236           374     4369            
 AUDIO   12283           12260           389     4758            
 AUDIO   12306           12283           354     5162            
 AUDIO   12329           12306           380     5531            
 AUDIO   12353           12329           353     5926            
 AUDIO   12376           12353           357     6294            
 AUDIO   12399           12376           383     6666            
 VIDEO   12416           -1              44      7064            
 VIDEO   12416           12416           64234   7123            
 AUDIO   12422           12399           383     71372
due to non monotonically increasing timestamps ffmpeg's concat filter rebases second file's timestamp starting from 12376. this results in increased total length of file.

Solution:
i have modified my BeatConvert script to generate single flv file instead of one file per fragment so we don't have to use concat filter at all avoiding this whole mess. use the updated script with following batch file and report. it should create flv file with proper sync and length.

BeatConvert.bat:
Code:
if exist "Final.flv" del "Final.flv"
for %%a in (*.beat) do php BeatConvert.php %%a
php FlvFixer.php --in Final.flv --out Final_fixed.flv --nometa
FFMpeg.exe -y -i Final_fixed.flv -c copy Final.mkv
Reply With Quote
  #53  
Old 02-06-2014, 10:42 AM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


thanks KSV

i would be glad if you option your PM again switch on
Reply With Quote
  #54  
Old 02-06-2014, 11:34 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


That's great KSV, thanks! That point in the log did stand out to me, but I wasn't sure what it meant.

Anyway, thanks for the updated script. This project is finally finished, for now at least.
Reply With Quote
  #55  
Old 02-06-2014, 11:57 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


I tested the updated script on two AVC sessions, and all is correct.

Final.flv
Final_fixed.flv
Final.mkv

each have the correct duration and are in sync. I will test it on a vp6 session later, but it looks like all is good with the updated script!
Reply With Quote
  #56  
Old 02-06-2014, 12:58 PM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


I will test it this weekend, but I think this will be the final solution.

KSV: I can't thank you enough for coding this. I have been waiting so long for a solution for my favourite video site.

blimey: Also thanks for your expertise and energy in this.

You both are my heroes! I will give you an info when I tested this. :-)
Reply With Quote
  #57  
Old 02-06-2014, 05:03 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


KSV,blimey
respect
Reply With Quote
  #58  
Old 02-10-2014, 12:09 PM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


I tested a few sessions, and all are in sync! Again: Thank you so much!! :-)
Reply With Quote
  #59  
Old 02-12-2014, 12:08 AM
tribalmixes tribalmixes is offline
Junior Member
 
Join Date: Feb 2014
Posts: 3
tribalmixes is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


i must also say: thank you very much, all of you, guys, for this. it's a very big help for me and my friends, we like to record and share be-at.tv, and had to do it while streaming it lately.. i really appreciate this, cause it's already saving me tons of time.. =)

i am really after the audio though, video - yes, some of the sessions, maybe every 5th, no matter, and audio was kinda left out of your discussion...

i do want to ask something though... i feel kinda stoopid and cannot figure it out, where do we find all 3 of the IDs - the Recording ID (all djs/mixes as one club night), Session ID (one dj/mix), and Stream ID (actual 128/192/1000/2500/etc).. there's also 4th ID, its irrelevant now, i think..

as was discussed, there are currently 2 ways they serve their streams (and i am using 2 most recent sessions):

1. as in here ..be-at.tv/brands/klokgebouw/awakenings-eindhoven-2014-area-y/makcim-b2b-el-p this one yields pieces like this cdn.be-at.tv/003789/004433-0128/005808-1000/0003.beat that satisfy the original example where it allows one to download the audio stream with dtmpdump, and i do that, substitute my own session id and stream id, and i get 128kbps version (in this case) of the audio stream.

2. as in here ..be-at.tv/brands/klokgebouw/awakenings-eindhoven-2014-area-x/ - this one produces different pieces, that are accessed like this ..cdn.be-at.tv/002288/192/1250/0097.beat - and in this case, whatever i do, the most i can find is the session ID - something like 3801 if i remember right, but i cannot find stream ID. i am trying all possible ways. i employed like 6 different url sniffers, nothing.. i did look into .program file they served, and it had the Session ID in there, but not the stream ID. and so i am rendered helpless facing this task: finding the 2 ids to download the stream smoothly.

i did though download all the video and audio in some other case, where i didn't want video, btw, ..cdn.be-at.tv/002288/192/0097.beat - produces just the audio, converted from flv to mp3 and was happy, still saved tons of time.

i just wanna know, how did you guys find those streams and their IDs up above in the posts?

thanks, will be eagerly checking back here... =)

Last edited by tribalmixes : 02-12-2014 at 04:42 PM.
Reply With Quote
  #60  
Old 02-12-2014, 11:30 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: be-at.tv changed their internal urls - how to download?


@tribalmixes: Sorry, but sharing their content is a violation of copyright. This community is only for our personal purposes.

Be-At.tv is streaming so much great content, and they are deserving every click!!
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:53 PM.


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