[FFmpeg-user] Remove audio from DV file not working
dave at dericed.com
dave at dericed.com
Wed Dec 28 18:28:24 EET 2016
> On Dec 26, 2016, at 11:25 PM, Tim Hiles <thiles at confex.com> wrote:
>
> Hi all,
>
> I figured out a workaround (three step process) and for posterity's sake
> figured I'd mention it here.
>
> #1. Transcode to AVI like so:
>
> ffmpeg -i "clip-2007-01-01 17;02;58.dv" -vcodec copy -vtag dvsd -acodec
> pcm_s16le -f avi -y "clip-2007-01-01 17;02;58.dv.avi"
>
> #2. Remove the audio with the usual -an command:
>
> ffmpeg -i "clip-2007-01-01 17;02;58.avi" -c:v copy -an -map 0:0
> "noaudio.avi"
>
> #3. Transcode the AVI back to DV
>
> ffmpeg -i "output.avi" -target ntsc-dv video.dv
>
> Unless anyone else knows of a more efficient way to do this?
You could do this in one step with
ffmpeg -i "clip-2007-01-01 17;02;58.dv” -target ntsc-dv -an video.dv
However this is not a lossless step since you are transcoding dv video to dv video. Since a dv encoding contains both audio and video the -c:v copy process should still give you both video and audio (as well as camera metadata, timecode, captions, etc that are in the dv encoding).
Dave Rice
More information about the ffmpeg-user
mailing list