VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. I have downloaded segments from the NBC Olympics, each are 5 seconds and the full video is about 45 minutes and 700+ segments. I need a way to join the segments into a single video. Problem #1, seems the audio files are incompatible between files so a simple join is not possible. Video appears to be H264 and audio AAC.

    Here are 10 segments (of the 700+). If you can join these, you answered my question.
    http://d01.megashares.com/index.php?d01=wDHARBX

    I don't want to reencode the video, but reencoding the audio is an acceptable solution.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I tried a "copy /b" join from the command line and it worked pretty good. You can also use vobmerge, select all files instead of vob and open all mp4s, merge and save as video.mp4. You might have to "remux" the new joined mp4 with for mp4boxgui to fix the mp4 headers.
    Image Attached Files
    Quote Quote  
  3. Thanks. I actually got a FFMPEG command that works too.
    ffmpeg -i concat:"760.mp4|761.mp4" -c copy -absf aac_adtstoasc "joined.mp4"
    I needed the line "-absf aac_adtstoasc", not exactly sure but is has to do with the audio. All FFMPEG GUIs didn't work, tried several of them.

    I also have two video segments - both from the same source - one plays fine the other has errors - won't open in any player. Its H264/mp2t + AAC.

    http://d01.megashares.com/index.php?d01=5LokacK

    There are two (very short) clips at the link - anyone can diagnose the corrupted file or repair it?

    Plays fine in the embeded player, but when I download it gets corrupted. Hundreds of files like this and I need to find a way to correct them. BTW- The joining segments is going great - I have 36 hour long videos each from 600+ segments joined together. Only 5 or so more videos left to do.
    Quote Quote  
  4. me watch some games.
    us and china doing very well.
    However Canadian forgetfull stupid mechanic showed up without tools on far off-shore job, and made other persons to run marathon to give him RONA $1.00 screw-driver. This is how canadian cough-up the jobs.
    While some Canadaians think they are champs in front of Bell Digital TV, just in home.
    O Canada!
    Canada only did good in 1984.
    Quote Quote  
  5. me mistake.
    wrong place.
    pls. delete my post.
    Quote Quote  
  6. Member
    Join Date
    Jan 2007
    Location
    United States
    Search PM
    chargedbird, those videos are from nbcolympics.com? What tool did you use to download all the segments?
    Quote Quote  
  7. Originally Posted by sldvd View Post
    chargedbird, those videos are from nbcolympics.com? What tool did you use to download all the segments?
    I. Method #1
    Ok I got the segments simply by playing the video with Firefox with the Add-On FlashVideoDownloader. Once you start playing the video it will show each 5 second segment that is part of the full video stream. Then I used the Add-On DownloadThemAll - it can create a range of segments to download.

    Example:
    http Full link to video [300:1200].mp4 - will download files in the range 300 - 1200.

    The problem with this method is about half of the videos use DRM- and the downloaded videos will be corrupted. So the FFMPEG method is the only way that works for all videos at nbcolympics.

    Then you need to join the segments with FFMPEG using the "concat" command line.

    II. Method #2
    First you need the latest version of FFMPEG. Old versions won't work.
    https://www.videohelp.com/tools/ffmpeg

    You need Firefox. You need a television provider so that you can logon to NBCOlympics.com to watch the videos.

    Click a link for the video you want to watch.
    http://www.nbcolympics.com/video/bro...lEventsReplays

    While the video is loading press CTRL+SHIFT+K in Firefox. In the "Filter" search box type " m3u8 ".
    The m3u8 is a playlist of segments for the video you are playing.

    Choose the quality of the video you want 360p 480p 720p 1080p
    Copy the NEWEST m3u8 link that shows on the top of the window.

    In Windows Explorer, create a New Folder with all these files- m3u8, ffmpeg
    In the same folder, create a "New Text Document" and you will need to save it as a ".bat" file.

    Put this command in the ".bat" file
    ffmpeg.exe -i "index.m3u8" -c copy copyvideo.mp4

    Save it and run the ".bat". If everything works a command prompt will open up and start copying the video. You will see new lines for each of the video frames FFMPEG is recording. A 1 hour video will take 20 minutes to copy at Broadband speeds.
    Quote Quote  
  8. Member
    Join Date
    Jan 2007
    Location
    United States
    Search PM
    Originally Posted by chargedbird View Post
    I. Method #1
    Ok I got the segments simply by playing the video with Firefox with the Add-On FlashVideoDownloader. Once you start playing the video it will show each 5 second segment that is part of the full video stream. Then I used the Add-On DownloadThemAll - it can create a range of segments to download.

    Example:
    http Full link to video [300:1200].mp4 - will download files in the range 300 - 1200.
    Where do you get the link to the video from? I tried to use the FlashVideoDownloader to "Copy URL to clipboard" for one of the segments, and it looked like this - it doesn't end in ".mp4":

    Code:
    http://o-o---preferred---iad23s02---v9---nonxt4.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hTSlVQVl9GSkNOM19NSlpGOlI0c1RzOTVlYTUy&expire=1345558510&factor=1.25&fexp=916012%2C919802%2C904821%2C907217%2C922401%2C920704%2C912806%2C906831%2C911406%2C913550%2C912706&gcr=us&id=b5053ff30ac036e6&ip=68.48.32.65&ipbits=8&itag=34&keepalive=yes&key=yt1&ms=au&mt=1345531757&mv=m&range=13-1781759&signature=72AEED571BDFD1CC2E84266E1129339087C9E66A.1ADA9956D3BA8C4D7340A5E065AB0F4C35C29D89&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn=5C--Fa0t5i4
    Also how do you know what the start and end range values are?

    The problem with this method is about half of the videos use DRM- and the downloaded videos will be corrupted. So the FFMPEG method is the only way that works for all videos at nbcolympics.
    Ah, I didn't know there was DRM protection. That would explain why the segments I downloaded for this one video couldn't be played.

    While the video is loading press CTRL+SHIFT+K in Firefox. In the "Filter" search box type " m3u8 ".
    The m3u8 is a playlist of segments for the video you are playing.
    Some of the videos I'm looking at don't show anything when I type "m3u8" into the Filter box. For example take a look at this video:

    http://www.nbcolympics.com/video/fencing/susie-scanlan-st-pauls-fantastic-fencer-419850.html
    Quote Quote  
  9. Member
    Join Date
    Mar 2002
    Location
    Kirkland, WA
    Search Comp PM
    Originally Posted by chargedbird View Post
    ...
    II. Method #2
    First you need the latest version of FFMPEG. Old versions won't work.
    https://www.videohelp.com/tools/ffmpeg

    You need Firefox. You need a television provider so that you can logon to NBCOlympics.com to watch the videos.

    Click a link for the video you want to watch.
    http://www.nbcolympics.com/video/bro...lEventsReplays

    While the video is loading press CTRL+SHIFT+K in Firefox. In the "Filter" search box type " m3u8 ".
    The m3u8 is a playlist of segments for the video you are playing.

    Choose the quality of the video you want 360p 480p 720p 1080p
    Copy the NEWEST m3u8 link that shows on the top of the window.

    In Windows Explorer, create a New Folder with all these files- m3u8, ffmpeg
    In the same folder, create a "New Text Document" and you will need to save it as a ".bat" file.

    Put this command in the ".bat" file
    ffmpeg.exe -i "index.m3u8" -c copy copyvideo.mp4

    Save it and run the ".bat". If everything works a command prompt will open up and start copying the video. You will see new lines for each of the video frames FFMPEG is recording. A 1 hour video will take 20 minutes to copy at Broadband speeds.
    This is the method I used to get numerous event videos for the London Summer Olympics, but I haven't had any luck getting it to work for these Winter Olympics. When Im in the Web Console window using the m3u8 filter, no links show up at all.

    Anybody know what's different?
    Last edited by tluxon; 10th Feb 2014 at 19:35.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!