Help please - 2 videos in 1 file, how do I separate them?

I downloaded your clip and it sure played as two separate files in my VLC-player. With Debut Video Catcher mentioned above it was a small thing to grab and save the video stream from your rear-facing camera as a separate file without the front one present. It works for me anyway. Hope you manage to figure this out somehow.

100.jpg


dino
 
@mariomart ,

Download mencoder from http://www.mplayerhq.hu/design7/projects.html#unofficial_packages for your operating system.

Your problem can be solved by running two shell commands:
Code:
mencoder 20140605_112212_I2.avi -o stream1.avi -ovc copy -oac copy -vid 0 -aid 2 -of avi
mencoder 20140605_112212_I2.avi -o stream2.avi -ovc copy -oac copy -vid 1 -aid 2 -of avi

Change pathnames and filenames where appropriate.

Here I have saved each video track to a separate file with the same audio for you using the above method:

1: https://mega.co.nz/#!QchH1ITR!3JEf9GwfTuvQRKOcSafCBM_7oXiN0RnQPUrpm_uXSNo
2: https://mega.co.nz/#!RdZHRTQK!vmwCWXj_tg4E1JMu_cFpIYu2QjoAS7GDIHC982ChOuU

Enjoy! πŸ™‚
 
I downloaded your clip and it sure played as two separate files in my VLC-player. With Debut Video Catcher mentioned above it was a small thing to grab and save the video stream from your rear-facing camera as a separate file without the front one present. It works for me anyway. Hope you manage to figure this out somehow. dino

Thanks dino, I'll have a play when I get a chance. Cheers πŸ™‚

@mariomart ,

Download mencoder from http://www.mplayerhq.hu/design7/projects.html#unofficial_packages for your operating system.

Your problem can be solved by running two shell commands:
Code:
mencoder 20140605_112212_I2.avi -o stream1.avi -ovc copy -oac copy -vid 0 -aid 2 -of avi
mencoder 20140605_112212_I2.avi -o stream2.avi -ovc copy -oac copy -vid 1 -aid 2 -of avi

Change pathnames and filenames where appropriate.

Here I have saved each video track to a separate file with the same audio for you using the above method:

1: https://mega.co.nz/#!QchH1ITR!3JEf9GwfTuvQRKOcSafCBM_7oXiN0RnQPUrpm_uXSNo
2: https://mega.co.nz/#!RdZHRTQK!vmwCWXj_tg4E1JMu_cFpIYu2QjoAS7GDIHC982ChOuU

Enjoy! πŸ™‚

Thanks FourEyes, I'll have a look at this as well when I get a moment. Cheers πŸ™‚
 
I have the exact same issue. My dashcam is also made in Korea so it seems they do this a lot (putting 2 channel videos into 1 file).
I can open it in VLC and it plays both front and rear camera videos but I don't know how to only save the rear camera footage.

I checked the link for MEncoder but which one do I download? There's a list of like 50 software.
 
I have the exact same issue. My dashcam is also made in Korea so it seems they do this a lot (putting 2 channel videos into 1 file).
I can open it in VLC and it plays both front and rear camera videos but I don't know how to only save the rear camera footage.

I checked the link for MEncoder but which one do I download? There's a list of like 50 software.

I'm still at a loss as to how to do this easily. I have seen other brands that have their own dedicated software to save the videos individually but never seen a generic one (by the way, the other brand software is hardware specific and wont do mine)
 
Good to see I'm not the only one who asked about this. Did you try any of the MEncoder software with the shell commands? Did that work? I'm going to try something else later....I will attempt to open the file up in SoundForge and I think it might open it up as 2 channels and then I might be able to simply extract the channel that I want and save it as its own file.
 
Good to see I'm not the only one who asked about this. Did you try any of the MEncoder software with the shell commands? Did that work? I'm going to try something else later....I will attempt to open the file up in SoundForge and I think it might open it up as 2 channels and then I might be able to simply extract the channel that I want and save it as its own file.
I'm not the type of person who uses shell commands. I prefer my software to be user friendly.
 
Okay, it's a bit fiddly but this worked with my files.

Go to http://forum.doom9.org/showthread.php?t=167559 and read the second post

I downloaded a 64bit Windows version of ffmpeg from here http://ffmpeg.zeranoe.com/builds/ and extracted it.

In then extracted folder I ran "ff-prompt.bat" which is a windows batch file, which opens up a command prompt and makes the default folder /bin within the extracted ffmpeg folder.

I then changed my original video file name to "input.avi" and saved it in the /bin folder

I then copied and pasted the following scripts, one at a time, into the command prompt and hit enter. Each separate script will separate the corresponding avi file


ffmpeg -i input.avi -map 0:0 -vcodec copy output0.avi

ffmpeg -i input.avi -map 0:1 -vcodec copy output1.avi


It worked for me πŸ™‚

Hope it helps πŸ™‚
 
I just havent worked out how to add the audio
 
Okay, I used the following scripts to save the audio file with the video file

ffmpeg -i input.avi -map 0:0 -vcodec copy -map 0:2 -acodec copy output0.avi

and

ffmpeg -i input.avi -map 0:1 -vcodec copy -map 0:2 -acodec copy output1.avi
 
The ffmpeg option was used and described by me on another camera.

enjoy,
Mtz
 
Last edited by a moderator:
The ffmpeg option was used and described by me on another camera.

enjoy,
Mtz

Thanks, but I don't read all the forum threads, so I would never have seen it. You may want to include the "-map 0:2 -acodec copy" in your scripts to include the audio file.

Cheers πŸ™‚
 
Last edited by a moderator:
Back
Top