ffmpeg-gl-transition icon indicating copy to clipboard operation
ffmpeg-gl-transition copied to clipboard

Simple Concatenation two files

Open javeedrahman opened this issue 6 years ago • 6 comments

Hi,

I am trying to concatenate two files one file which is already concat using CircleCrop here is he code. After concatenating video length was more than 15 seconds from the actual video length of two files. Last 15 seconds got stuck.

Please looks at the command and if it's wrong correct me.

../ffmpeg -loglevel debug \
  -i /home/procserverjh/opengl/fhd1.mp4 \
  -i /home/procserverjh/opengl/fhd2.mp4 \
  -filter_complex " \
    [0:v]split[v000][v010]; \
    [v010][1:v]gltransition=duration=1:source=/home/procserverjh/opengl/gl-transitions-master/transitions/CircleCrop.glsl[vt0]; \
    [v000][vt0]concat=n=2[outv]" \
  -map "[outv]" \
  -c:v libx264 -profile:v baseline -preset slow -movflags faststart -pix_fmt yuv420p \
  -y /home/procserverjh/opengl/fhdoutcirclecli5.mp4

javeedrahman avatar Oct 31 '19 15:10 javeedrahman

It will help to see the verbose output from the command.

transitive-bullshit avatar Nov 01 '19 23:11 transitive-bullshit

@transitive-bullshit Sure I have attached the verbose output here. Total Three files. I have concat first two files, then i have concat third mp4 with first two files output.mp4. verboseOutput.txt

javeedrahman avatar Nov 02 '19 06:11 javeedrahman

Aye, nothing really stands out for me in that log and unfortunately I don't have the time these days to help debug.

Hopefully another member of the community will be able to help.

transitive-bullshit avatar Nov 02 '19 07:11 transitive-bullshit

Okay thank you @transitive-bullshit ,

Could you please just confirm that the command which I am running is correct? and Is there any conflict when concatenating higher resolution?

javeedrahman avatar Nov 02 '19 07:11 javeedrahman

how to use this command in Android. i got error while run this command

mansiJspaceo avatar Dec 30 '19 12:12 mansiJspaceo

Reducing video bitrate fixes it for some files but not always.

schoudhary101 avatar Dec 13 '23 10:12 schoudhary101