#0

rainerhgw@diasp.org

Some #ffmpeg wizards her?
I want to re-encode a video on another computer.
ffmpeg -i video.mkv tells me:

Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
title : x264 Video Stream
Stream #0:1(ger): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
Metadata:
title : German DTS-ES 6.1 WARNER Fix
Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
Metadata:
title : English DTS-ES 6.1
Stream #0:3(ger): Subtitle: ass
Metadata:
title : Forced-Subs
Stream #0:4: Attachment: ttf
Metadata:
filename : GDSC____.PFB
mimetype : application/x-font
Stream #0:5: Attachment: none
Metadata:
filename : GDSC____.PFM
mimetype : application/octet-stream

OK, I am only interested in the first three streams (0:0, 0:1 and 0:2).
I run:

❯ pv video.mkv | ssh othercomputer 'ffmpeg -f matroska -y -i pipe:0 -v warning -map 0:0 -map 0:1 -map 0:2 -c:a libopus -b:a 96k -c:v librav1e -qp 80 -speed 4 -tile-columns 2 -tile-rows 2 -f matroska -' > 1.mkv

And get:

[matroska,webm @ 0x55facbe5e900] Could not find codec parameters for stream 5 (Attachment: none): unknown codec

But why? I told ffmpeg to ignore all streams execpt the first three.

arteplus7@social.yl.ms

RSS-Bridge

See https://curl.haxx.se/libcurl/c/libcurl-errors.html for description of the curl error code.

Details

