Video format curio/problem
Hi, I'm watching a serial. Those files are made at 3840 x 1604 pixels, and display badly on my old and small Lenovo Yoga laptop connected via HDMI cable to my sitting room TV set (the sound plays well, but the video is jumpy, it can stop for several seconds). I tested several conversions to an "easier on the cpu" files, and one of these worked: ffmpeg -t 10:0 -i movie.mkv \ -vf scale=960:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3b_movie.mkv You may notice that the scale is wrong. The original aspect ratio is 2.3940, while this has 1.1970, so when VLC plays it it has to change the displayed aspect ratio at runtime so that it displays correctly. So I corrected the command line: ffmpeg -t 10:0 -i movie.mkv \ -vf scale=-1:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3c_movie.mkv which produces a 1920 x 802 as the same aspect ratio as the original 2.3940. However, it displays badly (haltingly) on the laptop! Why? (note: TV set is 1920 x 1080) The files are local to the computer, the disk is M2. The second version is bigger: 221287201 3b_movie.mkv 323457154 3c_movie.mkv The first version plays at about 50% CPU on the two cores, while the second one plays (haltingly) at 100% and 20%, on vlc. And both versions play fine on kodi (40% cpu, both cores). Not so the original, plays haltingly, but different than VLC. Unrelated problem: only one of the two subtitles streams are copied. Original video info: General Unique ID : 271279799347578328510273573056556095920 (0xCC1696C14DD847778B2137B3485CD9B0) Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 1.75 GiB Duration : 54 min 17 s Overall bit rate : 4 608 kb/s Frame rate : 23.976 FPS Encoded date : 2022-05-15 21:04:13 UTC Writing application : mkvmerge v67.0.0 ('Under Stars') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 54 min 17 s Bit rate : 3 966 kb/s Width : 3 840 pixels Height : 1 604 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.027 Stream size : 1.50 GiB (86%) Writing library : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total- frames=78104 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min -keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter= 0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=5 / limit-refs=3 / no-limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-s rc-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc= 0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut- bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-re use-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor =1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder -max-rate=0 / no-vbv-live-multi-pass Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 54 min 17 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 249 MiB (14%) Language : English Service kind : Complete Main Default : No Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 31 s Bit rate : 79 b/s Frame rate : 0.311 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English (US) Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 40 s Bit rate : 84 b/s Frame rate : 0.329 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English (US) Default : No Forced : No First conversion: General Unique ID : 65254525213269111854603213254625185810 (0x3117907D45A8EECD2B12881EB9B5D012) Complete name : 3b_movie.mkv Format : Matroska Format version : Version 4 File size : 211 MiB Duration : 10 min 0 s Overall bit rate : 2 950 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L1 Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : V_MPEG4/ISO/ASP Codec ID/Info : Advanced Simple Profile Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 960 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.040 Stream size : 1.50 GiB Writing library : Lavc57.107.100 Default : Yes Forced : No Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : No Forced : No Text Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No Second conversion: General Unique ID : 177092085256568951320051960005036432120 (0x853AB1EAED75B4D16EC1208D24195AF8) Complete name : 3c_movie.mkv Format : Matroska Format version : Version 4 File size : 308 MiB Duration : 10 min 0 s Overall bit rate : 4 313 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L1 Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : V_MPEG4/ISO/ASP Codec ID/Info : Advanced Simple Profile Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : Lavc57.107.100 Default : Yes Forced : No Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB (81%) Language : English Service kind : Complete Main Default : No Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No CPU info of laptop: Legolas:~ # inxi -C -GSaz --za --vs inxi 3.3.38-00 (2025-04-06) System: Kernel: 6.4.0-150600.23.60-default arch: x86_64 bits: 64 compiler: gcc v: 7.5.0 clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.60-default root=UUID=<filter> resume=/dev/disk/by-label/Swap splash=verbose showopts Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.20.0 with: xfce4-panel tools: xfce4-screensaver dm: GDM v: 45.0.1 Distro: openSUSE Leap 15.6 CPU: Info: model: Intel Celeron N3060 socket: CHV bits: 64 type: MCP arch: Airmont level: v2 built: 2015-17 process: Intel 14nm family: 6 model-id: 0x4C (76) stepping: 4 microcode: 0x411 Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 smt: <unsupported> cache: L1: 112 KiB desc: d-2x24 KiB; i-2x32 KiB L2: 2 MiB desc: 2x1024 KiB Speed (MHz): avg: 480 min/max: 480/2480 base/boost: 1600/1660 scaling: driver: intel_pstate governor: powersave volts: 4.0 V ext-clock: 83 MHz cores: 1: 480 2: 480 bogomips: 6400 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 Vulnerabilities: <filter> Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics vendor: Lenovo driver: i915 v: kernel arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: HDMI-A-1 off: eDP-1 empty: DP-1,DP-2,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:22b1 class-ID: 0300 Device-2: Bison Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 5986:0673 class-ID: 0e02 serial: <filter> Display: server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1 compositor: xfwm4 v: 4.20.0 driver: X: loaded: modesetting unloaded: fbdev,vesa alternate: intel dri: crocus gpu: i915 display-ID: localhost:10.0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99") Monitor-1: DVI-D-0 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 92 size: 531x298mm (20.91x11.73") diag: 609mm (23.97") modes: N/A API: OpenGL v: 4.5 vendor: mesa v: 23.3.4 glx-v: 1.4 es-v: 3.2 direct-render: yes renderer: llvmpipe (LLVM 17.0.6 128 bits) device-ID: ffffffff:ffffffff memory: 3.65 GiB unified: yes API: Vulkan v: 1.3.275 layers: 1 device: 0 type: integrated-gpu name: Intel HD Graphics 400 (BSW) driver: mesa intel v: 23.3.4 device-ID: 8086:22b1 surfaces: xcb,xlib API: EGL Message: EGL data requires eglinfo. Check --recommends. Info: Tools: api: glxinfo,vulkaninfo de: xfce4-display-settings x11: xdpyinfo, xprop, xrandr Legolas:~ # vlc output of first file: cer@Legolas:~/Videos> cat 3b [000055f0bfe99540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055f0bff56310] main audio output error: too low audio sample frequency (0) [00007f4d48c3d780] main decoder error: failed to create audio output [000055f0bff56310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [000055f0bff56310] main audio output error: module not functional [00007f4d48c3d780] main decoder error: failed to create audio output [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d3c00f1f0] vaapi generic error: profile(3) is not supported [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d48c186e0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [00007f4d48c186e0] avcodec decoder error: existing hardware acceleration cannot be reused [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d3c1203c0] vaapi generic error: profile(3) is not supported [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) cer@Legolas:~/Videos> vlc output of second file: cer@Legolas:~/Videos> cat 3c [000055edc8394540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055edc8451310] main audio output error: too low audio sample frequency (0) [00007fd330c3f8c0] main decoder error: failed to create audio output [000055edc8451310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [000055edc8451310] main audio output error: module not functional [00007fd330c3f8c0] main decoder error: failed to create audio output [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd33c03b280] vaapi generic error: profile(3) is not supported [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd330c17fe0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [00007fd330c17fe0] avcodec decoder error: existing hardware acceleration cannot be reused [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd33c127330] vaapi generic error: profile(3) is not supported [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) cer@Legolas:~/Videos> -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
Hi,
I'm watching a serial. Those files are made at 3840 x 1604 pixels, and display badly on my old and small Lenovo Yoga laptop connected via HDMI cable to my sitting room TV set (the sound plays well, but the video is jumpy, it can stop for several seconds). I tested several conversions to an "easier on the cpu" files, and one of these worked:
ffmpeg -t 10:0 -i movie.mkv \ -vf scale=960:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3b_movie.mkv
You may notice that the scale is wrong. The original aspect ratio is 2.3940, while this has 1.1970, so when VLC plays it it has to change the displayed aspect ratio at runtime so that it displays correctly. So I corrected the command line:
ffmpeg -t 10:0 -i movie.mkv \ -vf scale=-1:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3c_movie.mkv
which produces a 1920 x 802 as the same aspect ratio as the original 2.3940. However, it displays badly (haltingly) on the laptop!
Why?
(note: TV set is 1920 x 1080)
The files are local to the computer, the disk is M2. The second version is bigger:
221287201 3b_movie.mkv 323457154 3c_movie.mkv
The first version plays at about 50% CPU on the two cores, while the second one plays (haltingly) at 100% and 20%, on vlc. And both versions play fine on kodi (40% cpu, both cores). Not so the original, plays haltingly, but different than VLC.
Unrelated problem: only one of the two subtitles streams are copied.
Original video info:
General Unique ID : 271279799347578328510273573056556095920 (0xCC1696C14DD847778B2137B3485CD9B0) Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 1.75 GiB Duration : 54 min 17 s Overall bit rate : 4 608 kb/s Frame rate : 23.976 FPS Encoded date : 2022-05-15 21:04:13 UTC Writing application : mkvmerge v67.0.0 ('Under Stars') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4
Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 54 min 17 s Bit rate : 3 966 kb/s Width : 3 840 pixels Height : 1 604 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.027 Stream size : 1.50 GiB (86%) Writing library : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total- frames=78104 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min -keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter= 0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=5 / limit-refs=3 / no-limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-s rc-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc= 0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut- bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-re use-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor =1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder -max-rate=0 / no-vbv-live-multi-pass Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709
Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 54 min 17 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 249 MiB (14%) Language : English Service kind : Complete Main Default : No Forced : No
Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 31 s Bit rate : 79 b/s Frame rate : 0.311 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English (US) Default : No Forced : No
Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 40 s Bit rate : 84 b/s Frame rate : 0.329 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English (US) Default : No Forced : No
First conversion:
General Unique ID : 65254525213269111854603213254625185810 (0x3117907D45A8EECD2B12881EB9B5D012) Complete name : 3b_movie.mkv Format : Matroska Format version : Version 4 File size : 211 MiB Duration : 10 min 0 s Overall bit rate : 2 950 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1
Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L1 Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : V_MPEG4/ISO/ASP Codec ID/Info : Advanced Simple Profile Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 960 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.040 Stream size : 1.50 GiB Writing library : Lavc57.107.100 Default : Yes Forced : No
Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : No Forced : No
Text Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No
Second conversion:
General Unique ID : 177092085256568951320051960005036432120 (0x853AB1EAED75B4D16EC1208D24195AF8) Complete name : 3c_movie.mkv Format : Matroska Format version : Version 4 File size : 308 MiB Duration : 10 min 0 s Overall bit rate : 4 313 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1
Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L1 Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : V_MPEG4/ISO/ASP Codec ID/Info : Advanced Simple Profile Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : Lavc57.107.100 Default : Yes Forced : No
Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB (81%) Language : English Service kind : Complete Main Default : No Forced : No
Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No
CPU info of laptop:
Legolas:~ # inxi -C -GSaz --za --vs inxi 3.3.38-00 (2025-04-06) System: Kernel: 6.4.0-150600.23.60-default arch: x86_64 bits: 64 compiler: gcc v: 7.5.0 clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.60-default root=UUID=<filter> resume=/dev/disk/by-label/Swap splash=verbose showopts Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.20.0 with: xfce4-panel tools: xfce4-screensaver dm: GDM v: 45.0.1 Distro: openSUSE Leap 15.6 CPU: Info: model: Intel Celeron N3060 socket: CHV bits: 64 type: MCP arch: Airmont level: v2 built: 2015-17 process: Intel 14nm family: 6 model-id: 0x4C (76) stepping: 4 microcode: 0x411 Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 smt: <unsupported> cache: L1: 112 KiB desc: d-2x24 KiB; i-2x32 KiB L2: 2 MiB desc: 2x1024 KiB Speed (MHz): avg: 480 min/max: 480/2480 base/boost: 1600/1660 scaling: driver: intel_pstate governor: powersave volts: 4.0 V ext-clock: 83 MHz cores: 1: 480 2: 480 bogomips: 6400 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 Vulnerabilities: <filter> Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics vendor: Lenovo driver: i915 v: kernel arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: HDMI-A-1 off: eDP-1 empty: DP-1,DP-2,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:22b1 class-ID: 0300 Device-2: Bison Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 5986:0673 class-ID: 0e02 serial: <filter> Display: server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1 compositor: xfwm4 v: 4.20.0 driver: X: loaded: modesetting unloaded: fbdev,vesa alternate: intel dri: crocus gpu: i915 display-ID: localhost:10.0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99") Monitor-1: DVI-D-0 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 92 size: 531x298mm (20.91x11.73") diag: 609mm (23.97") modes: N/A API: OpenGL v: 4.5 vendor: mesa v: 23.3.4 glx-v: 1.4 es-v: 3.2 direct-render: yes renderer: llvmpipe (LLVM 17.0.6 128 bits) device-ID: ffffffff:ffffffff memory: 3.65 GiB unified: yes API: Vulkan v: 1.3.275 layers: 1 device: 0 type: integrated-gpu name: Intel HD Graphics 400 (BSW) driver: mesa intel v: 23.3.4 device-ID: 8086:22b1 surfaces: xcb,xlib API: EGL Message: EGL data requires eglinfo. Check --recommends. Info: Tools: api: glxinfo,vulkaninfo de: xfce4-display-settings x11: xdpyinfo, xprop, xrandr Legolas:~ #
vlc output of first file:
cer@Legolas:~/Videos> cat 3b [000055f0bfe99540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055f0bff56310] main audio output error: too low audio sample frequency (0) [00007f4d48c3d780] main decoder error: failed to create audio output [000055f0bff56310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [000055f0bff56310] main audio output error: module not functional [00007f4d48c3d780] main decoder error: failed to create audio output [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d3c00f1f0] vaapi generic error: profile(3) is not supported [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d48c186e0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [00007f4d48c186e0] avcodec decoder error: existing hardware acceleration cannot be reused [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f4d3c1203c0] vaapi generic error: profile(3) is not supported [00007f4d800033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) cer@Legolas:~/Videos>
vlc output of second file:
cer@Legolas:~/Videos> cat 3c [000055edc8394540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055edc8451310] main audio output error: too low audio sample frequency (0) [00007fd330c3f8c0] main decoder error: failed to create audio output [000055edc8451310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [000055edc8451310] main audio output error: module not functional [00007fd330c3f8c0] main decoder error: failed to create audio output [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd33c03b280] vaapi generic error: profile(3) is not supported [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd330c17fe0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [00007fd330c17fe0] avcodec decoder error: existing hardware acceleration cannot be reused [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007fd33c127330] vaapi generic error: profile(3) is not supported [00007fd3780033b0] gl gl: Initialized libplacebo v5.264.1 (API v264) cer@Legolas:~/Videos>
Both the original video codec (HEVC) as the codec you choose for transcoding (mpeg4) are unsupported by your hardware. And because your hardware is not very powerful, you have bad performance. At least choose a codec that has hardware support and on your hardware, the only valid choice is H264 which is the only codec having hardware support for both encoding and decoding on your hardware. So you might get a (much) more performant playback if you encode with libx264 instead of mpeg4 and probably also better quality of the encoded video
On 2025-09-06 00:34, Ferdi Scholten via ffmpeg-user wrote:
Hi,
I'm watching a serial. Those files are made at 3840 x 1604 pixels, and display badly on my old and small Lenovo Yoga laptop connected via HDMI cable to my sitting room TV set (the sound plays well, but the video is jumpy, it can stop for several seconds). I tested several conversions to an "easier on the cpu" files, and one of these worked:
ffmpeg -t 10:0 -i movie.mkv \ -vf scale=960:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3b_movie.mkv
You may notice that the scale is wrong. The original aspect ratio is 2.3940, while this has 1.1970, so when VLC plays it it has to change the displayed aspect ratio at runtime so that it displays correctly. So I corrected the command line:
ffmpeg -t 10:0 -i movie.mkv \ -vf scale=-1:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3c_movie.mkv
which produces a 1920 x 802 as the same aspect ratio as the original 2.3940. However, it displays badly (haltingly) on the laptop!
Why?
(note: TV set is 1920 x 1080)
...
Both the original video codec (HEVC) as the codec you choose for transcoding (mpeg4) are unsupported by your hardware. And because your hardware is not very powerful, you have bad performance. At least choose a codec that has hardware support and on your hardware, the only valid choice is H264 which is the only codec having hardware support for both encoding and decoding on your hardware. So you might get a (much) more performant playback if you encode with libx264 instead of mpeg4 and probably also better quality of the encoded video
Thanks, but that is what I tried first and doesn't work well. test 1b, the video stutters badly: ffmpeg -t 10:0 -i movie.mkv \ -vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy \ 1b_movie.mkv I just tried with the wrong pixel ratio, also bad: time ffmpeg -t 10:0 -i movie.mkv \ -vf scale=960:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy \ 1c_movie.mkv 1b: Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 10@L4 Format settings : 2 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 2 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trell is=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / con strained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qps tep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No 1c: Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 10@L3.1 Format settings : 2 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 2 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 960 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.040 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trell is=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / con strained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qps tep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No I tried several conversions, only "3b" worked. No: -vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy No: -vf scale=960:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy No: -vf scale=960:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy -c:s copy Works: -vf scale=960:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ No: -vf scale=-1:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy No: -vf scale=960:802 -c:v libx264 -preset medium -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy No: -vf scale=960:802 -c:v libx264 -preset medium -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy -c:s copy I just noticed the frame rate, it goes too fast: Original Frame rate : 23.976 (24000/1001) FPS 1b: Frame rate : 130.170 FPS 1c: Frame rate mode : Variable Frame rate : 130.170 FPS 3b: Frame rate mode : Variable Frame rate : 130.170 FPS I didn't know the frame rate changed with the conversion. I don't think my laptop can cope with that frame rate. :-? Or I am misunderstanding? I did a quick test: time ffmpeg -t 10:0 -r 24 -i movie.mkv \ -vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy \ -r 24 1d_movie.mkv Doesn't work, stutters badly. So that's not it. I have to sleep. -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
On 2025-09-06 04:35, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-06 00:34, Ferdi Scholten via ffmpeg-user wrote:
Both the original video codec (HEVC) as the codec you choose for transcoding (mpeg4) are unsupported by your hardware. And because your hardware is not very powerful, you have bad performance. At least choose a codec that has hardware support and on your hardware, the only valid choice is H264 which is the only codec having hardware support for both encoding and decoding on your hardware.
I don't know if it has any importance, but I am doing the encoding on a powerful AMD computer. The files are normally shared via NFS, but I have also tried copying them to the laptop. -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
On 06-09-2025 04:43, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-06 04:35, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-06 00:34, Ferdi Scholten via ffmpeg-user wrote:
Both the original video codec (HEVC) as the codec you choose for transcoding (mpeg4) are unsupported by your hardware. And because your hardware is not very powerful, you have bad performance. At least choose a codec that has hardware support and on your hardware, the only valid choice is H264 which is the only codec having hardware support for both encoding and decoding on your hardware.
I don't know if it has any importance, but I am doing the encoding on a powerful AMD computer. The files are normally shared via NFS, but I have also tried copying them to the laptop.
As you did not share the output of your FFmpeg command there is not much else than guesswork.
On 2025-09-06 19:32, Ferdi Scholten via ffmpeg-user wrote:
On 06-09-2025 04:43, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-06 04:35, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-06 00:34, Ferdi Scholten via ffmpeg-user wrote:
Both the original video codec (HEVC) as the codec you choose for transcoding (mpeg4) are unsupported by your hardware. And because your hardware is not very powerful, you have bad performance. At least choose a codec that has hardware support and on your hardware, the only valid choice is H264 which is the only codec having hardware support for both encoding and decoding on your hardware.
I don't know if it has any importance, but I am doing the encoding on a powerful AMD computer. The files are normally shared via NFS, but I have also tried copying them to the laptop.
As you did not share the output of your FFmpeg command there is not much else than guesswork.
You did not ask for it, I did not know you wanted it, sorry. Which of them do you want, all? I'll post the one for libx264 that you suggested. cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> time ffmpeg -t 10:0 -i movie.mkv \
-vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy \ 1b_movie.mkv
ffmpeg version 3.4.14 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libiec61883 --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libx265 --enable-libxvid libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help [libx264 @ 0x55ff033d5240] using SAR=1/1 [libx264 @ 0x55ff033d5240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55ff033d5240] profile High 10, level 4.0, 4:2:0, 10-bit [libx264 @ 0x55ff033d5240] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '1b_movie.mkv': Metadata: encoder : Lavf57.83.100 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p10le, 1920x802 [SAR 1:1 DAR 960:401], q=-1--1, 23.98 fps, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc57.107.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps= 85 q=-1.0 Lsize= 203773kB time=00:09:59.97 bitrate=2782.3kbits/s speed=3.55x video:156649kB audio:46875kB subtitle:5kB other streams:0kB global headers:0kB muxing overhead: 0.120040% [libx264 @ 0x55ff033d5240] frame I:313 Avg QP:28.75 size: 42848 [libx264 @ 0x55ff033d5240] frame P:14073 Avg QP:31.43 size: 10445 [libx264 @ 0x55ff033d5240] mb I I16..4: 74.2% 0.0% 25.8% [libx264 @ 0x55ff033d5240] mb P I16..4: 6.5% 0.0% 1.2% P16..4: 28.1% 5.7% 1.6% 0.0% 0.0% skip:56.9% [libx264 @ 0x55ff033d5240] coded y,uvDC,uvAC intra: 14.5% 42.6% 7.5% inter: 5.3% 8.4% 0.7% [libx264 @ 0x55ff033d5240] i16 v,h,dc,p: 32% 24% 11% 33% [libx264 @ 0x55ff033d5240] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 24% 6% 7% 7% 6% 6% 4% [libx264 @ 0x55ff033d5240] i8c dc,h,v,p: 64% 15% 13% 8% [libx264 @ 0x55ff033d5240] ref P L0: 73.7% 26.3% [libx264 @ 0x55ff033d5240] kb/s:2138.71 real 2m49,866s user 27m18,517s sys 0m10,864s cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> l total 2036324 drwxr-xr-x 2 cer users 55 Sep 6 20:20 ./ drwxr-xr-x 7 root root 4096 Sep 6 20:19 ../ -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b_movie.mkv -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo * General Unique ID : 22096321029289776885158653381876079608 (0x109F98BCF29043BD90160248CFD75BF8) Complete name : 1b_movie.mkv Format : Matroska Format version : Version 4 File size : 199 MiB Duration : 10 min 0 s Overall bit rate : 2 782 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 10@L4 Format settings : 2 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 2 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : No Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No General Unique ID : 271279799347578328510273573056556095920 (0xCC1696C14DD847778B2137B3485CD9B0) Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 1.75 GiB Duration : 54 min 17 s Overall bit rate : 4 608 kb/s Frame rate : 23.976 FPS Encoded date : 2022-05-15 21:04:13 UTC Writing application : mkvmerge v67.0.0 ('Under Stars') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 54 min 17 s Bit rate : 3 966 kb/s Width : 3 840 pixels Height : 1 604 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.027 Stream size : 1.50 GiB (86%) Writing library : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total-frames=78104 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=5 / limit-refs=3 / no-limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder-max-rate=0 / no-vbv-live-multi-pass Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 54 min 17 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 249 MiB (14%) Language : English Service kind : Complete Main Default : No Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 31 s Bit rate : 79 b/s Frame rate : 0.311 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English (US) Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 40 s Bit rate : 84 b/s Frame rate : 0.329 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English (US) Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> and then I attempt to play it on the laptop downstairs (stutters very badly): cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 1b_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [00005620cb607540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00005620cb6c4310] main audio output error: too low audio sample frequency (0) [00007f7794cabef0] main decoder error: failed to create audio output [00005620cb6c4310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [00005620cb6c4310] main audio output error: module not functional [00007f7794cabef0] main decoder error: failed to create audio output [00007f77dc007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f7794c067e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Do you also want the output for the ffmpeg session that does produce a file that works? cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> time ffmpeg -t 10:0 -i movie.mkv \
-vf scale=960:802 -c:v mpeg4 -vtag xvid -qscale:v 3 -c:a copy -c:s copy -c:s copy \ 3b_movie.mkv
ffmpeg version 3.4.14 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libiec61883 --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libx265 --enable-libxvid libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> mpeg4 (native)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help Output #0, matroska, to '3b_movie.mkv': Metadata: encoder : Lavf57.83.100 Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 960x802 [SAR 2:1 DAR 960:401], q=2-31, 200 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc57.107.100 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps=151 q=3.0 Lsize= 216101kB time=00:09:59.97 bitrate=2950.6kbits/s speed= 6.3x video:168929kB audio:46875kB subtitle:5kB other streams:0kB global headers:0kB muxing overhead: 0.135416% real 1m36,586s user 10m10,713s sys 0m4,914s cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> l total 2252436 drwxr-xr-x 2 cer users 92 Sep 6 20:38 ./ drwxr-xr-x 7 root root 4096 Sep 6 20:19 ../ -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b_movie.mkv -rw-r--r-- 1 cer users 221287201 Sep 6 20:40 3b_movie.mkv -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv -rw-r--r-- 1 cer users 4935 Sep 6 20:30 p cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo 3b_movie.mkv General Unique ID : 48020896449390567827262049382870898409 (0x24207CFD7B4066D14A87D4A27E0D56E9) Complete name : 3b_movie.mkv Format : Matroska Format version : Version 4 File size : 211 MiB Duration : 10 min 0 s Overall bit rate : 2 950 kb/s Frame rate : 130.170 FPS Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L1 Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : V_MPEG4/ISO/ASP Codec ID/Info : Advanced Simple Profile Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 960 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.040 Stream size : 1.50 GiB Writing library : Lavc57.107.100 Default : Yes Forced : No Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : No Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> And then I play it just fine at the laptop downstairs: cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> l total 2252436 drwxr-xr-x 2 cer users 92 Sep 6 20:38 ./ drwxr-xr-x 7 root root 4096 Sep 6 20:19 ../ -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b_movie.mkv -rw-r--r-- 1 cer users 221287201 Sep 6 20:40 3b_movie.mkv -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv -rw-r--r-- 1 cer users 4935 Sep 6 20:30 p cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 3b_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [000055afc4a26540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055afc4ae3310] main audio output error: too low audio sample frequency (0) [00007ff640c3d380] main decoder error: failed to create audio output [000055afc4ae3310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [000055afc4ae3310] main audio output error: module not functional [00007ff640c3d380] main decoder error: failed to create audio output [00007ff684007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007ff64c09cf20] vaapi generic error: profile(3) is not supported [00007ff684007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007ff640c16b30] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding [00007ff640c16b30] avcodec decoder error: existing hardware acceleration cannot be reused [00007ff684007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007ff64c11ffc0] vaapi generic error: profile(3) is not supported [00007ff684007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Notice that the same video file that fails to play with vlc, 1b_movie.mkv, plays fine on kodi: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cat k cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> kodi 1b_movie.mkv libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mcedit k cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
As you did not share the output of your FFmpeg command there is not much else than guesswork.
You did not ask for it, I did not know you wanted it, sorry. Which of them do you want, all? I'll post the one for libx264 that you suggested.
The list FAQ -clearly- says to post the entire command and unedited output.
ffmpeg version 3.4.14 Copyright (c) 2000-2025 the FFmpeg developers
It also clearly says to use the most recent if you can, 3.x is positively ancient! try something built in the last six months. z!
On 2025-09-06 21:15, Carl Zwanzig via ffmpeg-user wrote:
As you did not share the output of your FFmpeg command there is not much else than guesswork.
You did not ask for it, I did not know you wanted it, sorry. Which of them do you want, all? I'll post the one for libx264 that you suggested.
The list FAQ -clearly- says to post the entire command and unedited output.
You can simply ask politely and we simple users will provide all the information you need. :-)
ffmpeg version 3.4.14 Copyright (c) 2000-2025 the FFmpeg developers
It also clearly says to use the most recent if you can, 3.x is positively ancient! try something built in the last six months.
-c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy 1d_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
-c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v high10 \ -c:a copy -c:s copy 1d2_movie.mkv fmpeg: command not found cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p10le" -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v high10 -c:a copy -c:s copy 1d2_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
-vf "scale=-1:802,format=yuv420p" \ -map 0 \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy \ 1d_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
I have whatever the distribution provides. I have just looked and found ffmpeg-4, will try that one. cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> time ffmpeg -t 10:0 -i movie.mkv -vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v baseline -c:a copy -c:s copy -c:s copy 1b_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 2, only the last option '-c:s copy' will be used. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help x264 [error]: baseline profile doesn't support a bit depth of 10 [libx264 @ 0x5649bb264140] Error setting profile baseline. [libx264 @ 0x5649bb264140] Possible profiles: baseline main high high10 high422 high444 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed! Well, you see, that's one reason for not updating the program. Scripts and recipes stop working. Try again cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> time ffmpeg -t 10:0 -i movie.mkv -vf scale=-1:802 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy -c:s copy 1b_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) ... Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 2, only the last option '-c:s copy' will be used. File '1b_movie.mkv' already exists. Overwrite? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help x264 [error]: main profile doesn't support a bit depth of 10 [libx264 @ 0x562a1e844140] Error setting profile main. [libx264 @ 0x562a1e844140] Possible profiles: baseline main high high10 high422 high444 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed! I asked chatgpt about it. It said to try: downconvert to 8-bit: ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy 1b_movie.mkv keep the video 10-bit, use a compatible H.264 profile: fmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p10le" \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v high10 \ -c:a copy -c:s copy 1b_movie.mkv I'll try both. cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" \ libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help [libx264 @ 0x5587ed95b080] using SAR=1/1 [libx264 @ 0x5587ed95b080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x5587ed95b080] profile Main, level 4.0, 4:2:0, 8-bit [libx264 @ 0x5587ed95b080] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '1d_movie.mkv': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps= 96 q=-1.0 Lsize= 205362kB time=00:09:59.96 bitrate=2804.0kbits/s speed=4.01x video:158239kB audio:46875kB subtitle:5kB other streams:0kB global headers:0kB muxing overhead: 0.118655% [libx264 @ 0x5587ed95b080] frame I:175 Avg QP:16.17 size: 73474 [libx264 @ 0x5587ed95b080] frame P:4190 Avg QP:19.45 size: 20328 [libx264 @ 0x5587ed95b080] frame B:10021 Avg QP:21.28 size: 6387 [libx264 @ 0x5587ed95b080] consecutive B-frames: 5.7% 3.1% 3.6% 87.6% [libx264 @ 0x5587ed95b080] mb I I16..4: 54.4% 0.0% 45.6% [libx264 @ 0x5587ed95b080] mb P I16..4: 12.2% 0.0% 3.9% P16..4: 36.1% 8.9% 3.8% 0.0% 0.0% skip:35.1% [libx264 @ 0x5587ed95b080] mb B I16..4: 4.1% 0.0% 0.4% B16..8: 18.0% 3.1% 0.1% direct:10.7% skip:63.5% L0:43.0% L1:49.6% BI: 7.5% [libx264 @ 0x5587ed95b080] coded y,uvDC,uvAC intra: 19.1% 56.1% 10.4% inter: 3.8% 17.8% 0.4% [libx264 @ 0x5587ed95b080] i16 v,h,dc,p: 41% 24% 13% 22% [libx264 @ 0x5587ed95b080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 21% 6% 7% 6% 6% 5% 4% [libx264 @ 0x5587ed95b080] i8c dc,h,v,p: 62% 17% 16% 5% [libx264 @ 0x5587ed95b080] ref P L0: 66.6% 33.4% [libx264 @ 0x5587ed95b080] ref B L0: 82.6% 17.4% [libx264 @ 0x5587ed95b080] ref B L1: 95.3% 4.7% [libx264 @ 0x5587ed95b080] kb/s:2160.42 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> fmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p10le" \ libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help [libx264 @ 0x55562ca4b080] using SAR=1/1 [libx264 @ 0x55562ca4b080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55562ca4b080] profile High 10, level 4.0, 4:2:0, 10-bit [libx264 @ 0x55562ca4b080] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '1d2_movie.mkv': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p10le(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps= 77 q=-1.0 Lsize= 190321kB time=00:09:59.96 bitrate=2598.6kbits/s speed= 3.2x video:143198kB audio:46875kB subtitle:5kB other streams:0kB global headers:0kB muxing overhead: 0.127962% [libx264 @ 0x55562ca4b080] frame I:180 Avg QP:27.01 size: 71302 [libx264 @ 0x55562ca4b080] frame P:4239 Avg QP:30.27 size: 19262 [libx264 @ 0x55562ca4b080] frame B:9967 Avg QP:33.17 size: 5232 [libx264 @ 0x55562ca4b080] consecutive B-frames: 5.4% 5.3% 3.8% 85.4% [libx264 @ 0x55562ca4b080] mb I I16..4: 43.7% 40.8% 15.5% [libx264 @ 0x55562ca4b080] mb P I16..4: 14.6% 6.0% 1.3% P16..4: 31.3% 7.0% 2.1% 0.0% 0.0% skip:37.8% [libx264 @ 0x55562ca4b080] mb B I16..4: 2.2% 3.8% 0.1% B16..8: 13.3% 2.0% 0.1% direct: 3.1% skip:75.5% L0:39.3% L1:50.6% BI:10.1% [libx264 @ 0x55562ca4b080] 8x8 transform intra:41.2% inter:59.5% [libx264 @ 0x55562ca4b080] coded y,uvDC,uvAC intra: 26.3% 44.3% 8.6% inter: 3.2% 6.9% 0.4% [libx264 @ 0x55562ca4b080] i16 v,h,dc,p: 33% 24% 11% 32% [libx264 @ 0x55562ca4b080] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 17% 26% 4% 7% 7% 7% 7% 6% [libx264 @ 0x55562ca4b080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 16% 6% 9% 8% 8% 6% 5% [libx264 @ 0x55562ca4b080] i8c dc,h,v,p: 63% 16% 14% 8% [libx264 @ 0x55562ca4b080] ref P L0: 64.9% 35.1% [libx264 @ 0x55562ca4b080] ref B L0: 83.8% 16.2% [libx264 @ 0x55562ca4b080] ref B L1: 95.8% 4.2% [libx264 @ 0x55562ca4b080] kb/s:1955.07 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ls -ltr total 2648112 -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b3_movie.mkv -rw-r--r-- 1 cer users 221287201 Sep 6 20:40 3b3_movie.mkv -rw-r--r-- 1 cer users 0 Sep 6 22:00 1b_movie.mkv -rw-r--r-- 1 cer users 210290209 Sep 6 22:08 1d_movie.mkv -rw-r--r-- 1 cer users 194888271 Sep 6 22:14 1d2_movie.mkv cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> First version (converting to 8 bit) plays fine in VLC. Second version (keeping 10 bit) plays badly in VLC, but plays fine in Kodi. Chatgpt said that some players do not handle 10 bit, so that was it. VLC output: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> l total 2648136 drwxr-xr-x 2 cer users 180 Sep 6 22:25 ./ drwxr-xr-x 7 root root 4096 Sep 6 20:19 ../ -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b3_movie.mkv -rw-r--r-- 1 cer users 0 Sep 6 22:00 1b_movie.mkv -rw-r--r-- 1 cer users 194888271 Sep 6 22:14 1d2_movie.mkv -rw-r--r-- 1 cer users 210290209 Sep 6 22:08 1d_movie.mkv -rw-r--r-- 1 cer users 221287201 Sep 6 20:40 3b3_movie.mkv -rw-r--r-- 1 cer users 403 Sep 6 22:26 k -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv -rw-r--r-- 1 cer users 15002 Sep 6 22:23 v cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cat v cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ls -ltr total 2648112 -rw-r--r-- 1 cer users 1876521220 Sep 6 20:18 movie.mkv -rw-r--r-- 1 cer users 208663271 Sep 6 20:23 1b3_movie.mkv -rw-r--r-- 1 cer users 221287201 Sep 6 20:40 3b3_movie.mkv -rw-r--r-- 1 cer users 0 Sep 6 22:00 1b_movie.mkv -rw-r--r-- 1 cer users 210290209 Sep 6 22:08 1d_movie.mkv -rw-r--r-- 1 cer users 194888271 Sep 6 22:14 1d2_movie.mkv cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 1d_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [0000555990b17540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0000555990bd4310] main audio output error: too low audio sample frequency (0) [00007f1994cac390] main decoder error: failed to create audio output [0000555990bd4310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [0000555990bd4310] main audio output error: module not functional [00007f1994cac390] main decoder error: failed to create audio output [00007f19cc007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 [00007f1994c18bc0] avcodec decoder: Using Intel i965 driver for Intel(R) CherryView - 2.4.1 for hardware decoding [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 34159001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 45254001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 55889001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 76243001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 106148001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 116158001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 126126001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 136094001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 146146001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [h264 @ 0x7f1994c90ca0] get_buffer() failed [h264 @ 0x7f1994c90ca0] thread_get_buffer() failed [h264 @ 0x7f1994c90ca0] decode_slice_header error [h264 @ 0x7f1994c90ca0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 166208001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c90ca0] get_buffer() failed [h264 @ 0x7f1994c90ca0] thread_get_buffer() failed [h264 @ 0x7f1994c90ca0] decode_slice_header error [h264 @ 0x7f1994c90ca0] no frame! [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 186144001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 206206001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 215340001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 226184001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 246163001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 256173001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c3aaa0] get_buffer() failed [h264 @ 0x7f1994c3aaa0] thread_get_buffer() failed [h264 @ 0x7f1994c3aaa0] decode_slice_header error [h264 @ 0x7f1994c3aaa0] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 266183001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c49620] get_buffer() failed [h264 @ 0x7f1994c49620] thread_get_buffer() failed [h264 @ 0x7f1994c49620] decode_slice_header error [h264 @ 0x7f1994c49620] no frame! [00007f1994c18bc0] main decoder error: Timestamp conversion failed for 276151001: no reference clock [00007f1994c18bc0] main decoder error: Could not convert timestamp 0 for FFmpeg [h264 @ 0x7f1994c90ca0] get_buffer() failed [h264 @ 0x7f1994c90ca0] thread_get_buffer() failed [h264 @ 0x7f1994c90ca0] decode_slice_header error [h264 @ 0x7f1994c90ca0] no frame! cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 1d2_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [00005647e0cdb540] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00005647e0d98310] main audio output error: too low audio sample frequency (0) [00007fd8fccac2b0] main decoder error: failed to create audio output [00005647e0d98310] vlcpulse audio output error: digital pass-through stream connection failure: Not supported [00005647e0d98310] main audio output error: module not functional [00007fd8fccac2b0] main decoder error: failed to create audio output [00007fd934007e50] gl gl: Initialized libplacebo v5.264.1 (API v264) [h264 @ 0x7fd8fcc3a880] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] mmco: unref short failure [h264 @ 0x7fd8fcc49540] co located POCs unavailable [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc3a880] mmco: unref short failure [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] mmco: unref short failure [h264 @ 0x7fd8fcc49540] co located POCs unavailable [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] mmco: unref short failure [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] mmco: unref short failure [h264 @ 0x7fd8fcc49540] co located POCs unavailable [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [h264 @ 0x7fd8fcc3a880] mmco: unref short failure [h264 @ 0x7fd8fcc90bc0] co located POCs unavailable [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fd8fcc105f0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [h264 @ 0x7fd8fcc3a880] co located POCs unavailable [h264 @ 0x7fd8fcc49540] mmco: unref short failure cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cat k cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> kodi 1d2_movie.mkv libva info: VA-API version 1.20.0 libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 cer@Legolas:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Well, initial problem solved, thanks. :-) I still have the problem of having all subtittle streams copied. chatgpt says to use: ffmpeg -t 10:0 -i movie.mkv \ -vf "scale=-1:802,format=yuv420p" \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy \ -map 0:v:0 -map 0:a:0 -map 0:s:0 -map 0:s:1 \ 1d_movie.mkv or ffmpeg -t 10:0 -i movie.mkv \ -vf "scale=-1:802,format=yuv420p" \ -map 0 \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy \ 1d_movie.mkv These work, except that now the audio now doesn't work. VLC says: Codec not supported: VLC could not decode the format "eac3" (A/52 B Audio (aka E-AC3) Which is weird. When only one subtitle stream was copied, and the audio was copied, it worked. Can you suggest a command line similar to ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" \ -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy 1d_movie.mkv that will copy all subtittle streams and doesn't make the audio to fail? Command line output: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv \ libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES File '1d_movie.mkv' already exists. Overwrite? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Press [q] to stop, [?] for help [libx264 @ 0x55a586791140] using SAR=1/1 [libx264 @ 0x55a586791140] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55a586791140] profile Main, level 4.0, 4:2:0, 8-bit [libx264 @ 0x55a586791140] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '1d_movie.mkv': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps= 96 q=-1.0 Lsize= 205372kB time=00:09:59.96 bitrate=2804.2kbits/s speed= 4x video:158239kB audio:46875kB subtitle:10kB other streams:0kB global headers:0kB muxing overhead: 0.121187% [libx264 @ 0x55a586791140] frame I:175 Avg QP:16.17 size: 73474 [libx264 @ 0x55a586791140] frame P:4190 Avg QP:19.45 size: 20328 [libx264 @ 0x55a586791140] frame B:10021 Avg QP:21.28 size: 6387 [libx264 @ 0x55a586791140] consecutive B-frames: 5.7% 3.1% 3.6% 87.6% [libx264 @ 0x55a586791140] mb I I16..4: 54.4% 0.0% 45.6% [libx264 @ 0x55a586791140] mb P I16..4: 12.2% 0.0% 3.9% P16..4: 36.1% 8.9% 3.8% 0.0% 0.0% skip:35.1% [libx264 @ 0x55a586791140] mb B I16..4: 4.1% 0.0% 0.4% B16..8: 18.0% 3.1% 0.1% direct:10.7% skip:63.5% L0:43.0% L1:49.6% BI: 7.5% [libx264 @ 0x55a586791140] coded y,uvDC,uvAC intra: 19.1% 56.1% 10.4% inter: 3.8% 17.8% 0.4% [libx264 @ 0x55a586791140] i16 v,h,dc,p: 41% 24% 13% 22% [libx264 @ 0x55a586791140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 21% 6% 7% 6% 6% 5% 4% [libx264 @ 0x55a586791140] i8c dc,h,v,p: 62% 17% 16% 5% [libx264 @ 0x55a586791140] ref P L0: 66.6% 33.4% [libx264 @ 0x55a586791140] ref B L0: 82.6% 17.4% [libx264 @ 0x55a586791140] ref B L1: 95.3% 4.7% [libx264 @ 0x55a586791140] kb/s:2160.42 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo 1d_movie.mkv General Unique ID : 41067980110049029574059762741210212452 (0x1EE567BF7181E9C67E090DB38BFB6864) Complete name : 1d_movie.mkv Format : Matroska Format version : Version 4 File size : 201 MiB Duration : 10 min 0 s Overall bit rate : 2 804 kb/s Frame rate : 130.170 FPS Writing application : Lavf58.76.100 Writing library : Lavf58.76.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : 4 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=0 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : Yes Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : Yes Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 84 b/s Frame rate : 1.736 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 1d_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [0000561b1e2559a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0000561b1e31ceb0] main audio output error: too low audio sample frequency (0) [00007fba9cf46320] main decoder error: failed to create audio output [00007fba9cf46320] main decoder error: Codec `eac3' (A/52 B Audio (aka E-AC3)) is not supported. [00007fba9cc18630] gstdecode decoder: got new caps video/x-raw, format=(string)NV12, width=(int)1920, height=(int)802, framerate=(fraction)250000/10427, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, views=(int)2, chroma-site=(string)mpeg2, colorimetry=(string)bt709 [00007fba5c03d890] gl gl: Initialized libplacebo v5.264.1 (API v264) [00007fba5ca4e380] deinterlace filter error: unknown or incompatible deinterlace mode "x" for packed format cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Input movie info: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo movie.mkv General Unique ID : 271279799347578328510273573056556095920 (0xCC1696C14DD847778B2137B3485CD9B0) Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 1.75 GiB Duration : 54 min 17 s Overall bit rate : 4 608 kb/s Frame rate : 23.976 FPS Encoded date : 2022-05-15 21:04:13 UTC Writing application : mkvmerge v67.0.0 ('Under Stars') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 54 min 17 s Bit rate : 3 966 kb/s Width : 3 840 pixels Height : 1 604 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.027 Stream size : 1.50 GiB (86%) Writing library : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total-frames=78104 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=5 / limit-refs=3 / no-limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder-max-rate=0 / no-vbv-live-multi-pass Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 54 min 17 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 249 MiB (14%) Language : English Service kind : Complete Main Default : No Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 31 s Bit rate : 79 b/s Frame rate : 0.311 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English (US) Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 40 s Bit rate : 84 b/s Frame rate : 0.329 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English (US) Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> If you need more info, please just ask for it :-) -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
On 06-09-2025 23:44, Carlos E. R. via ffmpeg-user wrote:
It also clearly says to use the most recent if you can, 3.x is positively ancient! try something built in the last six months.
I have whatever the distribution provides. I have just looked and found ffmpeg-4, will try that one.
Please stop using antique versions.... FFmpeg is currently on version 8.0, use that or at least any of the 7.x series if you want support. These ancient versions are often feature incomplete or even incompatible for today's codecs. They don't get updated, only the occasional bugfix (like correcting typo's in the documentation....) Also because of the fact that from version 7.0 the api has changed, breaking compatibility with older versions. Mostly since then, the speed has greatly increased (because of the new multithreading abilities) and support for modern codecs got a lot better.
On 2025-09-08 07:51, Ferdi Scholten via ffmpeg-user wrote:
On 06-09-2025 23:44, Carlos E. R. via ffmpeg-user wrote:
It also clearly says to use the most recent if you can, 3.x is positively ancient! try something built in the last six months.
I have whatever the distribution provides. I have just looked and found ffmpeg-4, will try that one.
Please stop using antique versions....
FFmpeg is currently on version 8.0, use that or at least any of the 7.x series if you want support. These ancient versions are often feature incomplete or even incompatible for today's codecs. They don't get updated, only the occasional bugfix (like correcting typo's in the documentation....)
Also because of the fact that from version 7.0 the api has changed, breaking compatibility with older versions. Mostly since then, the speed has greatly increased (because of the new multithreading abilities) and support for modern codecs got a lot better.
-c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main \ -c:a copy -c:s copy -c:s copy 8_movie.mkv ffmpeg version 4.4.6 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
I had no idea there was a version 8, now searching for it I see it. As you say the api has changed, could you suggest a command line for doing the conversion? Similar to: ffmpeg -i movie.mkv \ -vf "scale=-1:802,format=yuv420p" -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy \ output.mkv but with 2 subtitle streams. I get audio not supported on VLC, and only one subtittle stream. On version 3 and 4, same line gets working audio, and one subtittle stream. Attempts to produce the two subtittles on version 4 killed the audio. Tried also this concoction suggested by chatgpt, VLC also refuses to play the audio but generates the two subtittles: ffmpeg -i movie.mkv -vf "scale=-1:802,format=yuv420p" -map 0 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a aac -b:a 192k -c:s copy -disposition:a:0 default 8c_movie.mkv CLI outputs: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" \ libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 2, only the last option '-c:s copy' will be used. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Press [q] to stop, [?] for help [libx264 @ 0x55cfb07d2140] using SAR=1/1 [libx264 @ 0x55cfb07d2140] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55cfb07d2140] profile Main, level 4.0, 4:2:0, 8-bit [libx264 @ 0x55cfb07d2140] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '8_movie.mkv': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES frame=14386 fps= 96 q=-1.0 Lsize= 205362kB time=00:09:59.96 bitrate=2804.0kbits/s speed=4.02x video:158239kB audio:46875kB subtitle:5kB other streams:0kB global headers:0kB muxing overhead: 0.118655% [libx264 @ 0x55cfb07d2140] frame I:175 Avg QP:16.17 size: 73474 [libx264 @ 0x55cfb07d2140] frame P:4190 Avg QP:19.45 size: 20328 [libx264 @ 0x55cfb07d2140] frame B:10021 Avg QP:21.28 size: 6387 [libx264 @ 0x55cfb07d2140] consecutive B-frames: 5.7% 3.1% 3.6% 87.6% [libx264 @ 0x55cfb07d2140] mb I I16..4: 54.4% 0.0% 45.6% [libx264 @ 0x55cfb07d2140] mb P I16..4: 12.2% 0.0% 3.9% P16..4: 36.1% 8.9% 3.8% 0.0% 0.0% skip:35.1% [libx264 @ 0x55cfb07d2140] mb B I16..4: 4.1% 0.0% 0.4% B16..8: 18.0% 3.1% 0.1% direct:10.7% skip:63.5% L0:43.0% L1:49.6% BI: 7.5% [libx264 @ 0x55cfb07d2140] coded y,uvDC,uvAC intra: 19.1% 56.1% 10.4% inter: 3.8% 17.8% 0.4% [libx264 @ 0x55cfb07d2140] i16 v,h,dc,p: 41% 24% 13% 22% [libx264 @ 0x55cfb07d2140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 21% 6% 7% 6% 6% 5% 4% [libx264 @ 0x55cfb07d2140] i8c dc,h,v,p: 62% 17% 16% 5% [libx264 @ 0x55cfb07d2140] ref P L0: 66.6% 33.4% [libx264 @ 0x55cfb07d2140] ref B L0: 82.6% 17.4% [libx264 @ 0x55cfb07d2140] ref B L1: 95.3% 4.7% [libx264 @ 0x55cfb07d2140] kb/s:2160.42 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 8_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [00005643dfd799a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00005643dfe40eb0] main audio output error: too low audio sample frequency (0) [00007f39dcf45a30] main decoder error: failed to create audio output [00007f39dcf45a30] main decoder error: Codec `eac3' (A/52 B Audio (aka E-AC3)) is not supported. <============ [00007f39dcc183f0] gstdecode decoder: got new caps video/x-raw, format=(string)NV12, width=(int)1920, height=(int)802, framerate=(fraction)250000/10427, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, views=(int)2, chroma-site=(string)mpeg2, colorimetry=(string)bt709 [00007f3a2c008be0] gl gl: Initialized libplacebo v5.264.1 (API v264) [00007f3a2c8d9200] deinterlace filter error: unknown or incompatible deinterlace mode "x" for packed format cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Media info: cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo movie.mkv General Unique ID : 271279799347578328510273573056556095920 (0xCC1696C14DD847778B2137B3485CD9B0) Complete name : movie.mkv Format : Matroska Format version : Version 4 File size : 1.75 GiB Duration : 54 min 17 s Overall bit rate : 4 608 kb/s Frame rate : 23.976 FPS Encoded date : 2022-05-15 21:04:13 UTC Writing application : mkvmerge v67.0.0 ('Under Stars') 64-bit Writing library : libebml v1.4.2 + libmatroska v1.6.4 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 54 min 17 s Bit rate : 3 966 kb/s Width : 3 840 pixels Height : 1 604 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.027 Stream size : 1.50 GiB (86%) Writing library : x265 3.5+12+14-106329cbd:[Windows][GCC 10.3.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=3840x1604 / interlace=0 / total-frames=78104 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=5 / limit-refs=3 / no-limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0 / conformance-window-right-offset=0 / conformance-window-bottom-offset=0 / decoder-max-rate=0 / no-vbv-live-multi-pass Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 54 min 17 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 249 MiB (14%) Language : English Service kind : Complete Main Default : No Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 31 s Bit rate : 79 b/s Frame rate : 0.311 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English (US) Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 52 min 40 s Bit rate : 84 b/s Frame rate : 0.329 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English (US) Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo 8_movie.mkv General Unique ID : 269958523703604309758759108744667515916 (0xCB181ED61862744842BB25DEAD04CC0C) Complete name : 8_movie.mkv Format : Matroska Format version : Version 4 File size : 201 MiB Duration : 10 min 0 s Overall bit rate : 2 804 kb/s Frame rate : 130.170 FPS Writing application : Lavf58.76.100 Writing library : Lavf58.76.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : 4 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=0 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 10 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Language : English Service kind : Complete Main Default : Yes Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : Yes Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> Trying to convert the audio. cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" -map 0 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a aac -b:a 192k -c:s copy -disposition:a:0 default 8c_movie.mkv ffmpeg version 8.0 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopenh264 --enable-libopus --enable-libpulse --enable-librav1e --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-libvpl --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-libxvid libavutil 60. 8.100 / 60. 8.100 libavcodec 62. 11.100 / 62. 11.100 libavformat 62. 3.100 / 62. 3.100 libavdevice 62. 1.100 / 62. 1.100 libavfilter 11. 4.100 / 11. 4.100 libswscale 9. 1.100 / 9. 1.100 libswresample 6. 1.100 / 6. 1.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (srt) Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (srt) (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (eac3 (native) -> aac (native)) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Press [q] to stop, [?] for help [aac @ 0x557b2dd67d80] Using a PCE to encode channel layout "5.1(side)" [libx264 @ 0x557b2d2970c0] using SAR=1/1 [libx264 @ 0x557b2d2970c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x557b2d2970c0] profile Main, level 4.0, 4:2:0, 8-bit [libx264 @ 0x557b2d2970c0] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '8c_movie.mkv': Metadata: encoder : Lavf62.3.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: encoder : Lavc62.11.100 libx264 BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, 5.1(side), fltp, 192 kb/s (default) Metadata: encoder : Lavc62.11.100 aac BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [out#0/matroska @ 0x557b2d2c47c0] video:158239KiB audio:14030KiB subtitle:10KiB other streams:0KiB global headers:0KiB muxing overhead: 0.181263% frame=14386 fps= 92 q=-1.0 Lsize= 172590KiB time=00:09:59.77 bitrate=2357.3kbits/s speed=3.83x elapsed=0:02:36.43 [libx264 @ 0x557b2d2970c0] frame I:175 Avg QP:16.17 size: 73474 [libx264 @ 0x557b2d2970c0] frame P:4190 Avg QP:19.45 size: 20328 [libx264 @ 0x557b2d2970c0] frame B:10021 Avg QP:21.28 size: 6387 [libx264 @ 0x557b2d2970c0] consecutive B-frames: 5.7% 3.1% 3.6% 87.6% [libx264 @ 0x557b2d2970c0] mb I I16..4: 54.4% 0.0% 45.6% [libx264 @ 0x557b2d2970c0] mb P I16..4: 12.2% 0.0% 3.9% P16..4: 36.1% 8.9% 3.8% 0.0% 0.0% skip:35.1% [libx264 @ 0x557b2d2970c0] mb B I16..4: 4.1% 0.0% 0.4% B16..8: 18.0% 3.1% 0.1% direct:10.7% skip:63.5% L0:43.0% L1:49.6% BI: 7.5% [libx264 @ 0x557b2d2970c0] coded y,uvDC,uvAC intra: 19.1% 56.1% 10.4% inter: 3.8% 17.8% 0.4% [libx264 @ 0x557b2d2970c0] i16 v,h,dc,p: 41% 24% 13% 22% [libx264 @ 0x557b2d2970c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 21% 6% 7% 6% 6% 5% 4% [libx264 @ 0x557b2d2970c0] i8c dc,h,v,p: 62% 17% 16% 5% [libx264 @ 0x557b2d2970c0] ref P L0: 66.6% 33.4% [libx264 @ 0x557b2d2970c0] ref B L0: 82.6% 17.4% [libx264 @ 0x557b2d2970c0] ref B L1: 95.3% 4.7% [libx264 @ 0x557b2d2970c0] kb/s:2160.42 [aac @ 0x557b2dd67d80] Qavg: 889.920 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 8c_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [000055a312def9a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007f0014f467d0] main decoder error: Codec `mp4a' (MPEG AAC Audio) is not supported. <============ [00007f0014c18630] gstdecode decoder: got new caps video/x-raw, format=(string)NV12, width=(int)1920, height=(int)802, framerate=(fraction)250000/10427, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, views=(int)2, chroma-site=(string)mpeg2, colorimetry=(string)bt709 [00007f008c0094c0] gl gl: Initialized libplacebo v5.264.1 (API v264) [00007f008c8da1d0] deinterlace filter error: unknown or incompatible deinterlace mode "x" for packed format cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo 8c_movie.mkv General Unique ID : 221292233342500440357460353674679332567 (0xA67B557835050C94491939C217C2AED7) Complete name : 8c_movie.mkv Format : Matroska Format version : Version 4 File size : 169 MiB Duration : 10 min 0 s Overall bit rate : 2 356 kb/s Frame rate : 130.170 FPS Writing application : Lavf62.3.100 Writing library : Lavf62.3.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : 4 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=0 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 10 min 0 s Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C Cb Lb Rb Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 249 MiB Writing library : Lavc62.11.100 aac Language : English Default : Yes Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 84 b/s Frame rate : 1.736 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
On 08-09-2025 15:26, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-08 07:51, Ferdi Scholten via ffmpeg-user wrote:
On 06-09-2025 23:44, Carlos E. R. via ffmpeg-user wrote:
It also clearly says to use the most recent if you can, 3.x is positively ancient! try something built in the last six months.
I have whatever the distribution provides. I have just looked and found ffmpeg-4, will try that one.
Please stop using antique versions....
FFmpeg is currently on version 8.0, use that or at least any of the 7.x series if you want support. These ancient versions are often feature incomplete or even incompatible for today's codecs. They don't get updated, only the occasional bugfix (like correcting typo's in the documentation....)
Also because of the fact that from version 7.0 the api has changed, breaking compatibility with older versions. Mostly since then, the speed has greatly increased (because of the new multithreading abilities) and support for modern codecs got a lot better.
I had no idea there was a version 8, now searching for it I see it.
As you say the api has changed, could you suggest a command line for doing the conversion? Similar to:
ffmpeg -i movie.mkv \ -vf "scale=-1:802,format=yuv420p" -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy \ output.mkv
but with 2 subtitle streams. I get audio not supported on VLC, and only one subtittle stream. On version 3 and 4, same line gets working audio, and one subtittle stream. Attempts to produce the two subtittles on version 4 killed the audio.
Tried also this concoction suggested by chatgpt, VLC also refuses to play the audio but generates the two subtittles:
ffmpeg -i movie.mkv -vf "scale=-1:802,format=yuv420p" -map 0 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a aac -b:a 192k -c:s copy -disposition:a:0 default 8c_movie.mkv
This looks pretty good to me, bt I would personally drop the "-disposition:a:0 default" from it and use libopus instead of aac So replace "-c:a aac -b:a 192k" with "-c:a libopus -ac 6" Your VLC seems to have a problem with eac and aac codecs as both error out that is why I suggest opus instead (it also is better quality as aac)
On 2025-09-08 23:30, Ferdi Scholten via ffmpeg-user wrote:
On 08-09-2025 15:26, Carlos E. R. via ffmpeg-user wrote:
On 2025-09-08 07:51, Ferdi Scholten via ffmpeg-user wrote:
On 06-09-2025 23:44, Carlos E. R. via ffmpeg-user wrote:
I had no idea there was a version 8, now searching for it I see it.
As you say the api has changed, could you suggest a command line for doing the conversion? Similar to:
ffmpeg -i movie.mkv \ -vf "scale=-1:802,format=yuv420p" -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy \ output.mkv
but with 2 subtitle streams. I get audio not supported on VLC, and only one subtittle stream. On version 3 and 4, same line gets working audio, and one subtittle stream. Attempts to produce the two subtittles on version 4 killed the audio.
Tried also this concoction suggested by chatgpt, VLC also refuses to play the audio but generates the two subtittles:
ffmpeg -i movie.mkv -vf "scale=-1:802,format=yuv420p" -map 0 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a aac -b:a 192k -c:s copy -disposition:a:0 default 8c_movie.mkv
This looks pretty good to me, bt I would personally drop the "- disposition:a:0 default" from it and use libopus instead of aac So replace "-c:a aac -b:a 192k" with "-c:a libopus -ac 6"
Your VLC seems to have a problem with eac and aac codecs as both error out that is why I suggest opus instead (it also is better quality as aac)
Thanks. [...] Maybe I did something wrong, there is no audio on vlc :-? Kodi works, but it is not convenient. cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> ffmpeg -t 10:0 -i movie.mkv -vf "scale=-1:802,format=yuv420p" -map 0 -c:v libx264 -preset fast -crf 22 -tune fastdecode -profile:v main -c:a libopus -ac 6 -c:s copy 8d_movie.mkv ffmpeg version 8.0 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 7 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopenh264 --enable-libopus --enable-libpulse --enable-librav1e --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-libvpl --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-libxvid libavutil 60. 8.100 / 60. 8.100 libavcodec 62. 11.100 / 62. 11.100 libavformat 62. 3.100 / 62. 3.100 libavdevice 62. 1.100 / 62. 1.100 libavfilter 11. 4.100 / 11. 4.100 libswscale 9. 1.100 / 9. 1.100 libswresample 6. 1.100 / 6. 1.100 Input #0, matroska,webm, from 'movie.mkv': Metadata: encoder : libebml v1.4.2 + libmatroska v1.6.4 creation_time : 2022-05-15T21:04:13.000000Z Duration: 00:54:17.60, start: 0.000000, bitrate: 4608 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 3840x1604, SAR 1:1 DAR 960:401, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (srt) Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (srt) (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (eac3 (native) -> opus (libopus)) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Press [q] to stop, [?] for help [libopus @ 0x5641052e3d00] No bit rate set. Defaulting to 320000 bps. [libx264 @ 0x5641048130c0] using SAR=1/1 [libx264 @ 0x5641048130c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x5641048130c0] profile Main, level 4.0, 4:2:0, 8-bit [libx264 @ 0x5641048130c0] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=0:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to '8d_movie.mkv': Metadata: encoder : Lavf62.3.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], q=2-31, 23.98 fps, 1k tbn (default) Metadata: encoder : Lavc62.11.100 libx264 BPS : 3966208 DURATION : 00:54:17.588000000 NUMBER_OF_FRAMES: 78104 NUMBER_OF_BYTES : 1615034142 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1(eng): Audio: opus ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, 5.1, flt, 320 kb/s Metadata: encoder : Lavc62.11.100 libopus BPS : 640000 DURATION : 00:54:17.600000000 NUMBER_OF_FRAMES: 101800 NUMBER_OF_BYTES : 260608000 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip (default) Metadata: BPS : 79 DURATION : 00:52:31.318000000 NUMBER_OF_FRAMES: 980 NUMBER_OF_BYTES : 31376 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: subrip (hearing impaired) Metadata: title : SDH BPS : 84 DURATION : 00:52:40.980000000 NUMBER_OF_FRAMES: 1041 NUMBER_OF_BYTES : 33504 _STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-05-15 21:04:13 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [out#0/matroska @ 0x5641048407c0] video:158239KiB audio:23658KiB subtitle:10KiB other streams:0KiB global headers:0KiB muxing overhead: 0.178860% frame=14386 fps= 94 q=-1.0 Lsize= 182231KiB time=00:09:59.77 bitrate=2489.0kbits/s speed=3.91x elapsed=0:02:33.51 [libx264 @ 0x5641048130c0] frame I:175 Avg QP:16.17 size: 73474 [libx264 @ 0x5641048130c0] frame P:4190 Avg QP:19.45 size: 20328 [libx264 @ 0x5641048130c0] frame B:10021 Avg QP:21.28 size: 6387 [libx264 @ 0x5641048130c0] consecutive B-frames: 5.7% 3.1% 3.6% 87.6% [libx264 @ 0x5641048130c0] mb I I16..4: 54.4% 0.0% 45.6% [libx264 @ 0x5641048130c0] mb P I16..4: 12.2% 0.0% 3.9% P16..4: 36.1% 8.9% 3.8% 0.0% 0.0% skip:35.1% [libx264 @ 0x5641048130c0] mb B I16..4: 4.1% 0.0% 0.4% B16..8: 18.0% 3.1% 0.1% direct:10.7% skip:63.5% L0:43.0% L1:49.6% BI: 7.5% [libx264 @ 0x5641048130c0] coded y,uvDC,uvAC intra: 19.1% 56.1% 10.4% inter: 3.8% 17.8% 0.4% [libx264 @ 0x5641048130c0] i16 v,h,dc,p: 41% 24% 13% 22% [libx264 @ 0x5641048130c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 21% 6% 7% 6% 6% 5% 4% [libx264 @ 0x5641048130c0] i8c dc,h,v,p: 62% 17% 16% 5% [libx264 @ 0x5641048130c0] ref P L0: 66.6% 33.4% [libx264 @ 0x5641048130c0] ref B L0: 82.6% 17.4% [libx264 @ 0x5641048130c0] ref B L1: 95.3% 4.7% [libx264 @ 0x5641048130c0] kb/s:2160.42 cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> vlc 8d_movie.mkv VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [000055bfa949d9a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted ... many of the same [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted [00007f2468f46ab0] opus decoder error: cannot read Opus header cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> mediainfo 8d_movie.mkv General Unique ID : 292535759913027140487632929033961707487 (0xDC145685FDFB3A5BC1FC3D84AF0D97DF) Complete name : 8d_movie.mkv Format : Matroska Format version : Version 4 File size : 178 MiB Duration : 10 min 0 s Overall bit rate : 2 488 kb/s Frame rate : 130.170 FPS Writing application : Lavf62.3.100 Writing library : Lavf62.3.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : 4 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate : 3 966 kb/s Width : 1 920 pixels Height : 802 pixels Display aspect ratio : 2.39:1 Frame rate mode : Variable Frame rate : 130.170 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.020 Stream size : 1.50 GiB Writing library : x264 core 164 Encoding settings : cabac=0 / ref=2 / deblock=0:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=0 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : Opus Codec ID : A_OPUS Duration : 10 min 0 s Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C Lb Rb LFE Sampling rate : 48.0 kHz Frame rate : 169.664 FPS (283 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 249 MiB Writing library : Lavc62.11.100 libopus Language : English Default : No Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 79 b/s Frame rate : 1.634 FPS Count of elements : 980 Stream size : 30.6 KiB (0%) Language : English Default : Yes Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 9 min 59 s Bit rate : 84 b/s Frame rate : 1.736 FPS Count of elements : 1041 Stream size : 32.7 KiB (0%) Title : SDH Language : English Default : No Forced : No cer@Telcontar:/mnt/nfs/Isengard/xfsRaid/Videos/tmp> -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar)
participants (3)
-
Carl Zwanzig -
Carlos E. R. -
Ferdi Scholten