videos not playing correctly, please need help
Posted: 08 Nov 2023 04:00
Code: Select all
vlc --version
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
VLC version 3.0.20 Vetinari (3.0.20-0-g6f0d0ab126b)
Compiled by Debian buildd for bookworm-security on Debian amd64 buildd (Oct 29 2023 20:14:38)
Compiler: gcc version 12.2.0 (Debian 12.2.0-14)
Code: Select all
inxi -F --za
System:
Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1
Distro: MX-23.1_x64 Libretto July 31 2023
Machine:
Type: Portable System: Dell product: Inspiron 5555 v: A12
serial: <superuser required>
Mobo: Dell model: 08C2X1 v: A00 serial: <superuser required> UEFI: Dell
v: A12 date: 08/30/2016
CPU:
Info: quad core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64
type: MCP cache: L2: 2 MiB
Speed (MHz): avg: 998 min/max: 1000/2200 cores: 1: 998 2: 998 3: 998
4: 998
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel
Device-2: Microdia Integrated Webcam HD type: USB driver: uvcvideo
Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: radeon
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon
resolution: 1366x768~60Hz
API: OpenGL v: 4.5 Mesa 22.3.6 renderer: KABINI ( LLVM 15.0.6 DRM 2.50
6.1.0-13-amd64)
This probe is from video in screenshot
Code: Select all
ffmpeg -i S1140001.MP4 -hide_banner
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559637665580] st: 0 edit list: 1 Missing key frame while searching for timestamp: 3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559637665580] st: 0 edit list 1 Cannot find an index entry before timestamp: 3003.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S1140001.MP4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2023-10-01T11:13:10.000000Z
Duration: 00:00:29.03, start: 0.000000, bitrate: 61654 kb/s
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 61382 kb/s, 29.97 fps, 29.97 tbr, 90k tbn (default)
Metadata:
creation_time : 2023-10-01T11:13:10.000000Z
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
Metadata:
creation_time : 2023-10-01T11:13:10.000000Z
vendor_id : [0][0][0][0]
Code: Select all
ffmpeg -err_detect ignore_err -i S1140001.MP4 -c copy fixed_S1140001.MP4
i tried re-encode
Code: Select all
ffmpeg -i S1140001.MP4 -c:v libx264 -preset slow -crf 22 -c:a copy fixed_S1140001.mp4
Code: Select all
ffmpeg -i S1140001.MP4 -vf "scale=1280:720" -c:v libx264 -preset faster -crf 28 -c:a copy S1140001_720p.mp4
Code: Select all
# Run FFmpeg command
ffmpeg -i "$video" \
-c:v libx264 -preset faster -profile:v high \
-vf "scale=1280:720, yadif=0:-1:0, unsharp=3:3:0.5" \
-b:v 5M -maxrate 5M -bufsize 10M \
-c:a copy \
-r 30 \
"$output"
Code: Select all
# Use ffmpeg to convert the file and append the output to the log file
ffmpeg -i "$i" -vf "scale=1280:720" -b:v 5000k "$output_file" >> "$log_file" 2>&1
done
I apologize if im not asking for help correctly but i did read https://forum.videolan.org/viewtopic.php?f=13&t=11217