Hi !
i have only sound it seems the video stream is not catched with the script
2025-02-06 15:31:35.373 spawn: Duration: N/A, start: 36880.859711, bitrate: N/A
2025-02-06 15:31:35.373 spawn: Program 1
2025-02-06 15:31:35.373 spawn: Metadata:
2025-02-06 15:31:35.373 spawn: service_name : Das Erste HD
2025-02-06 15:31:35.373 spawn: service_provider: ARD
2025-02-06 15:31:35.373 spawn: Stream #0:0[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
2025-02-06 15:31:35.373 spawn: Stream #0:10x13ee: Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s
2025-02-06 15:31:35.373 spawn: Stream #0:20x13ef: Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s (visual impaired) (descriptions)
2025-02-06 15:31:35.373 spawn: Stream #0:30x13f3: Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (hearing impaired)
2025-02-06 15:31:35.373 spawn: Stream #0:40x13f0: Subtitle: dvb_teletext (libzvbi_teletextdec) ([6][0][0][0] / 0x0006), 492x250
2025-02-06 15:31:35.373 spawn: Stream #0:50x13f2: Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
2025-02-06 15:31:35.373 spawn: Stream #0:6[0x492]: Unknown: none ([5][0][0][0] / 0x0005)
2025-02-06 15:31:35.373 spawn: Stream #0:70x13f1: Subtitle: dvb_subtitle (dvbsub) ([6][0][0][0] / 0x0006) (hearing impaired)
2025-02-06 15:31:35.373 spawn: No Program
2025-02-06 15:31:35.373 spawn: Stream #0:8[0x12]: Data: epg
2025-02-06 15:31:35.375 spawn: [out#0/mpegts @ 0x5d34b40c1d40] Codec AVOption rc_init_occupancy (number of bits which should be loaded into the rc buffer before decoding starts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
2025-02-06 15:31:35.375 spawn: [out#0/mpegts @ 0x5d34b40c1d40] Codec AVOption bf (B Picture Pattern) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
2025-02-06 15:31:35.375 spawn: Stream mapping:
2025-02-06 15:31:35.375 spawn: Stream #0:1 -> #0:0 (mp2 (native) -> aac (native))
2025-02-06 15:31:35.375 spawn: Stream #0:2 -> #0:1 (mp2 (native) -> aac (native))
2025-02-06 15:31:35.375 spawn: Stream #0:3 -> #0:2 (mp2 (native) -> aac (native))
2025-02-06 15:31:35.375 spawn: Stream #0:5 -> #0:3 (ac3 (native) -> aac (native))
2025-02-06 15:31:35.375 spawn: Stream #0:4 -> #0:4 (copy)
2025-02-06 15:31:35.375 spawn: Stream #0:7 -> #0:5 (copy)
2025-02-06 15:31:35.377 spawn: [mpegts @ 0x5d34b4197b00] frame size not set
2025-02-06 15:31:35.377 spawn: Output #0, mpegts, to 'pipe:1':
2025-02-06 15:31:35.377 spawn: Metadata:
2025-02-06 15:31:35.377 spawn: encoder : Lavf61.1.100
2025-02-06 15:31:35.377 spawn: Stream #0:0(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s (default)
2025-02-06 15:31:35.377 spawn: Metadata:
2025-02-06 15:31:35.377 spawn: encoder : Lavc61.3.100 aac
2025-02-06 15:31:35.377 spawn: Stream #0:1(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s (visual impaired) (descriptions)
2025-02-06 15:31:35.377 spawn: Metadata:
2025-02-06 15:31:35.377 spawn: encoder : Lavc61.3.100 aac
2025-02-06 15:31:35.377 spawn: Stream #0:2(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s (hearing impaired)
2025-02-06 15:31:35.377 spawn: Metadata:
2025-02-06 15:31:35.377 spawn: encoder : Lavc61.3.100 aac
2025-02-06 15:31:35.377 spawn: Stream #0:3(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s
2025-02-06 15:31:35.377 spawn: Metadata:
2025-02-06 15:31:35.377 spawn: encoder : Lavc61.3.100 aac
2025-02-06 15:31:35.377 spawn: Stream #0:4(deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 (default)
2025-02-06 15:31:35.377 spawn: Stream #0:5(deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
2025-02-06 15:31:35.876 spawn: size= 320KiB time=00:00:04.67 bitrate= 560.3kbits/s speed=9.35x
i have a command for converting files to av1 which is working but i was not able to adapt it to tvh common
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +nobuffer+discardcorrupt+genpts+flush_packets -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -extra_hw_frames 40 -i $f -map 0:v -c:v av1_qsv -preset veryslow -extbrc 1 -low_delay_brc 1 -look_ahead_depth 40 -b:v 1M -bufsize 2M -rc_init_occupancy 512K -adaptive_i 1 -adaptive_b 1 -b_strategy 1 -bf 7 -map 0:a? -c:a copy -map 0:s? -c:s copy -map 0:t? -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled done/$f
($f is the filename)
But why is AV1 not implemented like x265/hevc for vaapi .... my card spupports it so...
Ciao Gerd