Youtube, etc.

AmigaOne X5000 platform specific issues related to Linux only.
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Youtube, etc.

Post by Spectre660 »

Youtube browser for SMtube selection with right mouse button.
Use open with mpv + youtube-dl .
Attachments
5.png
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Youtube, etc.

Post by Skateman »

Spectre660 wrote:Smplayer Settings
I dont have that X11 option in my SMplayer.... hmm...
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Youtube, etc.

Post by kilaueabart »

Spectre660 wrote:Smplayer Settings
OK, these settings details were a step forward. I can now smoothly play a 30-second Sample.mp4 that somehow turned up in home/bart/Videos. (It won't touch a couple AVI files there.) I found a 172-minute video DVD and tried that. It plays, poorly, for 48 seconds and stops. All video is silent. Everything is silent in my Ubuntu. I think I'd rather have sound than video, if I had to, and could, choose.

Oh, yeah. YouTube browser still does nothing.

But I have to take back about not touching the AVI files. True, if I click Open in SMPlayer and go to Videos, it doesn't list the AVI files. However, if I right-click on the AVI icon and choose Open With > Enqueue in SMPlayer, they play beautifully, much better than they used to in the X1000. Except silently.
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Youtube, etc.

Post by Spectre660 »

You need to have sound working to get any sound .
The options that work for me are either HDMI sound or a USB sound card.
For the HDMI sound you need to have a monitor that supports HDMI sound and is connected to your video card via a HDMI cable.
This is the model USB sound card that I use. Similar cards should also work .
https://www.startech.com/Cards-Adapters ... CUSBAUDIO7

You then have to Identify the sound card in sound prefs and set is as the default option .
You can disable any options you don’t use or don’t work in your configuration.
You can access the sound prefs via the Application menu : sound & Video : Sound
Or by right clicking on the Sound Icon on the upper right hand Menu Bar.
Attachments
1_Sound.png
2_Right_Click-Sound-Icon.png
3_Hardware.png
Last edited by Spectre660 on Mon Dec 18, 2017 11:53 am, edited 3 times in total.
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Youtube, etc.

Post by Spectre660 »

Set the device for output .
Attachments
4_Device.png
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Youtube, etc.

Post by Spectre660 »

Default Smplayer audio settings.
Attachments
Smplayer_Audio.png
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Youtube, etc.

Post by kilaueabart »

Spectre660 wrote:You need to have sound working to get any sound .
...
https://www.startech.com/Cards-Adapters ... CUSBAUDIO7
If I used that, I wonder if I would have to keep switching my speakers between that for Ubuntu and the regular sound jack for sound from the Amiga.

Probably makes more sense to just use the Amiga side, or the Raspberry, for YouTube and music. But I am a little suprised that Ubuntu can't match them!
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Youtube, etc.

Post by Spectre660 »

Lot of factors involved including some X5000 limitations.
Someone with a working pciex1 CMI8738 might get it working under Both AmigaOS 4.1 and Linux .
kilaueabart wrote:
Spectre660 wrote:You need to have sound working to get any sound .
...
https://www.startech.com/Cards-Adapters ... CUSBAUDIO7
If I used that, I wonder if I would have to keep switching my speakers between that for Ubuntu and the regular sound jack for sound from the Amiga.

Probably makes more sense to just use the Amiga side, or the Raspberry, for YouTube and music. But I am a little suprised that Ubuntu can't match them!
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Youtube, etc.

Post by kilaueabart »

Spectre660 wrote:You need to have sound working to get any sound .
...
https://www.startech.com/Cards-Adapters ... CUSBAUDIO7

You then have to Identify the sound card in sound prefs and set is as the default option .
You can disable any options you don’t use or don’t work in your configuration.
You can access the sound prefs via the Application menu : sound & Video : Sound
Or by right clicking on the Sound Icon on the upper right hand Menu Bar.
I ended up ordering a USB sound card, and it came two days ago. Meanwhile sound had started working, to my surprise. I could click on an MP3 file and get nice sound. I'm not sure if it would play the file all the way through -- I was just testing to see if it worked. But then there was a Youtube song I wanted to hear all of, and it worked fine for 37 seconds. Then it quit, and I haven't been able to play anything again since.

So I went ahead and tried the new USB card (Sound Preferences says it is "CM 108 Audio Controller 1 Output /2 Inputs Analog Stereo Output + Analog Mono Input ." The speaker test works just fine. (The speaker test seems to work fine with everything, whether it will play an audio file or not.) But when I try to play an MP3 some tiny window opens and closes so fast I can't make it out, but I have reason to believe it is VLC media player. I removed the USB thing and tried to set things up the way they had worked before, which came out on the Output page as "CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device) Analog Stereo, Connector: Analog Output," when it was sort of working -- I screenshot the window. But I haven't been able to get it back as it was. I went back to the USB card; with that the only Connector allowed is "Speakers."

I wonder if the Kernel log provides any useful clues as to what is going wrong. It does show a number of attempts without the USB card, re-insertion of the USB card, and one attempt at sound with it:

Jan 13 11:23:38 X5000 kernel: [ 392.668345] vlc[8590]: unhandled signal 4 at 0ed12554 nip 0ed12554 lr 0ed12548 code 30001
Jan 13 11:24:08 X5000 kernel: [ 422.960033] vlc[8873]: unhandled signal 4 at 0ed12554 nip 0ed12554 lr 0ed12548 code 30001
Jan 13 11:35:05 X5000 kernel: [ 1082.284377] vlc[10024]: unhandled signal 4 at 0ea3a554 nip 0ea3a554 lr 0ea3a548 code 30001
Jan 13 11:38:32 X5000 kernel: [ 1289.043834] vlc[10137]: unhandled signal 4 at 0ea3a554 nip 0ea3a554 lr 0ea3a548 code 30001
Jan 13 11:40:21 X5000 kernel: [ 1398.267704] usb 2-1.2: new full-speed USB device number 3 using fsl-ehci
Jan 13 11:40:22 X5000 kernel: [ 1398.359354] usb 2-1.2: New USB device found, idVendor=0d8c, idProduct=013c
Jan 13 11:40:22 X5000 kernel: [ 1398.359363] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 13 11:40:22 X5000 kernel: [ 1398.359368] usb 2-1.2: Product: USB PnP Sound Device
Jan 13 11:40:22 X5000 kernel: [ 1398.359374] usb 2-1.2: Manufacturer: C-Media Electronics Inc.
Jan 13 11:40:22 X5000 kernel: [ 1398.378762] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/platform/ffe000000.soc/ffe211000.usb/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.3/0003:0D8C:013C.0006/input/input3
Jan 13 11:40:22 X5000 kernel: [ 1398.430858] hid-generic 0003:0D8C:013C.0006: input,hidraw3: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-fsl-ehci.1-1.2/input3
Jan 13 11:43:11 X5000 kernel: [ 1568.892745] vlc[10462]: unhandled signal 4 at 0ece1554 nip 0ece1554 lr 0ece1548 code 30001

I tried googling "unhandled signal 4 ubuntu" but only got Windows-related hits. But it must relate somehow to my VLC problem. I can no longer even open VLC for more than about a millisecond from the menu.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Youtube, etc.

Post by xeno74 »

kilaueabart wrote:But when I try to play an MP3 some tiny window opens and closes so fast I can't make it out, but I have reason to believe it is VLC media player.
Hi Kilaueabart,

Unfortunately the VLC player from the default repository doesn't work on the X5000. Please use another media player instead. I use audacious for example.

Have a nice day. :-)

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply