transitive-bullshit / ffmpeg-gl-transition

FFmpeg filter for applying GLSL transitions between video streams.
647 stars 125 forks source link

Simple Concatenation two files #43

Open javeedrahman opened 4 years ago

javeedrahman commented 4 years ago

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
transitive-bullshit commented 4 years ago

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

javeedrahman commented 4 years ago

@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

transitive-bullshit commented 4 years ago

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.

javeedrahman commented 4 years ago

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?

mansiJspaceo commented 4 years ago

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

schoudhary101 commented 8 months ago

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