VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    ffmpeg.exe -i capture.avi -ss 5.0 -to 1:43:57.520 -i capture2.avi -ss 1:44:07.800 -to 3:55:32.840 -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[outv][outa]" -map "[outv]" -map "[outa]" -c:v libx264 -crf 19 -pix_fmt yuvj420p -c:a aac -b:a 192k -ar 48000 "out.mp4"

    The above filter is supposed to combine two identical clips into one.

    Can someone tell me how to insert the following filter -vf into each source file?

    -vf "setsar=sar=16/15,scale=in_range=full:out_range=full,,curves=mast er='0.0625/0 0.125/0.07 0.5/0.51 0.8/0.85 1/1'"
    Quote Quote  
  2. Use semicolon to divide filter chain . If [outv] is the current video output, use that as input into the -vf arguments and map to some other output node such as [outv2] . use -map [outv2] to call that video node

    Code:
    -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[outv][outa]; [outv]setsar=sar=16/15,scale=in_range=full:out_range=full,curves=master='0.0625/0 0.125/0.07 0.5/0.51 0.8/0.85 1/1'[outv2]" -map "[outv2]" -map "[outa]"
    Quote Quote  
  3. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    Thanks. It works, although it takes ages to start coding.
    But I see that I can't really use -ss and -to with two files -- the output file starts at the beginning of capture2.avi and is only 1:45:32.361.
    Quote Quote  
  4. The seeking is the main reason why takes so long . You can use vdub2 in direct stream copy mode to edit the AVI's , or use avisynth to splice without requiring an intermediate
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!