mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
27.94k stars 2.88k forks source link

DVB-T TV channels without audio and Radio channels takes very long time to load #14906

Closed Lovecraft-github closed 2 hours ago

Lovecraft-github commented 3 hours ago

mpv Information

mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep 23 2024 17:46:22
libplacebo version: v7.349.0
FFmpeg version: n7.0.2
FFmpeg library versions:
   libavcodec      61.3.100
   libavdevice     61.1.100
   libavfilter     10.1.100
   libavformat     61.1.100
   libavutil       59.8.100
   libswresample   5.1.100
   libswscale      8.1.100

Other Information

- Linux version: Arch Linux
- Kernel Version:inux arch-pc 6.11.0-x64v2-xanmod1 #0~20240916.g9c60408 SMP PREEMPT_DYNAMIC Mon Sep 16 17:12:26 UTC x86_64 GNU/Linux
- GPU Model:00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] [1002:130f] (rev d6)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)

- Mesa/GPU Driver Version:OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.3-arch1.1

- Window Manager and Version: KDE Plasma Version: 6.1.90 
- Source mpv: Arch extra-testing
- Introduced in version: I don't know

Reproduction Steps

When trying to play streams with my DVB-T AverTV USB there is no audio in the TV streams and the radio streams takes a very long time to load (> than a minute)

The DVB: adapter is AVerMedia AVerTV Volar HD/PRO (A835). I made a channels.conf file with w_scan_cpp -f t -c ES -M -E 0 > ~/.config/mpv/channels.conf

I test the TV stream with:

mpv --no-config --dvbin-file=/home/user/.config/mpv/channels.conf dvb://"24h HD(RTVE)"

[dvbin] Tuning to channel "24h HD(RTVE)"... [dvbin] Tuning to DVB-T frequency 618000000 Hz [ffmpeg] NULL: non-existing PPS 0 referenced [ffmpeg/video] h264: non-existing PPS 0 referenced [ffmpeg/video] h264: decode_slice_header error [ffmpeg/video] h264: no frame! ..... ● Video --vid=1 (h264 1920x1080 25 fps) ● Audio --aid=1 (eac3 2ch 48000 Hz 192 kbps) ○ Audio --aid=2 (eac3 1ch 48000 Hz 64 kbps) ○ Audio --aid=3 (eac3 2ch 48000 Hz 256 kbps) File tags: Title: 24h HD(RTVE) [ffmpeg/video] h264: co located POCs unavailable [ffmpeg/video] h264: co located POCs unavailable AO: [pipewire] 48000Hz stereo 2ch floatp VO: [gpu] 1920x1080 yuv420p AV: 00:02:25 / 00:02:36 (93%) A-V: 0.000 Cache: 9.5s/3MB

the video is shown but ther is no audio

If I tried with a radio only stream

mpv --no-config --dvbin-file=/home/user/.config/mpv/channels.conf dvb://"RNE Asturias(RTVE)"

[dvbin] Tuning to channel "RNE Asturias(RTVE)"... [dvbin] Tuning to DVB-T frequency 618000000 Hz [ffmpeg/audio] mp3float: Header missing ● Audio --aid=1 (mp2 2ch 48000 Hz 128 kbps) File tags: Title: RNE Asturias(RTVE) [ffmpeg/audio] mp2: Header missing Error decoding audio. AO: [pipewire] 48000Hz stereo 2ch s16p A: 00:01:39 / 00:03:09 (52%) Cache: 90s/3MB

It takes more than a munite to play the audio

In other programs like VLC and Kodi it works well

Expected Behavior

Audio in the TV streams and faster loading of radio streams

Actual Behavior

No audio in TV streams and very long load time in radio ones

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

Lovecraft-github commented 2 hours ago

Ignore the above. Seems to be an antenna problem. Sorry for the inconvenience