Jump to content


Photo

Play Audio CD on Hisilicon chip Zgemma H9 Combo

servicehisilicon cdaudio cda

  • Please log in to reply
7 replies to this topic

#1 mruckert

  • Member
  • 7 posts

0
Neutral

Posted 14 January 2020 - 18:26

Hi I have a problem playing audi CD' on my zgemma H9 combo.

The CD is recognized and the correct playlist file in /media/audiocd/ is created.

But selecting a track from the playlist and pressing OK I just get a "format not supported" error.

 

I can play the cd using for examle

gst-launch-1.0 cdiocddasrc track=5 ! audioconvert ! audioresample ! alsasink

so the CD is OK and a working software is there,
 

Running enigma2 in debugging mode, it says

... playing 4097:0:0:0:0:0:0:0:0:0:/media/audiocd/track-02.cda
10:28:21.9231 ../servicehisilicon.cpp:709 eServiceHisilicon [eServiceHisilicon] construct!
10:28:21.9232 ../servicehisilicon.cpp:755 eServiceHisilicon [eServiceHisilicon] uri=/media/audiocd/track-02.cda
10:28:21.9424 ../servicehisilicon.cpp:532 netlink_event [eServiceHisilicon] error 6
 

It seems like the playing request uri=/media/audiocd/track-02.cda is correctly passed to servicehisilicon.cpp

and there, it is unable to play a cda file.

Is there a way to redirect the playing request to something like the gst-launch line above?

Can I install any other player plugin that would take precedence over the servicehisilicon application?

 

Any help is appreciated

Martin



Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 50,750 posts

+926
Excellent

Posted 14 January 2020 - 18:32

HiSilicon boxes don't use gstreamer, but some ffmpeg contraption, which I doubt works for audio media. Weird that gst-launch is even installed.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H9.2H ©, Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #3 mrvica

  • Senior Member
  • 799 posts

+46
Good

Posted 14 January 2020 - 18:39

I think he needs cdfs.ko in /lib/modules/......./extra/


Edited by mrvica, 14 January 2020 - 18:41.


Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 50,750 posts

+926
Excellent

Posted 14 January 2020 - 19:10

I doubt that, since the cd mounts fine.

 

Our servicemp3 supports the cda format (https://github.com/O...icemp3.cpp#L562) through gsteamer, servicehisilicon doesn't.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H9.2H ©, Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #5 mruckert

  • Member
  • 7 posts

0
Neutral

Posted 15 January 2020 - 16:25

I took the gstreamer support from the openatv image for the h9 combo. So I had the gstreamer stuff on the machine for testing. But its just for testing because I would like to stick with the simpler OpenPli installation. So it just demonstrates that it is not a kernel or mount problem. It seems to be a servicehisilicon problem.

Now can I change the enigma2 scripts so that playing a cda file will no longer invoke servicehisilicon but some other software that plays an audio track using a cda file?

Martin



Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #6 mruckert

  • Member
  • 7 posts

0
Neutral

Posted 15 January 2020 - 16:36

I doubt that, since the cd mounts fine.

 

Our servicemp3 supports the cda format (https://github.com/O...icemp3.cpp#L562) through gsteamer, servicehisilicon doesn't.

That looks interesting. Can I modify the enigma2 scripts to invoke the servicemp3 script instead of the servicehisilicon script in case of a .cda uri?

Martin



Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #7 rantanplan

  • Senior Member
  • 186 posts

+5
Neutral

Posted 15 January 2020 - 17:34

https://github.com/z...cehisilicon.cpp

 

If you build yourself, you could just try it out.
Add and test locally.
Will work for sure since ffmpeg can handle it easily.



Re: Play Audio CD on Hisilicon chip Zgemma H9 Combo #8 WanWizard

  • Forum Moderator
    PLi® Core member
  • 50,750 posts

+926
Excellent

Posted 15 January 2020 - 18:38

And if you've fixed it, don't forget to send a pull request back to Zgemma, so everyone can enjoy your handywork... :)


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H9.2H ©, Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users