mp4 video doesnt play, stutters, lags, or skips

*nix specific usage questions
its4kobe
New Cone
New Cone
Posts: 2
Joined: 08 Nov 2023 02:15

mp4 video doesnt play, stutters, lags, or skips

Postby its4kobe » 11 Nov 2023 04:49

I cant figure out why mp4 videos are choppy, stutter, lag, or dont play at all

The steps ive taken to fix are....
  • tried to convert/change bps, fps, resolution
    change cache value
    turn off hardware acceleration
    compatibility mode
    disable/change decoding
    change video output module
    re-encode file
    copy file to new container
    change container format
    reinstall vlc
    reinstall operating system

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

$ uname -a Linux mycpu1 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

Code: Select all

System: Kernel: 6.1.0-13-amd64 [6.1.55-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-13-amd64 root=/dev/mapper/vg_main-lv_root ro quiet splash init=/lib/systemd/systemd Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23.1_x64 Libretto October 15 2023 base: Debian GNU/Linux 12 (bookworm)

Code: Select all

CPU: Info: model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP arch: Puma level: v2 built: 2014-15 process: GF 28nm family: 0x16 (22) model-id: 0x30 (48) stepping: 1 microcode: 0x7030105 Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 2 MiB desc: 1x2 MiB Speed (MHz): avg: 999 high: 1000 min/max: 1000/2200 boost: enabled scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 1000 2: 1000 3: 1000 4: 998 bogomips: 17567

Code: Select all

Graphics: Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Dell driver: radeon v: kernel alternate: amdgpu arch: GCN-2 code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:9851 class-ID: 0300 Device-2: Microdia Integrated Webcam HD type: USB driver: uvcvideo bus-ID: 2-2:3 chip-ID: 0c45:6712 class-ID: 0e02 Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31") Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0627 built: 2014 res: 1366x768 hz: 60 dpi: 112 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 389mm (15.3") ratio: 16:9, 15:9 modes: max: 1366x768 min: 640x480 API: OpenGL v: 4.5 Mesa 22.3.6 renderer: KABINI ( LLVM 15.0.6 DRM 2.50 6.1.0-13-amd64) direct-render: Yes

Code: Select all

$ ffmpeg -i S1140001.MP4 -hide_banner [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55eaba1a6d80] st: 0 edit list: 1 Missing key frame while searching for timestamp: 3003 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55eaba1a6d80] 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] At least one output file must be specified

Code: Select all

$ ffprobe -v error -show_format -show_streams S1140001.MP4 [STREAM] index=0 codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 profile=High codec_type=video codec_tag_string=avc1 codec_tag=0x31637661 width=3840 height=2160 coded_width=3840 coded_height=2160 closed_captions=0 film_grain=0 has_b_frames=1 sample_aspect_ratio=1:1 display_aspect_ratio=16:9 pix_fmt=yuv420p level=51 color_range=tv color_space=bt709 color_transfer=bt709 color_primaries=bt709 chroma_location=left field_order=progressive refs=1 is_avc=true nal_length_size=4 id=0x1 r_frame_rate=30000/1001 avg_frame_rate=30000/1001 time_base=1/90000 start_pts=0 start_time=0.000000 duration_ts=2612610 duration=29.029000 bit_rate=61382276 max_bit_rate=N/A bits_per_raw_sample=8 nb_frames=870 nb_read_frames=N/A nb_read_packets=N/A extradata_size=483 DISPOSITION:default=1 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 DISPOSITION:captions=0 DISPOSITION:descriptions=0 DISPOSITION:metadata=0 DISPOSITION:dependent=0 DISPOSITION:still_image=0 TAG:creation_time=2023-10-01T11:13:10.000000Z TAG:language=eng TAG:vendor_id=[0][0][0][0] [/STREAM] [STREAM] index=1 codec_name=aac codec_long_name=AAC (Advanced Audio Coding) profile=unknown codec_type=audio codec_tag_string=mp4a codec_tag=0x6134706d sample_fmt=fltp sample_rate=48000 channels=2 channel_layout=stereo bits_per_sample=0 id=0x2 r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/48000 start_pts=0 start_time=0.000000 duration_ts=1393392 duration=29.029000 bit_rate=253375 max_bit_rate=N/A bits_per_raw_sample=N/A nb_frames=1363 nb_read_frames=N/A nb_read_packets=N/A extradata_size=2 DISPOSITION:default=1 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 DISPOSITION:captions=0 DISPOSITION:descriptions=0 DISPOSITION:metadata=0 DISPOSITION:dependent=0 DISPOSITION:still_image=0 TAG:creation_time=2023-10-01T11:13:10.000000Z TAG:language=eng TAG:vendor_id=[0][0][0][0] [/STREAM] [FORMAT] filename=S1140001.MP4 nb_streams=2 nb_programs=0 format_name=mov,mp4,m4a,3gp,3g2,mj2 format_long_name=QuickTime / MOV start_time=0.000000 duration=29.029000 size=223719741 bit_rate=61654136 probe_score=100 TAG:major_brand=mp42 TAG:minor_version=1 TAG:compatible_brands=mp42avc1 TAG:creation_time=2023-10-01T11:13:10.000000Z [/FORMAT]
Here's paste from VLC "Tools" "Messages"

https://paste.debian.net/1297852/

I have tried to best of my ability to
  • choose correct forum
    clear and specific topic line
    provide details best i can
    format it correctly and show what ive tried
Ive already asked for help here once but did not get any feedback. Im respectfully asking for anyone to please help in any way shape or form.
Either way your time is appreciated, thank you

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: mp4 video doesnt play, stutters, lags, or skips

Postby Rémi Denis-Courmont » 11 Nov 2023 12:14

It seems your hardware decoder is struggling to keep the pace. Try disabling hardware decoding and/or changing video output
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests