Opened 9 months ago

Last modified 9 months ago

#10498 new defect

Concetrating videos with same attributes in ffmpeg result much longer in time invalid output video (300hours+) than 1hour.

Reported by: elias tsolis Owned by:
Priority: important Component: avcodec
Version: 5.1.3 Keywords: black screen, ivalid time
Cc: elias tsolis Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Concetrating videos with same attributes in ffmpeg result much longer in time invalid output video (300hours+) than 1hour. see here more details:

https://video.stackexchange.com/questions/36720/concetrating-videos-with-same-attributes-in-ffmpeg-result-much-longer-in-time-in

I dont know how to make 1 file out of three.

https://video.stackexchange.com/questions/36720/concetrating-videos-with-same-attributes-in-ffmpeg-result-much-longer-in-time-in
ffmpeg version 5.1.3-1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Hyper fast Audio and Video encoder

Change History (1)

comment:1 by elias tsolis, 9 months ago

UPDATE: Using libx264 fixed the problem. But with libx265 not.

 for avii in *.mp4;   do ffmpeg -i "$avii" -vcodec  libx264 -vb 20M  -r 30  -crf 17  -c:a copy -fflags +genpts "ab_${avii//.*}.avi"   ; done;

fmpeg -fflags +igndts -f concat -safe 0  -i vids.txt -c copy  -shortest finalvideo_.mp4
Note: See TracTickets for help on using tickets.