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 > Media file management > Repairing, splitting and merging media files
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-10-2014, 09:08 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Muxing several files with Yamb incl. chapter files


Hi guys,

got the following problem:

I wanted to merge a streaming video, which had the video-files splitted as 1 minute files, together with the audio file.

First, I did flv extract on every file.

Then I wanted to combine them with Yamb. Here's the log:

Code:
[15:34:03] : Yamb 2.1.0.0 beta 2 started !!!
[15:34:03] : OS type detection...Windows Seven x64 (version 6.1, Build 7601 : Service Pack 1)
[15:34:03] : MP4Box found... C:\Program Files (x86)\VideoTools\Yamb-Beta\MP4Box.exe
[15:34:03] : EAC3to found...c:\program files (x86)\videotools\yamb-beta\eac3to\eac3to.exe
[15:34:34] : 1000.000.avi loaded.
[15:34:34] : 1000.000.txt loaded.
[15:34:34] : 1000.001.avi loaded.
[15:34:34] : 1000.001.txt loaded.
[15:34:34] : 1000.002.avi loaded.
(...)
[15:34:37] : 1000.069.txt loaded.
[15:34:59] : Kruse.mp3 loaded.
[15:35:09] : Creation of 1000.000.mp4...
[15:35:09] : Command Line used for Creation : "C:\Program Files (x86)\VideoTools\Yamb-Beta\MP4Box.exe" -add "C:\sourcefiles\1000.000.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.000.txt" -add "C:\sourcefiles\1000.001.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.001.txt" -add "C:\sourcefiles\1000.002.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.002.txt" -add "C:\sourcefiles\1000.003.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.003.txt" -add "C:\sourcefiles\1000.004.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.004.txt" -add "C:\sourcefiles\1000.005.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.005.txt" -add "C:\sourcefiles\1000.006.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.006.txt" -add "C:\sourcefiles\1000.007.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.007.txt" -add "C:\sourcefiles\1000.008.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.008.txt" -add "C:\sourcefiles\1000.009.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.009.txt" -add "C:\sourcefiles\1000.010.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.010.txt" -add "C:\sourcefiles\1000.011.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.011.txt" -add "C:\sourcefiles\1000.012.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.012.txt" -add "C:\sourcefiles\1000.013.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.013.txt" -add "C:\sourcefiles\1000.014.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.014.txt" -add "C:\sourcefiles\1000.015.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.015.txt" -add "C:\sourcefiles\1000.016.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.016.txt" -add "C:\sourcefiles\1000.017.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.017.txt" -add "C:\sourcefiles\1000.018.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.018.txt" -add "C:\sourcefiles\1000.019.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.019.txt" -add "C:\sourcefiles\1000.020.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.020.txt" -add "C:\sourcefiles\1000.021.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.021.txt" -add "C:\sourcefiles\1000.022.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.022.txt" -add "C:\sourcefiles\1000.023.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.023.txt" -add "C:\sourcefiles\1000.024.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.024.txt" -add "C:\sourcefiles\1000.025.avi#video:fps=24.107" -chap "C:\sourcefiles\1000.025.txt" -add "C:\sourcefiles\1000.026.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.026.txt" -add "C:\sourcefiles\1000.027.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.027.txt" -add "C:\sourcefiles\1000.028.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.028.txt" -add "C:\sourcefiles\1000.029.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.029.txt" -add "C:\sourcefiles\1000.030.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.030.txt" -add "C:\sourcefiles\1000.031.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.031.txt" -add "C:\sourcefiles\1000.032.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.032.txt" -add "C:\sourcefiles\1000.033.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.033.txt" -add "C:\sourcefiles\1000.034.avi#video:fps=24.722" -chap "C:\sourcefiles\1000.034.txt" -add "C:\sourcefiles\1000.035.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.035.txt" -add "C:\sourcefiles\1000.036.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.036.txt" -add "C:\sourcefiles\1000.037.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.037.txt" -add "C:\sourcefiles\1000.038.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.038.txt" -add "C:\sourcefiles\1000.039.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.039.txt" -add "C:\sourcefiles\1000.040.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.040.txt" -add "C:\sourcefiles\1000.041.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.041.txt" -add "C:\sourcefiles\1000.042.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.042.txt" -add "C:\sourcefiles\1000.043.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.043.txt" -add "C:\sourcefiles\1000.044.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.044.txt" -add "C:\sourcefiles\1000.045.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.045.txt" -add "C:\sourcefiles\1000.046.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.046.txt" -add "C:\sourcefiles\1000.047.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.047.txt" -add "C:\sourcefiles\1000.048.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.048.txt" -add "C:\sourcefiles\1000.049.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.049.txt" -add "C:\sourcefiles\1000.050.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.050.txt" -add "C:\sourcefiles\1000.051.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.051.txt" -add "C:\sourcefiles\1000.052.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.052.txt" -add "C:\sourcefiles\1000.053.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.053.txt" -add "C:\sourcefiles\1000.054.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.054.txt" -add "C:\sourcefiles\1000.055.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.055.txt" -add "C:\sourcefiles\1000.056.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.056.txt" -add "C:\sourcefiles\1000.057.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.057.txt" -add "C:\sourcefiles\1000.058.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.058.txt" -add "C:\sourcefiles\1000.059.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.059.txt" -add "C:\sourcefiles\1000.060.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.060.txt" -add "C:\sourcefiles\1000.061.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.061.txt" -add "C:\sourcefiles\1000.062.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.062.txt" -add "C:\sourcefiles\1000.063.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.063.txt" -add "C:\sourcefiles\1000.064.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.064.txt" -add "C:\sourcefiles\1000.065.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.065.txt" -add "C:\sourcefiles\1000.066.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.066.txt" -add "C:\sourcefiles\1000.067.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.067.txt" -add "C:\sourcefiles\1000.068.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.068.txt" -add "C:\sourcefiles\1000.069.avi#video:fps=25.000" -chap "C:\sourcefiles\1000.069.txt" -add "C:\sourcefiles\audio.mp3" -itags tool="Yamb 2.1.0.0 [http://yamb.unite-video.com]" -new "C:\sourcefiles\1000.000.mp4"
[15:35:09] : File saved in C:\sourcefiles\ 
[15:35:09] :  Error importing C:\sourcefiles\1000.000.avi#video:fps=25.000: Feature Not Supported
[15:35:09] : Creation failed.
[15:35:09] : Total Time Elapsed...
[15:35:31] : Yamb 2.1.0.0 beta 2 closed.
When trying to use MP4Box itself, it says

