Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #77434 > unrolled thread
| Started by | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| First post | 2025-11-12 23:20 +0000 |
| Last post | 2025-11-13 23:32 +0000 |
| Articles | 20 on this page of 56 — 9 participants |
Back to article view | Back to comp.os.linux.misc
My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-12 23:20 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-12 23:51 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-13 11:01 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:05 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-11-13 08:29 -0500
Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 14:46 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-11-13 11:35 -0500
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 14:56 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 14:54 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 23:14 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:03 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 20:12 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 22:23 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-15 07:25 +1000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-14 22:58 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-14 22:12 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-15 00:00 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-14 23:27 +0000
fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:29 +0100
Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 00:39 +0000
Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 03:00 +0100
Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 02:33 +0000
Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:03 +0100
Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 21:25 +0000
Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 12:48 +0100
Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 01:00 +0000
Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 07:22 +0100
fmpeg drift (2) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:34 +0100
Re: fmpeg drift (2) ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-16 13:34 +0000
Re: fmpeg drift (2) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:19 +0100
Re: fmpeg drift (2) - solved? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 23:56 +0100
Re: fmpeg drift (2) - solved? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-17 00:49 +0000
Re: fmpeg drift (2) - solved? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 03:17 +0100
Re: fmpeg drift (2) - solved? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-17 02:39 +0000
Re: fmpeg drift (2) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 21:21 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Joerg Walther <joerg.walther@magenta.de> - 2025-11-15 09:50 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 22:09 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:00 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 00:32 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 03:01 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 02:33 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 23:09 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 22:41 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-16 22:45 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Joerg Walther <joerg.walther@magenta.de> - 2025-11-16 11:32 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:26 +0100
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:35 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:37 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:33 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-16 07:31 +1000
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 22:08 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-17 07:00 +1000
Re: My 2 favorite tools for reading Linux manual pages the easy way candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-11-13 18:50 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-13 19:20 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:12 +0000
Re: My 2 favorite tools for reading Linux manual pages the easy way Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-13 23:32 +0000
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 03:00 +0100 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <4qnnulx1tn.ln2@Telcontar.valinor> |
| In reply to | #77604 |
On 2025-11-16 01:39, Lawrence D’Oliveiro wrote: > On Sun, 16 Nov 2025 00:29:20 +0100, Carlos E.R. wrote: > >> Now try to play it. > > Would you like to try playing it with the “ffplay” command? Because that > should link against the same libraries as the copy of “ffmpeg” that you > used to encode it. Just as a standard for comparison. It plays, sound included, but it is a different interface which I would have to learn how to control. The target computer is much less powerful and doesn't have ffmpeg installed, though. Kodi also plays it, so does mplayer. But not vlc, and I mainly use vlc as player, the interface is very intuitive. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-16 02:33 +0000 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <10fbd6h$3sv9t$3@dont-email.me> |
| In reply to | #77608 |
On Sun, 16 Nov 2025 03:00:04 +0100, Carlos E.R. wrote: > Kodi also plays it, so does mplayer. > > But not vlc, and I mainly use vlc as player, the interface is very > intuitive. Something seems to be wrong with your VLC installation, then.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 15:03 +0100 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <862pulxbps.ln2@Telcontar.valinor> |
| In reply to | #77612 |
On 2025-11-16 03:33, Lawrence D’Oliveiro wrote: > On Sun, 16 Nov 2025 03:00:04 +0100, Carlos E.R. wrote: > >> Kodi also plays it, so does mplayer. >> >> But not vlc, and I mainly use vlc as player, the interface is very >> intuitive. > > Something seems to be wrong with your VLC installation, then. Not with my VLC. With VLC itself. Tried on several computers. I have 3.0.21, the latest version. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-16 21:25 +0000 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <10fdfgh$dsjl$11@dont-email.me> |
| In reply to | #77629 |
On Sun, 16 Nov 2025 15:03:20 +0100, Carlos E.R. wrote:
> On 2025-11-16 03:33, Lawrence D’Oliveiro wrote:
>> On Sun, 16 Nov 2025 03:00:04 +0100, Carlos E.R. wrote:
>>
>>> Kodi also plays it, so does mplayer.
>>>
>>> But not vlc, and I mainly use vlc as player, the interface is very
>>> intuitive.
>>
>> Something seems to be wrong with your VLC installation, then.
>
> Not with my VLC. With VLC itself.
Here is a random video file from my downloads collection:
ldo@theon:video> ffplay -autoexit Sailing\ The\ Rings\ Of\ Saturn-HeBV3gpTDqE.mp4
ffplay version N-121147-gdb0b86a4ad Copyright (c) 2003-2025 the FFmpeg developers
built with gcc 15 (Debian 15.2.0-4)
configuration: [blah blah blah]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Sailing The Rings Of Saturn-HeBV3gpTDqE.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-12-09T04:50:33.000000Z
Duration: 00:08:54.59, start: 0.000000, bitrate: 1926 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720, 1731 kb/s, 23.98 fps, 23.98 tbr, 48k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
creation_time : 2013-12-09T04:50:38.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
vendor_id : [0][0][0][0]
Here’s the same file, playing in VLC:
ldo@theon:video> vlc Sailing\ The\ Rings\ Of\ Saturn-HeBV3gpTDqE.mp4
VLC media player 3.0.22-rc1 Vetinari (revision 3.0.22-rc1-0-g9e23cc7e00)
[0000556a4c0a0520] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[00007f2000c049b0] avcodec decoder: Using Mesa Gallium driver 25.2.5-1 for AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.64, 6.16.12+deb14+1-amd64) for hardware decoding
Both worked fine.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-17 12:48 +0100 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <4lerulxiqj.ln2@Telcontar.valinor> |
| In reply to | #77661 |
On 2025-11-16 22:25, Lawrence D’Oliveiro wrote: > On Sun, 16 Nov 2025 15:03:20 +0100, Carlos E.R. wrote: > >> On 2025-11-16 03:33, Lawrence D’Oliveiro wrote: >>> On Sun, 16 Nov 2025 03:00:04 +0100, Carlos E.R. wrote: >>> >>>> Kodi also plays it, so does mplayer. >>>> >>>> But not vlc, and I mainly use vlc as player, the interface is very >>>> intuitive. >>> >>> Something seems to be wrong with your VLC installation, then. >> >> Not with my VLC. With VLC itself. > > Here is a random video file from my downloads collection: > > ldo@theon:video> ffplay -autoexit Sailing\ The\ Rings\ Of\ Saturn-HeBV3gpTDqE.mp4 ... > Here’s the same file, playing in VLC: ...> > Both worked fine. Sure. I can play hundreds of videos in VLC without problem. But there are some videos, recorded in high resolution (like 3840 * 1604 and 10 bit) that do not play in the old laptop that I connect in the sitting room to the bigger display via HDMI. Even when converted down to a smaller resolution they give trouble. In this case I managed the video, but the sound is still trouble. Huh, I forgot to hit "send" on this post. I solved the sound problem after writing the above. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-18 01:00 +0000 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <10fggfp$187pd$5@dont-email.me> |
| In reply to | #77682 |
On Mon, 17 Nov 2025 12:48:20 +0100, Carlos E.R. wrote: > On 2025-11-16 22:25, Lawrence D’Oliveiro wrote: >> >> Here’s the same file, playing in VLC: > ... >> Both worked fine. > > Sure. I can play hundreds of videos in VLC without problem. But there > are some videos, recorded in high resolution (like 3840 * 1604 and 10 > bit) that do not play in the old laptop that I connect in the sitting > room to the bigger display via HDMI. Even when converted down to a > smaller resolution they give trouble. In this case I managed the video, > but the sound is still trouble. I checked back to one of the earliest 4K videos I downloaded (from August 2012). That also has an AAC audio track. And again, it plays fine, in both ffplay and VLC.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-18 07:22 +0100 |
| Subject | Re: fmpeg drift (1) |
| Message-ID | <1uftulx1ff.ln2@Telcontar.valinor> |
| In reply to | #77695 |
On 2025-11-18 02:00, Lawrence D’Oliveiro wrote: > On Mon, 17 Nov 2025 12:48:20 +0100, Carlos E.R. wrote: > >> On 2025-11-16 22:25, Lawrence D’Oliveiro wrote: >>> >>> Here’s the same file, playing in VLC: >> ... >>> Both worked fine. >> >> Sure. I can play hundreds of videos in VLC without problem. But there >> are some videos, recorded in high resolution (like 3840 * 1604 and 10 >> bit) that do not play in the old laptop that I connect in the sitting >> room to the bigger display via HDMI. Even when converted down to a >> smaller resolution they give trouble. In this case I managed the video, >> but the sound is still trouble. > > I checked back to one of the earliest 4K videos I downloaded (from August > 2012). That also has an AAC audio track. And again, it plays fine, in both > ffplay and VLC. Sure. The originally downloaded video plays well in this big and powerful machine. But it doesn't in the old laptop that I have in the sitting room connected to the big display. And the conversions I tried with ffmpeg failed in one way or another, till the concoction I found here the other day. Although sometimes the resulting file can be bigger. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 00:34 +0100 |
| Subject | fmpeg drift (2) |
| Message-ID | <89fnulx8b7.ln2@Telcontar.valinor> |
| In reply to | #77560 |
On 2025-11-15 00:27, Stefan Ram wrote:
> "Carlos E.R." <robin_listas@es.invalid> wrote or quoted:
>> Yes, I tried chatgpt to do a video conversion. I have no sound in the
>> converted file, and we tried several concoctions. The mail list did not
>> help, either. They get angry at people, too.
>
> One might start with (untested):
>
> ffmpeg -err_detect ignore_err -i input.mpg -map 0 -c:v copy -c:a copy
> -copy_unknown output.mpg
>
> which hopefully should copy the audio, because "-map 0
> -copy_unknown" tells ffmpeg to copy all streams and "-c:a copy"
> to just copy the audio with no transcoding. Then, "-c:v copy"
> could be modified to request a different codec for the video.
>
> However, it's possible that not every version/build of ffmpeg
> has the options I used above.
Posting the second part, corresponding to what I did with ChatGpt aid.
chatgpt concoction; 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" \
> -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
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>
Attempt to play it:
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>
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
Another attempt, 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>
Playing it
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>
There! 🙂
--
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | ram@zedat.fu-berlin.de (Stefan Ram) |
|---|---|
| Date | 2025-11-16 13:34 +0000 |
| Subject | Re: fmpeg drift (2) |
| Message-ID | <codec-20251116142803@ram.dialup.fu-berlin.de> |
| In reply to | #77601 |
"Carlos E.R." <robin_listas@es.invalid> wrote or quoted: >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 . . . >[00007f0014f467d0] main decoder error: Codec `mp4a' (MPEG AAC >Audio) is not supported. <============ When the audio codec is not supported by the player, it might help to try a different codec. For a start, the following line should request no audio-transcod- ing at all: ffmpeg -i movie.mkv -map 0 -c:v libx264 -vf "scale=-1:802,format=yuv420p" -preset fast -crf 22 -tune fastdecode -profile:v main -c:a copy -c:s copy 8c_movie.mkv by "-c:a copy". Then, you could try to downmix the six channels to stereo if acceptable, replacing, "-c:a copy" with, |-c:a aac -b:a 192k -ac 2 , or you could try another audio encoding, replacing "-c:a copy" with, |-c:a ac3 -b:a 640k .
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 15:19 +0100 |
| Subject | Re: fmpeg drift (2) |
| Message-ID | <p43pulxqdv.ln2@Telcontar.valinor> |
| In reply to | #77628 |
On 2025-11-16 14:34, Stefan Ram wrote: > "Carlos E.R." <robin_listas@es.invalid> wrote or quoted: >> 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 > . . . >> [00007f0014f467d0] main decoder error: Codec `mp4a' (MPEG AAC >> Audio) is not supported. <============ > > When the audio codec is not supported by the player, > it might help to try a different codec. For a start, > the following line should request no audio-transcod- > ing at all: > > ffmpeg -i movie.mkv -map 0 -c:v libx264 -vf > "scale=-1:802,format=yuv420p" -preset fast -crf 22 -tune > fastdecode -profile:v main -c:a copy -c:s copy 8c_movie.mkv > > by "-c:a copy". I tried that before, different failure. > > Then, you could try to downmix the six channels to stereo > if acceptable, replacing, "-c:a copy" with, > > |-c:a aac -b:a 192k -ac 2 > > , or you could try another audio encoding, replacing > "-c:a copy" with, > > |-c:a ac3 -b:a 640k I tried "-c:a libopus -ac 6 " Vlc barfed: [00007f2468f46ab0] opus decoder error: cannot read Opus header [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted I can try your suggestion later, thanks. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 23:56 +0100 |
| Subject | Re: fmpeg drift (2) - solved? |
| Message-ID | <6d1qulxl09.ln2@Telcontar.valinor> |
| In reply to | #77632 |
On 2025-11-16 15:19, Carlos E.R. wrote:
> On 2025-11-16 14:34, Stefan Ram wrote:
>> "Carlos E.R." <robin_listas@es.invalid> wrote or quoted:
>>> 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
>> . . .
>>> [00007f0014f467d0] main decoder error: Codec `mp4a' (MPEG AAC
>>> Audio) is not supported. <============
>>
>> When the audio codec is not supported by the player,
>> it might help to try a different codec. For a start,
>> the following line should request no audio-transcod-
>> ing at all:
>>
>> ffmpeg -i movie.mkv -map 0 -c:v libx264 -vf
>> "scale=-1:802,format=yuv420p" -preset fast -crf 22 -tune
>> fastdecode -profile:v main -c:a copy -c:s copy 8c_movie.mkv
>>
>> by "-c:a copy".
>
> I tried that before, different failure.
>
>>
>> Then, you could try to downmix the six channels to stereo
>> if acceptable, replacing, "-c:a copy" with,
>>
>> |-c:a aac -b:a 192k -ac 2
>>
>> , or you could try another audio encoding, replacing
>> "-c:a copy" with,
>>
>> |-c:a ac3 -b:a 640k
>
> I tried "-c:a libopus -ac 6 "
>
> Vlc barfed:
>
> [00007f2468f46ab0] opus decoder error: cannot read Opus header
> [00007f2468f46ab0] opus decoder error: initial Opus header is corrupted
>
>
> I can try your suggestion later, thanks.
Old attempts:
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
I got audio not supported on VLC, and only one subtitle stream. On
version 3 and 4, same line gets working audio, and one subtitle stream.
Attempts to produce the two subtitles on version 4 killed the audio.
Tried also this concoction suggested by chatgpt, VLC also refused to
play the audio but generated the two subtitles:
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
Mail list suggested:
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
vlc said:
[00007f2468f46ab0] opus decoder error: cannot read Opus header
[00007f2468f46ab0] opus decoder error: initial Opus header is corrupted
I just tried again - chatgpt line, with your audio suggestion:
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 aac -b:a 192k -ac 2 -c:s copy \
-disposition:a:0 default 9c_movie.mkv
Plays with audio.
One subtitle track (there are two in the original)
Your other audio suggestion:
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 ac3 -b:a 640k -c:s copy \
-disposition:a:0 default 9d_movie.mkv
Plays with audio.
One subtitle track (there are two in the original)
Bigger file.
-rw-r--r-- 1 cer users 176863870 Nov 16 23:02 9c_movie.mkv
-rw-r--r-- 1 cer users 210290095 Nov 16 23:27 9d_movie.mkv
Attempting to generate the two subtitle tracks
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 ac3 -b:a 640k -c:s copy -c:s copy \
-disposition:a:0 default 9dd_movie.mkv
produces warning:
[sost#0:2 @ 0x55dd76ca2880] Multiple
-codec/-c/-acodec/-vcodec/-scodec/-dcodec options specified for stream
2, only the last option '-codec:s copy' will be used.
Although the documentation at some point said to use that syntax.
So:
I still need to test in the low power laptop at the sitting room,
but the audio problem appears to be solved.
There is a problem with the subtitles, only one stream is copied.
Got it. -map 0
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 ac3 -b:a 640k -c:s copy \
-disposition:a:0 default 9ee_movie.mkv
Well, I now have to choose which audio version to use:
|-c:a aac -b:a 192k -ac 2
|-c:a ac3 -b:a 640k six channels
I should choose the six channel version, it is more accurate, even if
don't have the hardware, just in case I have it in the future.
--
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-17 00:49 +0000 |
| Subject | Re: fmpeg drift (2) - solved? |
| Message-ID | <10fdre8$hc8b$2@dont-email.me> |
| In reply to | #77665 |
On Sun, 16 Nov 2025 23:56:06 +0100, Carlos E.R. wrote: > I should choose the six channel version, it is more accurate, even if > don't have the hardware, just in case I have it in the future. I would keep the original so I can reencode it with newer options in the future.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-17 03:17 +0100 |
| Subject | Re: fmpeg drift (2) - solved? |
| Message-ID | <96dqulx1g.ln2@Telcontar.valinor> |
| In reply to | #77671 |
On 2025-11-17 01:49, Lawrence D’Oliveiro wrote: > On Sun, 16 Nov 2025 23:56:06 +0100, Carlos E.R. wrote: > >> I should choose the six channel version, it is more accurate, even if >> don't have the hardware, just in case I have it in the future. > > I would keep the original so I can reencode it with newer options in the > future. Yes, possibly. The original is too big and is made at a large resolution, beyond what normal eyes can differentiate, much less my old eyes. I heard mentioned some study that said that, that 4K is beyond human appreciation. I got another serial today, normal resolution, but 10 bit depth. I had to convert it with the new recipe. Apparently VLC in my old laptop can not cope with it. My desktop computer, yes. I understand that the player has to down-convert it to the lower capabilities of the actual video output hardware plus the display, and the old cpu can not cope with that. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-17 02:39 +0000 |
| Subject | Re: fmpeg drift (2) - solved? |
| Message-ID | <10fe1sh$ipc8$2@dont-email.me> |
| In reply to | #77672 |
On Mon, 17 Nov 2025 03:17:13 +0100, Carlos E.R. wrote: > I heard mentioned some study that said that, that 4K is beyond human > appreciation. The resolution of your eyes is measured in units of angle, not distance. The resolution can be colour-dependent, but a good rule of thumb is around one minute of arc per pixel -- i.e. 60 pixels per degree of arc. So at a viewing distance of 3m for a 3840×2160-resolution image, the optimum screen diagonal is about 270cm (a bit over 100”). If your set is much smaller than this, then it should be closer, otherwise you’re not seeing everything. I wrote a script some years ago <https://bitbucket.org/ldo17/screencalc/> which, given some suitable subset of the parameters regarding screen size, pixel density, viewing distance etc, will attempt to work out the rest.
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-16 21:21 +0000 |
| Subject | Re: fmpeg drift (2) |
| Message-ID | <10fdf8b$dsjl$10@dont-email.me> |
| In reply to | #77628 |
On 16 Nov 2025 13:34:26 GMT, Stefan Ram wrote: > When the audio codec is not supported by the player ... When the codec is something as common as AAC, this points to something seriously wrong with the player.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Walther <joerg.walther@magenta.de> |
|---|---|
| Date | 2025-11-15 09:50 +0100 |
| Message-ID | <pdfghktl1s6frnpft9dpeeicehen7kjgjn@joergwalther.my-fqdn.de> |
| In reply to | #77559 |
Carlos E.R. wrote: >Yes, I tried chatgpt to do a video conversion. I have no sound in the >converted file, and we tried several concoctions. I did a similar thing - extract subtitles from a video file, translate them into English and put them back into the file. I got it working in the 4th attempt. It is important to tell ChatpGPT exactly what kind of video file you are trying to convert, which probably includes some codec analysis on the command line, and in which track of the file the sound can be found. The latter info is probably what ChatGPT was missing. OTOH: For simple video conversion you could always use Handbrake. :) -jw- -- And now for something completely different...
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-15 22:09 +0000 |
| Message-ID | <10fatn0$3p4r1$5@dont-email.me> |
| In reply to | #77571 |
On Sat, 15 Nov 2025 09:50:18 +0100, Joerg Walther wrote: > OTOH: For simple video conversion you could always use Handbrake. :) I thought Handbrake would just be a GUI frontend onto the ffmpeg command. But it appears it has forked its own copy of the FFmpeg libraries. Somehow I don’t think that’s wise ...
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 00:00 +0100 |
| Message-ID | <2adnulxv4v.ln2@Telcontar.valinor> |
| In reply to | #77592 |
On 2025-11-15 23:09, Lawrence D’Oliveiro wrote: > On Sat, 15 Nov 2025 09:50:18 +0100, Joerg Walther wrote: > >> OTOH: For simple video conversion you could always use Handbrake. :) > > I thought Handbrake would just be a GUI frontend onto the ffmpeg command. > But it appears it has forked its own copy of the FFmpeg libraries. > > Somehow I don’t think that’s wise ... It ensures a stable API, that would be my guess. It is very difficult to create a GUI for ffmpeg if they are constantly changing the syntax -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-11-16 00:32 +0000 |
| Message-ID | <10fb62n$3rft5$2@dont-email.me> |
| In reply to | #77597 |
On Sun, 16 Nov 2025 00:00:50 +0100, Carlos E.R. wrote: > On 2025-11-15 23:09, Lawrence D’Oliveiro wrote: >> >> On Sat, 15 Nov 2025 09:50:18 +0100, Joerg Walther wrote: >> >>> OTOH: For simple video conversion you could always use Handbrake. :) >> >> I thought Handbrake would just be a GUI frontend onto the ffmpeg >> command. But it appears it has forked its own copy of the FFmpeg >> libraries. >> >> Somehow I don’t think that’s wise ... > > It ensures a stable API, that would be my guess. It is very > difficult to create a GUI for ffmpeg if they are constantly changing > the syntax FFmpeg command syntax hasn’t changed that much in, say, the last 5-10 years. I wrote a Python script for a client that uses ffprobe to extract telemetry streams from video files created on GoPro cameras. ffprobe identifies the location of each packet and its associated PTS, and my code does the actual extraction and decoding of the data. Nice and simple, without having to build against any special libraries.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-11-16 03:01 +0100 |
| Message-ID | <vsnnulx1tn.ln2@Telcontar.valinor> |
| In reply to | #77603 |
On 2025-11-16 01:32, Lawrence D’Oliveiro wrote: > On Sun, 16 Nov 2025 00:00:50 +0100, Carlos E.R. wrote: > >> On 2025-11-15 23:09, Lawrence D’Oliveiro wrote: >>> >>> On Sat, 15 Nov 2025 09:50:18 +0100, Joerg Walther wrote: >>> >>>> OTOH: For simple video conversion you could always use Handbrake. :) >>> >>> I thought Handbrake would just be a GUI frontend onto the ffmpeg >>> command. But it appears it has forked its own copy of the FFmpeg >>> libraries. >>> >>> Somehow I don’t think that’s wise ... >> >> It ensures a stable API, that would be my guess. It is very >> difficult to create a GUI for ffmpeg if they are constantly changing >> the syntax > > FFmpeg command syntax hasn’t changed that much in, say, the last 5-10 > years. I have scripts to convert files that stopped working with some ffmpeg update. > > I wrote a Python script for a client that uses ffprobe to extract > telemetry streams from video files created on GoPro cameras. ffprobe > identifies the location of each packet and its associated PTS, and my code > does the actual extraction and decoding of the data. Nice and simple, > without having to build against any special libraries. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
Back to top | Article view | comp.os.linux.misc
csiph-web