Hallo zusammen,
nachdem ich schon ein paar mal bei "Das Erste HD" keinen Ton hatte und dann auf "Das Erste" ausgewichen bin, konnte ich am Samstag mal eine Aufnahme davon machen.
Beim Abspielen der Aufnahme mit VLC war der Ton vorhanden. Also habe ich mich mal auf die Suche nach der Ursache des Problems gemacht.
Code
Input #0, mpegts, from '00001.ts':
Duration: 00:05:00.11, start: 46217.329656, bitrate: 9124 kb/s
Program 132
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, 100 tbc
Stream #0:1[0x13ee](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.0(side), fltp, 448 kb/s
Stream #0:2[0x13ef](mis): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:3[0x13f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Hier wird im ersten Audio Stream ein Channel Layout 5.0 genutzt, das von rpihddevice nicht unterstützt wird. Der folgende Patch hat das Problem für mich gelöst.
Diff
diff --git a/audio.c b/audio.c
index 53e6795..12eaba3 100644
--- a/audio.c
+++ b/audio.c
@@ -872,6 +872,7 @@ const uint32_t cRpiAudioDecoder::cParser::DtsSampleRateTable[16] =
ch == 1 ? AV_CH_LAYOUT_MONO : \
ch == 2 ? AV_CH_LAYOUT_STEREO : \
ch == 3 ? AV_CH_LAYOUT_2POINT1 : \
+ ch == 5 ? AV_CH_LAYOUT_5POINT0 : \
ch == 6 ? AV_CH_LAYOUT_5POINT1 : 0)
#define AV_SAMPLE_STR(fmt) ( \
Alles anzeigen
Gruß Zimuland