I have try this wrong commandline
trying to encode the audio part only of a gopro audio/video file but I need to encode for a specific duration.Code:ffmpeg.exe -y -i "V:\100 GOPRO\GOPR2887.MP4" -af "pan=stereo:c0=c0:c1=c1,volume=1.5" -shortest -af apad=whole_len=100000000 -c:a pcm_s16le -ar 48000 out.wav
For example the original duration of my GOPR2887.MP4 is and 27s 27ms (mediainfo) but we suppose that I want encode to a target duration of 0:00:09.480000 seconds OR 525 [correspondant framecount value @ 25fps]
The original duration have to be fit exactly the target-duration: if necessary ffmpeg should insert silence or have to cut the original audio file to fit for the new duration,
how can I do?
ps: please consinder I'm a cat already in a batch file.
Probably I need to extract the duration from a video (video-only) .avs file and fit tha audio file of the exactly duration of video file
+ Reply to Thread
Results 1 to 3 of 3
Last edited by marcorocchini; 2nd Apr 2016 at 18:30.
As I told you in the last thread, you should only use one filterchain for audio, so
ffmpeg.exe -y -i "V:\100 GOPRO\GOPR2887.MP4" -af "pan=stereo:c0=c0:c1=c1,volume=1.5,apad" -c:a pcm_s16le -ar 48000 -t 9.480 out.wav