Type: HttpException
Code: 0
Message: cURL error Could not resolve host: api.arte.tv: 6 (https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.arte.tv/api/opa/v3/videos?limit=15&language=de
File: lib/http.php
Line: 154

Trace

#0 index.php(72): RssBridge->main()
#1 lib/RssBridge.php(103): DisplayAction->execute()
#2 actions/DisplayAction.php(68): DisplayAction->createResponse()
#3 actions/DisplayAction.php(117): Arte7Bridge->collectData()
#4 bridges/Arte7Bridge.php(128): getContents()
#5 lib/contents.php(83): CurlHttpClient->request()
#6 lib/http.php(154)

Context

Query: action=display&bridge=Arte7&context=Category&lang=de&cat=&sort_by=&sort_direction=DESC&format=Mrss
Version: 2024-02-02
OS: Linux
PHP: 7.4.33

Go back[https://rss.nixnet.services/url]
[url=https://github.com/RSS-Bridge/rss-bridge/issues?q=is%3Aissue+is%3Aopen+Arte+%2B7]Find similar bugs
Create GitHub Issue
No maintainer

rainerhgw@diasp.org

#alleskaputt
```
root@r4:~# curl -ILv archive.is
* Trying 185.232.169.13:80...
* Connected to archive.is (185.232.169.13) port 80 (#0)

HEAD / HTTP/1.1
Host: archive.is
User-Agent: curl/7.74.0
Accept: /

  • Mark bundle as not supporting multiuse < HTTP/1.1 302 Moved HTTP/1.1 302 Moved < Date: Fri, 22 Mar 2024 20:54:14 GMT Date: Fri, 22 Mar 2024 20:54:14 GMT < Location: https://archive.is/ Location: https://archive.is/ < Cache-Control: private, no-cache, no-store, must-revalidate, maxage=0 Cache-Control: private, no-cache, no-store, must-revalidate, maxage=0 < Pragma: no-cache Pragma: no-cache < Expires: Sat, 01 Jan 2000 00:00:00 GMT Expires: Sat, 01 Jan 2000 00:00:00 GMT < Access-Control-Allow-Origin: * Access-Control-Allow-Origin: * < Server: nginx/1.9.2 Server: nginx/1.9.2 < Content-Length: 0 Content-Length: 0 < Connection: keep-alive Connection: keep-alive

<
* Connection #0 to host archive.is left intact
* Clear auth, redirects to port from 80 to 443Issue another request to this URL: 'https://archive.is/'
* Trying 185.232.169.13:443...
* Connected to archive.is (185.232.169.13) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=archive.is
* start date: Feb 4 02:21:26 2024 GMT
* expire date: May 4 02:21:25 2024 GMT
* subjectAltName: host "archive.is" matched cert's "archive.is"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x1899d70)

HEAD / HTTP/2
Host: archive.is
user-agent: curl/7.74.0
accept: /

  • TLSv1.2 (IN), TLS alert, close notify (256):
  • Empty reply from server
  • Closing connection 1
  • TLSv1.2 (OUT), TLS alert, close notify (256): curl: (52) Empty reply from server ```
rainerhgw@diasp.org

Die Tochter hatte am Gymnasium über mehrere Monate ein Theaterprojekt. Also sie haben sich mit einer Thaterpädagogin ein Stück selber geschrieben/erabeitet/gespielt. Tolle Sache!
Ein Tonstudio hat das aufgenommen und die Aufnahme zur Verfügung gestellt.
Ein mp4 in 4k, satte 33 Gigabyte.

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'White Cappucino.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2024-02-29T12:41:44.000000Z
Duration: 00:55:42.36, start: 0.000000, bitrate: 84179 kb/s
Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/reserved/reserved, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 83859 kb/s, 30 fps, 30 tbr, 30k tbn (default)
Metadata:
creation_time : 2024-02-29T12:41:44.000000Z
handler_name : ?Mainconcept Video Media Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2024-02-29T12:41:44.000000Z
handler_name : #Mainconcept MP4 Sound Media Handler
vendor_id : [0][0][0][0]

Das kann man verbessern:

pv "White Cappucino.mp4" | ffmpeg -y -i pipe:0 -hide_banner -loglevel error -c:v libvpx-vp9 -crf 31 -b:v 0 -deadline best -preset veryslow -threads 12 'White Cappucino.webm'

12 CPUs haben gut 48 Stunden gerechnet, das resultierende Video hat dann - noch immer 4k - 1044 MB(!!!) und sieht so aus:

Input #0, matroska,webm, from 'White Cappucino.webm':
Metadata:
COMPATIBLE_BRANDS: mp42mp41
MAJOR_BRAND : mp42
MINOR_VERSION : 0
ENCODER : Lavf59.27.100
Duration: 00:55:42.34, start: -0.007000, bitrate: 2619 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709/unknown/unknown, progressive), 3840x2160, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn (default)
Metadata:
HANDLER_NAME : ?Mainconcept Video Media Handler
VENDOR_ID : [0][0][0][0]
ENCODER : Lavc59.37.100 libvpx-vp9
DURATION : 00:55:42.340000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : #Mainconcept MP4 Sound Media Handler
VENDOR_ID : [0][0][0][0]
ENCODER : Lavc59.37.100 libopus
DURATION : 00:55:42.344000000

Geil!

0mega@social.c-r-t.tk

Screenshot of CPU-X showing the following stats in the CPU tab: Vendor=AMD; Code Name=Ryzen 7 (Vermeer); Technology=7nm; Voltage=1,100V; Specification=AMD Ryzen 5800X3D 8-Core Processor; Family=0xF; Model=0x1; Temp=62,00°C; Disp. Family=0x19; Disp. Model=0x21; Stepping=2; Instructions=SMT, MMX(+), SSE(1, 2, 3, 3S, 4.1, 4.2, 4A), AVX(1, 2), FMA(3), AES, CLMUL, RdRand, SHA, AMD-V, x86-64; Clocks Section: Core Speed=3534 MHz; Multiplier=x35,4 (22-34); Bus Speed=99,79 MHz; Usage=6,50 %; Cache Section: L1 Data=8 x 32 kB, 8-way; L1 Inst.=8 x 32 kB, 8-way; Level 2=8 x 512 kB, 8-way; Level 3=96 MB, 16-way; Type <a class=#0; Core #0; Cores=8, Threads=16" title="Screenshot of CPU-X showing the following stats in the CPU tab: Vendor=AMD; Code Name=Ryzen 7 (Vermeer); Technology=7nm; Voltage=1,100V; Specification=AMD Ryzen 5800X3D 8-Core Processor; Family=0xF; Model=0x1; Temp=62,00°C; Disp. Family=0x19; Disp. Model=0x21; Stepping=2; Instructions=SMT, MMX(+), SSE(1, 2, 3, 3S, 4.1, 4.2, 4A), AVX(1, 2), FMA(3), AES, CLMUL, RdRand, SHA, AMD-V, x86-64; Clocks Section: Core Speed=3534 MHz; Multiplier=x35,4 (22-34); Bus Speed=99,79 MHz; Usage=6,50 %; Cache Section: L1 Data=8 x 32 kB, 8-way; L1 Inst.=8 x 32 kB, 8-way; Level 2=8 x 512 kB, 8-way; Level 3=96 MB, 16-way; Type #0; Core #0; Cores=8, Threads=16">

Hi there, new CPU!