I tested with 16 of my GoPro Hero 9 videos ranging from 33 MB to 4 GB, all with no problems. My files also report
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56102c2b4600] All samples in data stream index:id [4:5] have zero duration, stream set to be discarded by default. Override using AVStream->discard or -discard for ffmpeg command.
But not
mov,mp4,m4a,3gp,3g2,mj2 @ 0x56102c2b4600] Packet corrupt (stream = 0, dts = 0). [h264 @ 0x56102edd1300] Invalid NAL unit size (534266 > 64702). [h264 @ 0x56102edd1300] missing picture in access unit with size 64712 [h264 @ 0x56102edd1300] Invalid NAL unit size (534266 > 64702). [h264 @ 0x56102edd1300] Error splitting the input into NAL units. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56102c2b4600] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(tv, bt709), 2704x1520, 60016 kb/s):
That message means the file could not be decoded by the FFmpeg 6.0 libraries.
do I have to mind the libDeckLinkAPI.so message?
no
Here I uploaded the file
I downloaded it, and I did not reproduce any problem using shotcut-linux-x86_64-230929.AppImage
. I was able to add it to Source, Playlist, and Timeline with no problem and play various sections of it. I ran Properties > menu > Start Integrity Check Job. It reported no problem in its log
ffmpeg version n6.0-35-g067ed535f4 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --disable-static --disable-doc --enable-gpl --enable-version3 --enable-shared --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libopus --enable-libzimg --enable-libdav1d --enable-libaom --disable-decoder=libaom_av1 --enable-libwebp --enable-libvmaf --enable-libjack --enable-libxcb --enable-libpulse --prefix=/root/shotcut/Shotcut/Shotcut.app
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ec6db1db00] All samples in data stream index:id [4:5] have zero duration, stream set to be discarded by default. Override using AVStream->discard or -discard for ffmpeg command.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ddennedy/Downloads/GH016956.MP4':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
creation_time : 2023-11-18T13:54:20.000000Z
firmware : HD9.01.01.72.00
Duration: 00:02:36.26, start: 0.000000, bitrate: 60262 kb/s
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 2704x1520 [SAR 1:1 DAR 169:95], 60016 kb/s, 50 fps, 50 tbr, 90k tbn (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro AVC
vendor_id : [0][0][0][0]
encoder : GoPro AVC encoder
timecode : 13:54:20:19
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro AAC
vendor_id : [0][0][0][0]
timecode : 13:54:20:19
Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro TCD timecode : 13:54:20:19
Stream #0:3[0x4](eng): Data: bin_data (gpmd / 0x646D7067), 44 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro MET
Stream #0:4[0x5](eng): Data: none (fdsc / 0x63736466), 12 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro SOS
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
firmware : HD9.01.01.72.00
encoder : Lavf60.3.100
Stream #0:0(eng): Video: wrapped_avframe, yuvj420p(pc, bt709, progressive), 2704x1520 [SAR 1:1 DAR 169:95], q=2-31, 200 kb/s, 50 fps, 50 tbn (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro AVC
vendor_id : [0][0][0][0]
timecode : 13:54:20:19
encoder : Lavc60.3.100 wrapped_avframe Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro AAC
vendor_id : [0][0][0][0]
timecode : 13:54:20:19
encoder : Lavc60.3.100 pcm_s16le
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro TCD
timecode : 13:54:20:19
Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 44 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro MET
Stream #0:4(eng): Data: none (fdsc / 0x63736466), 12 kb/s (default)
Metadata:
creation_time : 2023-11-18T13:54:20.000000Z
handler_name : GoPro SOS
video:3661kB audio:29288kB subtitle:0kB other streams:1093kB global headers:0kB muxing overhead: unknown
Completed successfully in 00:00:19