Code:
Error importing 1000000.avi#video:fps=25.000: Feature Not Supported
Doesn't it support VP6f files? Any someone got another idea to mux several files including the chapter files? Avidemux doesn't care for the chapters file unfortunately and I need this, to keep the video and audio in sync.
Reply With Quote
  #2  
Old 01-15-2014, 01:15 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: Muxing several files with Yamb incl. chapter files


I would use concatenate feature of (the newest version of) ffmpeg.

Use the files in their original flv container if possible.

Create a text file "mylist.txt" with all the files you want to have concatenated in the following form ( Lines starting with a dash are ignored ) :

mylist.txt:
Code:
# this is a comment
file '1000.000.flv'
file '1000.001.flv'
file '1000.002.flv'
Note that these can be either relative or absolute paths.

Copy the mylist.txt file into the same directory with ffmpeg and all of the files to be concatenated.

Code:
ffmpeg -f concat -i mylist.txt -c copy concatenated_output.flv
Then you can just mux the video with the audio.

-----
Edit:
I left out a step that I had forgotten about that applies to be-at.tv flv videos only.
Before concatenating, run each flv through ffmpeg in order to strip the timecodes (so that each video starts at 00:00, rather than an 01:01, or 02:01, etc.)

For example:
Code:
ffmpeg -i "1000.002.flv" -vcodec copy -acodec copy "002.flv"
Do this for all the original flv files, and then concatenate the output files only by putting the filenames in the mylist.txt file.
Reply With Quote
  #3  
Old 01-17-2014, 04:44 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: Muxing several files with Yamb incl. chapter files


Hey blimey,

thanks for your help.


There's one problem with be-at.tv, that I don't know if it is considered in your solution:

At be-at.tv, the videofiles often have missing frames whilte the audiofiles are correct. This is why I wanted to use the chapter files of FLVExtract to keep the original synchronity. How would ffmpeg know the original timeframes if the file itself would be e.g. only 57 seconds due to missing frames instead of one minute?
Reply With Quote
  #4  
Old 01-17-2014, 08:35 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: Muxing several files with Yamb incl. chapter files


There were no "missing frames" in the sample I tried from your other thread, ben klock - like klockwork (Session003311).

Provide a link to a session with "missing frames".

Last edited by blimey : 01-17-2014 at 05:42 PM. Reason: Not applicable
Reply With Quote
  #5  
Old 01-17-2014, 09:32 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

Re: Muxing several files with Yamb incl. chapter files


Thanks a lot, I'll try it later with a session that I definitely know of missing frames. :-)
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 01:48 AM.


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