Postby mrlimbic » 29 Jul 2012 23:53
They are recorded files in MOV containers. They contain 4 streams: 1 video, then 2 audio, then 1 timecode.
I just want to extract the audio streams, either as separate files, or combined. I don't care about the video or timecode streams.
I found out that I can extract each separately using ffmpeg, so may have to use that unless I can find a more convenient way in future.
These commands worked on my test files to get each stream out into wavs..
ffmpeg -i dual-mono.mov -map 0:1 -vn stream1.wav
ffmpeg -i dual-mono.mov -map 0:2 -vn stream2.wav
Its a bit of hassle though as you have to work out the stream numbers before making the right command. You can find out which streams are contained and what their index is with this
ffmpeg -i dual-mono.mov
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 35000 kb/s, 25 fps, 25 tbr, 2500 tbn, 50 tbc
Metadata:
creation_time : 2012-03-25 10:36:14
Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
creation_time : 2012-03-25 10:36:14
Stream #0.2(eng): Audio: pcm_s16be, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
creation_time : 2012-03-25 10:36:14
Stream #0.3(eng): Data: tmcd / 0x64636D74, 0 kb/s
Metadata:
creation_time : 2012-03-25 10:36:14