[SOLVED] Bug Regression on Transcoding function (audio part with unknown channel layout)
Added by Dominique PLU about 7 years ago
Hi
I have updated my install from a 4.1 to a fresh 4.3 GIT (Version: 4.3-846~g9538b1c (2017-12-22T22:22:27+0100))
I have reconfigured all, accounts, codecs profiles etc etc .. It works on all channels but on some channels, there is no more audio on stream or recording while using an audio recode whatever is codec used
Here is the log, you can see the message : "libav: TVHGraph: The filters 'in' and 'Parsed_anull_0' do not have a common format and automatic conversion is disabled." when the audio scheme is channels=? (unknow)
This problem occurs only with that kind of channels, all others (having good audio scheme) works well with transcode option
******************************************************************************2017-12-27 20:42:47.159 dvr: entry bd05dc2a6e20682f0a6c2d48f6b2bae6 "Scènes de ménages" on "M6" starting at 2017-12-27 20:19:30, with broadcast id "tvh://channel-7b392c084d0bd8447f933b6147b263d4/bcast-1343740/episode", scheduled for recording by "192.168.1.34"
2017-12-27 20:42:47.159 dvr: "Scènes de ménages" on "M6" recorder starting
2017-12-27 20:42:47.160 service: esfilter: "Neuville/682MHz/M6" AUDIO 002 001 00130 EAC3 fre EXCLUSIVE
2017-12-27 20:42:47.160 mpegts: 682MHz in Neuville - tuning on DiBcom 7000PC : DVB-T #0
2017-12-27 20:42:47.160 subscription: 007F: "DVR: Scènes de ménages" subscribing on channel "M6", weight: 500, adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6", profile="WEBTS-Neuville"
2017-12-27 20:42:47.818 transcode: 0009: 01:H264: > Using profile webtv-h264
2017-12-27 20:42:47.818 transcode: 0009: 02:EAC3: > Using profile webtv-aac
2017-12-27 20:42:48.201 libav: TVHGraph: The filters 'in' and 'Parsed_anull_0' do not have a common format and automatic conversion is disabled.
2017-12-27 20:42:48.201 transcode: 0009: 02:AAC: [eac3 => aac]: filters: failed to config filter graph
2017-12-27 20:42:48.259 libav: AVCodecContext: mmco: unref short failure
2017-12-27 20:42:48.260 libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
2017-12-27 20:42:48.266 libav: AVCodecContext: profile High, level 3.0
2017-12-27 20:42:48.452 libav: AVCodecContext: mmco: unref short failure
2017-12-27 20:42:50.844 libav: /mnt/ds4divers/TVH32/Sc__nes-de-m__nages/2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-ENC.ts: Unable to change permissions -- Opération non permise
2017-12-27 20:42:50.845 libav: AVFormatContext: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2017-12-27 20:42:50.845 dvr: /mnt/ds4divers/TVH32/Sc__nes-de-m__nages/2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-ENC.ts from adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6"
2017-12-27 20:42:50.845 dvr: # type lang resolution aspect ratio sample rate channels
2017-12-27 20:42:50.845 dvr: 1 H264 1920x1080 16:9
2017-12-27 20:42:50.845 dvr: 2 AAC fre 96000 ?
So if I record w/o transcoding, the stream is known as "?" but there is sound on file
******************************************************************************2017-12-27 20:47:49.151 dvr: entry 33e38418aa85c387891291fce85a1dcf "Scènes de ménages" on "M6" starting at 2017-12-27 20:21:30, with broadcast id "tvh://channel-7b392c084d0bd8447f933b6147b263d4/bcast-1343740/episode", scheduled for recording by "192.168.1.34"
2017-12-27 20:47:49.151 dvr: "Scènes de ménages" on "M6" recorder starting
2017-12-27 20:47:49.152 service: esfilter: "Neuville/682MHz/M6" AUDIO 002 001 00130 EAC3 fre EXCLUSIVE
2017-12-27 20:47:49.152 mpegts: 682MHz in Neuville - tuning on DiBcom 7000PC : DVB-T #0
2017-12-27 20:47:49.152 subscription: 0086: "DVR: Scènes de ménages" subscribing on channel "M6", weight: 500, adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6", profile="pass"
2017-12-27 20:47:49.788 pass: /mnt/ds4divers/TVH32/2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-TBC.ts: Unable to change permissions -- Opération non permise
2017-12-27 20:47:49.788 dvr: /mnt/ds4divers/TVH32/2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-TBC.ts from adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6"
2017-12-27 20:47:49.788 dvr: # type lang resolution aspect ratio sample rate channels
2017-12-27 20:47:49.788 dvr: 1 H264 1920x1080 ?
2017-12-27 20:47:49.788 dvr: 2 EAC3 fre 96000 ?
Here is ffprobe of files with and w/o transoding
- With Transco ********
Input #0, mpegts, from '2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-ENC.ts':
Duration: 00:03:50.52, start: 1.480000, bitrate: 530 kb/s
Program 1
Metadata:
service_name : Scènes de ménages
service_provider: Tvheadend 4.3-846~g9538b1c
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 682x384, 25 fps, 25 tbr, 90k tbn, 50 tbc
- No trancoding *******
Input #0, mpegts, from '2017-12-27_20-25--Sc__nes-de-m__nages.[S__rie-TV-(35mn)]-TBC.ts':
Duration: 00:01:29.85, start: 49181.877144, bitrate: 4806 kb/s
Program 1
Metadata:
service_name : M6
service_provider: Multi4
Stream #0:0[0x78]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x82](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 192 kb/s
Something has change and I don't know what Having filter of audio stream or not change nothing to the result, the only way to have transcoding of audio is the audio channel layout correct.
Any help is welcome. Thanks in advance
Replies (4)
RE: Bug Regression on Transcoding function (audio part with unknown channel layout) - Added by Dietmar Konermann almost 7 years ago
Created PR https://github.com/tvheadend/tvheadend/pull/1075.
Resolved the issue at least for me.
RE: Bug Regression on Transcoding function (audio part with unknown channel layout) - Added by Dominique PLU almost 7 years ago
Hi
Thanks for quick answer, I will test patch before end of week service in in use currently, cannot shutdown
I wish you a nice day
RE: Bug Regression on Transcoding function (audio part with unknown channel layout) - Added by Dominique PLU almost 7 years ago
Hello
Just made test on channels not working and it works perfectly
Thanks for all
2018-01-04 22:08:19.034 dvr: "Cendrillon" on "M6" recorder starting
2018-01-04 22:08:19.034 service: esfilter: "Neuville/682MHz/M6" AUDIO 002 001 00130 EAC3 fre EXCLUSIVE
2018-01-04 22:08:19.034 mpegts: 682MHz in Neuville - tuning on DiBcom 7000PC : DVB-T #0
2018-01-04 22:08:19.034 subscription: 0004: "DVR: Cendrillon" subscribing on channel "M6", weight: 500, adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6", profile="WEBTS-Neuville"
2018-01-04 22:08:19.822 transcode: 0002: 01:H264: > Using profile webtv-h264
2018-01-04 22:08:19.822 transcode: 0002: 02:EAC3: > Using profile webtv-aac
2018-01-04 22:08:20.798 libav: AVCodecContext: mmco: unref short failure
2018-01-04 22:08:20.799 libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
2018-01-04 22:08:20.803 libav: AVCodecContext: profile High, level 3.0
2018-01-04 22:08:20.896 libav: AVCodecContext: mmco: unref short failure
2018-01-04 22:08:21.065 libav: /mnt/ds4divers/TVH32/Cendrillon/2018-01-04_21-00--Cendrillon.[Cin__ma-(1h55mn)]-.--(2015)-ENC.ts: Unable to change permissions -- Opération non permise
2018-01-04 22:08:21.066 libav: AVFormatContext: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2018-01-04 22:08:21.066 libav: AVFormatContext: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
2018-01-04 22:08:21.066 dvr: /mnt/ds4divers/TVH32/Cendrillon/2018-01-04_21-00--Cendrillon.[Cin__ma-(1h55mn)]-.--(2015)-ENC.ts from adapter: "DiBcom 7000PC : DVB-T #0", network: "Neuville", mux: "682MHz", provider: "Multi4", service: "M6"
2018-01-04 22:08:21.066 dvr: # type lang resolution aspect ratio sample rate channels
2018-01-04 22:08:21.066 dvr: 1 H264 1920x1080 16:9
2018-01-04 22:08:21.066 dvr: 2 AAC fre 48000 2
RE: [SOLVED] Bug Regression on Transcoding function (audio part with unknown channel layout) - Added by Dietmar Konermann almost 7 years ago
Fix has been applied to master.