Dear Cats,
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?
Thanks
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 17:30.
-
As I told you in the last thread, you should only use one filterchain for audio, so
Code: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
Similar Threads
-
FFMPEG change the framerate but keep the same duration
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 19th Mar 2016, 14:27 -
FFMPEG: how to set target file size for PAL DVD?
By marcorocchini in forum Newbie / General discussionsReplies: 27Last Post: 26th Mar 2015, 17:19 -
FFMPEG: how to encode in target size mode?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 19th Mar 2015, 14:03 -
Specifying target bitrate in ffmpeg conversion?
By pxstein in forum Newbie / General discussionsReplies: 13Last Post: 9th Sep 2013, 09:23 -
target container + codecs auto-detected when re-encoding with ffmpeg?
By pxstein in forum Newbie / General discussionsReplies: 1Last Post: 26th Jan 2013, 03:39