Dear betacentauri,
Yes probably that will do the job . I will test it and come back with the patch.
Posted 4 July 2013 - 20:52
Dear All,
I created a patch as betacentauri suggested but this sample has the same behaviour (although i need to do more testing to be 100% sure).
0001-Set-only-by-hardware-supported-audio-mpeg-4-profile.patch.txt 3KB 5 downloads
I think this is not working because of this patch applied recently on dreambox dvbmediasink. I will try with OpenPLi dvbmediasink and see if sample has different behaviour on sound switching.
Can you understand what this patch tries to do? It forces to use AAC LC?
Posted 5 July 2013 - 00:22
Posted 5 July 2013 - 06:51
What profile and what type does your sample have?
Here is the output of mediainfo from the sample.
Most probably your patch solves a completely different issue (not the problem when switching from AAC to AC3). It can play AAC files with profile different than LC.
Do you have a sample file to test patch (profile = (string) lc) if it works on dreambox? If it works we can apply patch for dreambox dvbmediasink too.
Posted 5 July 2013 - 15:05
For testing you can use this test file:
http://download.wave...bps_48000Hz.AAC
Without my patch I cannot hear audio. If it's the same for dreamboxes, I don't know.
Posted 5 July 2013 - 19:26
For testing you can use this test file:
http://download.wave...bps_48000Hz.AAC
Without my patch I cannot hear audio. If it's the same for dreamboxes, I don't know.
It's the same
With the changes proposed, the above sample works. Great job betacentauri.
The following file patches dreambox dvbmediasink.
0001-Set-only-by-hardware-supported-audio-mpeg-4-profile.patch.txt 3KB
11 downloads
Edited by athoik, 5 July 2013 - 19:26.
Posted 12 July 2013 - 15:30
In another forum biki3 told me that he has problems with mkv with ac3 and aac tracks. If you start with ac3 you can hear sound. Then switch to aac (which also works) and then back to ac3. Then you cannot here anything. If you start with aac track (works) and switch to ac3, you cannot hear anything.
Does anybody have an idea, what the problem is and how to solve it?
I found a solution for this . It's a little bug in the dvbaudiosink. Once an aac track was selected, self->aac_adts_header_valid was set to true. Changing audio track back to ac3 track didn't change that flag. This had the effect that always an aac adts header was added to the pes packet.
Attached is a patch to solve this problem.
Posted 12 July 2013 - 16:36
Thanks! Found it (luckily) by accident. I only wanted to check whether data is written to audio device. And there I saw that the pes header size changed while switching track, which is normal but not different sizes for one track...
Posted 12 July 2013 - 17:26
@Athoik: Now it's your turn to patch dreambox dvbmediasink
It looks like dreambox dvbmediasink has the same error...
Yes it does
I will test the same fix on dreambox dvbmediasink.
Well done betacentauri!
Posted 12 July 2013 - 18:39
I will test the same fix on dreambox dvbmediasink.
It works also on dreambox dvbmediasink.
Here is the patch.
0001-Fix-ac3-audio-playback-if-aac-track-is-present.patch.txt 3.04KB
15 downloads
Posted 13 July 2013 - 14:34
hi
still this stream not working m3u8 http://37.46.199.34:.../playplist.m3u8
you can check to see why not working and I m using latest enigma openpli3.0
thanks
Posted 13 July 2013 - 17:11
hi
still this stream not working m3u8 http://37.46.199.34:.../playplist.m3u8
you can check to see why not working and I m using latest enigma openpli3.0
thanks
It's the third time asking exactly the same think! Because segments are encrypted!
Just read here for a possible solution using GreekStreamTV.
Edited by athoik, 13 July 2013 - 17:12.
Posted 13 July 2013 - 19:12
hi
sorry but I m not asking to play stream with GreekStreamTV.
I m asking for help to play stream with the bouquet and trying to play stream with GreekStreamTV not working either.
thanks
hi
still this stream not working m3u8 http://37.46.199.34:.../playplist.m3u8
you can check to see why not working and I m using latest enigma openpli3.0
thanks
It's the third time asking exactly the same think! Because segments are encrypted!
Just read here for a possible solution using GreekStreamTV.
Posted 14 July 2013 - 06:46
Posted 15 July 2013 - 16:51
I will test the same fix on dreambox dvbmediasink.
It works also on dreambox dvbmediasink.
Here is the patch.
0001-Fix-ac3-audio-playback-if-aac-track-is-present.patch.txt
Here is the patch removing above fix. Original dvbmediasink is fixed (probably better, since it fixes a possible memory leak also).
0001-Remove-patch-for-ac3-audio-playback-if-aac-track-is-.patch.txt 3.01KB 26 downloads
Thanks to Persian Prince for noticing the update.
0 members, 3 guests, 0 anonymous users