usb sound card and omxplayer


8 posts
by urra901109 » Mon Nov 26, 2012 11:57 am
hey guys :)

just a question, does omxplayer allows you to output its audio through usb sound card. i bought a cheap usb sound card (tenx tech tp6911 chipset) and it works great on MOC player, no more crackling sound during track change.. but omxplayer isn't giving me any sound.
Posts: 34
Joined: Sun Sep 23, 2012 4:48 am
by redhawk » Mon Nov 26, 2012 12:05 pm
User avatar
Posts: 2925
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1
by dom » Mon Nov 26, 2012 1:37 pm
@urra901109
No, omxplayer doesn't support USB audio (or any form of ALSA).
Moderator
Moderator
Posts: 3861
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by urra901109 » Mon Nov 26, 2012 1:56 pm
dom wrote:@urra901109
No, omxplayer doesn't support USB audio (or any form of ALSA).


aww thats too bad.. :( the only the thing that has been bugging me since i first play video/audio on it. otherwise it is great. thanks for stating it out. :) i guess i need to save up for a monitor with hdmi now.

anyone got any idea to add? i'm up for any hardware mods maybe a little circuit to minimize the crackling effect? it is very loud for my liking.
Posts: 34
Joined: Sun Sep 23, 2012 4:48 am
by ski522 » Mon Nov 26, 2012 6:14 pm
What are you trying to do exactly? If you want to play music or internet radio/music streams, you don't need to use omxplayer, you can install mplayer instead which works fine with ALSA. The only time you need to use omxplayer is for video sources at which point you'll only have to deal with the popping noise at the initial start of the video.
Posts: 389
Joined: Sun Sep 30, 2012 2:22 pm
by urra901109 » Mon Nov 26, 2012 7:16 pm
ski522 wrote:What are you trying to do exactly? If you want to play music or internet radio/music streams, you don't need to use omxplayer, you can install mplayer instead which works fine with ALSA. The only time you need to use omxplayer is for video sources at which point you'll only have to deal with the popping noise at the initial start of the video.


i would like both.. as i said in the 1st post, the usb card works fine with MOC, which i use to play songs. the problem arise when i'm trying to play video(omxplayer). and its not just at the start of the video, but the crackling also happen during fast forward.
Posts: 34
Joined: Sun Sep 23, 2012 4:48 am
by ski522 » Mon Nov 26, 2012 7:31 pm
Yeah, I can see where FF would cause that problem as well...only option at that point is to use an HDMI converter, but they are almost as much as the PI itself...sort of defeats the whole "low cost" solution. Something similar to http://www.meritline.com/mini-hdmi-to-c ... 83103.aspx

Of course I just did a quick search so no promises this is what you would need.

Also, I thought I had saw on the forum somewhere where the GPU was going to be accessible soon by open source apps, so mplayer (and others) might be able to take advantage of the GPU much like omxplayer does today.
Posts: 389
Joined: Sun Sep 30, 2012 2:22 pm
by urra901109 » Mon Nov 26, 2012 7:47 pm
@ski522
i'm really not going to dive into hdmi > component+rca converter. aside from being pricey, it does need another powerplug. currently i'm using some diy powered hub "back powering" the pi. galaxy tab's 10 watts charger is the ceiling for its power consumption, i dont wish to go more

i read it somewhere too about broadcom open sourcing its driver/hardware (not sure which one it is). yeah i hope it is coming soon where all developer can take full advantage af the pi's hardware.

like you said, i just need to deal with the crackling sound till i got enough money to get some decent hdmi tv.. :)
Posts: 34
Joined: Sun Sep 23, 2012 4:48 am