Most of the commands you tried were poorly/improperly written and orig. not copying (i.e. "extracting).
couple of ex.
red wrong, encodes a & v
Code:
avconv -i /home/bill/1.dv -ss 100 -t 100 acodec /home/bill/aa1.dv
red encode & copy?, blue does nothing
Code:
avconv -i /home/bill/1.dv -ss 100 -t 100 -c:a -c:a pcm copy /home/bill/x1.dv
Not sure what red was going to do
Code:
avconv -i /home/bill/1.dv -ss 100 -t 100 -c:a pcm_s16le -r:a 48000 /home/bill/x1.dv
In any event that version of avconv wouldn't deal with 32kHz pcm so didn't matter commands were wrong.
FFmpeg would handle that audio (which is apparently allowed), if you had that version of avconv from ppa you could just install ppa's ffmpeg for use of the binaries.
For 'extracting' you'd could use a stream copy parameter, period
-c copy
avconv -i /home/bill/1.dv -ss 100 -t 100 -c copy /home/bill/x1.dv
For ffmpeg you could of copied the video, re-encoded audio, ex.
Code:
ffmpeg -i /home/bill/1.dv -ss 100 -t 100 -c:v copy -c:a pcm_s16le -ar 48000 /home/bill/x1.dv
or
Code:
ffmpeg -ss 100 -i /home/bill/1.dv -t 100 -c:v copy -c:a pcm_s16le -ar 48000 /home/bill/x1.dv
You should read here about placement of -ss & some possible codec copy issues
https://trac.ffmpeg.org/wiki/Seeking
Bookmarks