Hi, is there any way how to display info about number of channels for current AC3 audio? E.g. putting it somehow to Infobar2, using a plugin or so.
Posted 4 June 2017 - 10:14
Little chance, for that to know you'd need to inspect the audio stream itself, the information isn't carried in the PMT. When downmix is off, the stream is sent 1:1 to the receiver, enigma does nothing to it. With downmix on, the stream is decoded by the CPU, but inside the driver/kernel context, so still no joy. Maybe some drivers offer /proc entries where we could get the information, but that would not be universal.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 4 June 2017 - 20:50
Thanks for the answer- So probably the only feasible way is via audio info on AV receiver or using PC application. From what I use I found only Handbrake showing this info (this is usable only for files, not for live streams), even video players like VLC or MPC do not show this.
Posted 5 June 2017 - 00:22
I (still) have a Triple Dragon STB, which is more than 10 years old.
It uses a 2.7 (or 2.6) kernel, a very old one, and it has not been updated for several years (there are no more updates).
There is one thing that I miss on enigma2, system which is suposed to be better than that TD firmware (comparable to enigma1), and it is the audio information which we got just by pressing the blue button.
It's hard to believe that enigma2 in year 2017 haven't got anything like this.
Enigma is getting old....
Posted 5 June 2017 - 06:50
You can put whatever you wish into your InfoBar if you eiher find or write the needed convertors and renderers.
As you can see icons are there to show that both Dolby and dual audio have been detected from either DVB or a Stream, it works on both.
Edited by ian1095, 5 June 2017 - 06:53.
Posted 5 June 2017 - 09:03
Like I said, it has nothing to do with enigma!I (still) have a Triple Dragon STB, which is more than 10 years old.
It uses a 2.7 (or 2.6) kernel, a very old one, and it has not been updated for several years (there are no more updates).
There is one thing that I miss on enigma2, system which is suposed to be better than that TD firmware (comparable to enigma1), and it is the audio information which we got just by pressing the blue button.
It's hard to believe that enigma2 in year 2017 haven't got anything like this.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 5 June 2017 - 10:39
You can put whatever you wish into your InfoBar if you eiher find or write the needed convertors and renderers.
As you can see icons are there to show that both Dolby and dual audio have been detected from either DVB or a Stream, it works on both.
And that is exactly what was the original question about, how to get info about number of channels. You have only Dolby icon and as Erik explained it probably will not be easy (if possible) to get such convertor/renderer for channel numbers.
Posted 5 June 2017 - 12:29
Yes, the amount of channels is not part of the information acquired through the PMT, just MPEG 1 audio ("stereo") or (E-)AC3 ("Dolby").
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 6 June 2017 - 23:00
But your screenshot does not give wat is requested here...
This one shows it.
A 14 year old receiver that shows what "powerfull" enigma2 isn't able to.
WP_20170606_23_49_35_Pro (002).jpg 180.05KB 8 downloads
Enigma is getting old....
Posted 7 June 2017 - 20:31
The importance of things is something "relative".
Something may be very important for you, and may have zero importance for me.
Fortunately everybody has different needs and tastes, otherwise everything would be very boring.....
For people like me and 4 other ones (between crazy and mad ) those things are always welcome.
Why this feature was added to Triple Dragon box 10 years ago ? We had to ask it to one of its developers (Micha-R ?) , but sure they thought that it could be usefull to somebody.
Really, my first linux Box was a Triple Dragon.
I was so happy with it, but due to its limitations (no HDTV no DVB-S2,...) I bought enigma2 boxes.
My first impression was that they were worse that TD.
No audio/video info (this one I'm asking), no possibility to "unsort" satellite lists (sort by frequency, f.i.) unless using favourites......
Both things are still impossible in E2....
Enigma is getting old....
Posted 9 June 2017 - 10:56
Indeed it relative. Compare the amount of effort required to implement a feature to the amount of users that are requesting it. I think in this case the result will be quite unfavourable.
I realise it will be even more difficult than I described. In DVB mode (watching TV, watching recordings), enigma never sees the audio stream at all. It is all handled in hardware. To see the audio, you'd need to "tap" the demuxer, filter on the audio pid and then read quite a bit of data and try to determine the format and the amount of channels. I'd rather have not this kind of error-prone code inside enigma only for this use.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 9 June 2017 - 14:52
# ffprobe -v quiet -print_format json -show_format -show_streams http://localhost:8001/1:0:19:1F45:42E:1:C00000:0:0:0: { "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", "codec_time_base": "1/50", "codec_tag_string": "[27][0][0][0]", "codec_tag": "0x001b", "width": 1440, "height": 1080, "coded_width": 1440, "coded_height": 1080, "has_b_frames": 3, "sample_aspect_ratio": "4:3", "display_aspect_ratio": "16:9", "pix_fmt": "yuv420p", "level": 40, "color_range": "tv", "color_space": "bt709", "color_transfer": "bt709", "color_primaries": "bt709", "chroma_location": "left", "refs": 1, "is_avc": "false", "nal_length_size": "0", "id": "0x1fe", "r_frame_rate": "25/1", "avg_frame_rate": "25/1", "time_base": "1/90000", "start_pts": 6463179697, "start_time": "71813.107744", "bits_per_raw_sample": "8", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 } }, { "index": 1, "codec_name": "ac3", "codec_long_name": "ATSC A/52A (AC-3)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "[6][0][0][0]", "codec_tag": "0x0006", "sample_fmt": "fltp", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "dmix_mode": "-1", "ltrt_cmixlev": "-1.000000", "ltrt_surmixlev": "-1.000000", "loro_cmixlev": "-1.000000", "loro_surmixlev": "-1.000000", "id": "0x209", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 6463113289, "start_time": "71812.369878", "bit_rate": "192000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "fra" } }, { "index": 2, "codec_name": "dvb_subtitle", "codec_long_name": "DVB subtitles", "codec_type": "subtitle", "codec_time_base": "1/90000", "codec_tag_string": "[6][0][0][0]", "codec_tag": "0x0006", "id": "0x21f", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 1, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "fra" } } ], "format": { "filename": "http://localhost:8001/1:0:19:1F45:42E:1:C00000:0:0:0:", "nb_streams": 3, "nb_programs": 13, "format_name": "mpegts", "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)", "start_time": "71812.369878", "probe_score": 50 } }(we can use of course dvbsnoop on audio pid, eg dvbsnoop -b -n 50 THE_AUDIO_PID > tmp.ts && ffprobe -v quiet -print_format json -show_format -show_streams tmp.ts)
Edited by athoik, 9 June 2017 - 14:53.
Posted 9 June 2017 - 20:20
Interesting. I'll add an issue for this so we won't loose sight of it.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
0 members, 1 guests, 0 anonymous users