Any tip on how to include stream 2 from raw dv25 file with ffmpeg or ffmbc ?
ex.
when I do:Code:Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
I get only first audio channel stream 0:1Code:ffmpeg -i inputfile.dv -c:v copy -c:a copy output.dv
once I try
Code:ffmpeg -i inputfile.dv -map 0:0 -map 0:1 -map 0:2 -c:v copy -c:a copy output.dvorCode:[dv @ 051d7ee0] Can't initialize DV format! Make sure that you supply exactly two streams: video: 25fps or 29.97fps, audio: 2ch/48|44|32kHz/PCM (50Mbps allows an optional second audio stream)
Regards.Code:Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Could not write header for output file #0 (incorrect codec parameters ?): Error number -1 occurred
+ Reply to Thread
Results 1 to 3 of 3
-
-
Well, it's clear to me: ffmpeg is designed to utilize only [vids] streams and [auds] streams, not [ivas] streams. Or, if it is actually trying to mux with an [ivas] stream, it doesn't support the full spec of DV.
Note: you have listed 32kHz/16bit. That is not part of the DV spec, so it's possible ffmpeg is having trouble because of that. The spec states: 4 x 32kHz/12bit, or 2 x 48kHz/16bit, or alternately 2 x 44.1kHz/16bit.
However, I wouldn't be surprised if ffmpeg expects to expand 12bit->16bit (fits better byte-wise), and expects to only utilize 2 channels (at a time). It IS rare when the full 4 channels have been utilized in any workflow, and those workflows usually have involved major quality compromises.
Scott -
I actually tough 4 channels at 32Khz 12 bits . Any suggestion how to copy or cut this file leaving the second stream alive ?
Similar Threads
-
Problem Muxing Raw h264 and Raw AC3
By Malonn in forum Video ConversionReplies: 14Last Post: 29th Jan 2015, 16:21 -
muxing raw h264 with raw g711 to mp4 continer
By niror in forum Newbie / General discussionsReplies: 5Last Post: 23rd Aug 2011, 12:25 -
Suggestions to cut raw H.264 video streams?
By AshleyQuick in forum EditingReplies: 0Last Post: 28th Jan 2011, 14:28 -
Easiest way to convert and mux audio to raw avi
By mukluk909 in forum AudioReplies: 4Last Post: 30th Nov 2010, 04:08 -
How to add raw audio sample to my QTMovie?
By everpenny in forum AudioReplies: 0Last Post: 9th Nov 2010, 21:57