Now we can play DVDs and media streaming on Haiku

This is a news which worth publish separately :slight_smile:
I have ported SMPlayer, a mediaplayer which uses Mplayer as engine (i have also ported the last available revision of Mplayer with DVD, SMB and fontconfig support)
The peculiarity of this MediaPlayer, differently from the plain MediaPlayer of Haiku, is the ability of playing audio and video streaming, playing video DVDs and has support for downloading movies subtitles.
I have also ported “smtube”: an embedded browser for Youtube :slight_smile:
Works very well :slight_smile:

EDIT 2013-03-28: BY USERS FEEDBACK SEEMS THAT MPLAYER (THE ENGINE WHICH SMPLAYER USE) VIDEO OUTPUT IS NOT COMPATIBLE WITH RADEON VIDEO CARDS, AND IN THIS CASE MPLAYER MIGHT CRASH.

Download link:
http://haikuware.com/directory/view-details/multimedia/video/playback/smplayer


(click to enlarge)
You can use the built Youtube minibrowser for searching, download and quickly see Youtube videos


(click to enlarge)
Fully support for subtitles


DVDs menus
(click to enlarge)

Same here. I can’t get it to work on R1a4.1 because of missing libpng. Are you on nightly or some older version, Giova84?

Same here. I can’t get it to work on R1a4.1 because of missing libpng. Are you on nightly or some older version, Giova84?[/quote]

Currently i am running SMPlayer on Haiku Alpha 4.1, and works fine. libpng is also included in the package.
To install the QT package, just unzip the zip file using /boot as destination.

Great work Giovanni! I’d love to try this out when I get the chance, but first I need to figure out how to install the QT 4.8.5 package.

Same here. I can’t get it to work on R1a4.1 because of missing libpng. Are you on nightly or some older version, Giova84?[/quote]

Currently i am running SMPlayer on Haiku Alpha 4.1, and works fine. libpng is also included in the package.
To install the QT package, just unzip the zip file using /boot as destination.[/quote]

That’s odd, it works now! =D I could’ve sworn I’ve tried unzipping the file there before and I still got the “missing libpng” error when trying to open Qupzilla. I guess I didn’t, thank you for the help Giovanni.

@ waddlesplash If it helps any, I’m currently running Haiku nightly rev. 45365

I’m glad that now it works for you :slight_smile:
You’re welcome!

[quote=waddlesplash]
Same here. I can’t get it to work on R1a4.1 because of missing libpng. Are you on nightly or some older version, Giova84?[/quote]

Let me know, waddlesplash: some other users have solved. I have found that issues occur in some circumstances, like for example the presence of an older revision of Qt.

Hi, I am almost there. When I click on the youtube icon ( desktop ) the SMPlayer boots and the file name runs banner like. But nothing further happens.i.e no video plays.

Can someone please tell me how to get a screen shot onto this forum, as in an answer showing what I am getting?

Eddie.

A couple of things, I went into preferences/networks and change the ipv6 to ipv4 but it made no difference.
I tried playing a Music DVD but the DVD select box doesn’t do anything.? Again I get the DVD title bannering across the top but no play.

Are you able to play Youtube videos using Ubertuber or WebVideoPlayer?
EDIT:
in SMPLayer file settings (smplayer.ini) located in /boot/home/config/settings/Qt/.config/smplayer you can also try to set a lower quality for videos. Look for [Youtube] section and change the value of “quality” to 18.

For me Youtube works fine:

But sometimes, according to video quality/size, i have to wait some seconds for buffering (this occurs, eg, with HD videos)

[quote]A couple of things, I went into preferences/networks and change the ipv6 to ipv4 but it made no difference.
I tried playing a Music DVD but the DVD select box doesn’t do anything.? Again I get the DVD title bannering across the top but no play.[/quote]

To play a Music DVD, i suppose that you should open directly the files, not use “open DVD folder” which should be only for Video DVDs. If you can, try also SMPlayer on Windows and let me know how it works.

Are you able to play Youtube videos using WebVideoPlayer or Ubertuber?
If you aren’t able, this could be an issue with your connection.
Also try to change cache to an higher value (Preferences > Performance > Cache > Cache for st.reams eg to 8192) and when you start a video, wait some seconds for buffering
If you attempt to start mplayer (the software on which SMPlyaer is based) in a Terminal window, what you get? Do you have a radeon video card?

Hi, SMplayer works in Win7 64bit. Audio CD works straight away as per normal. Video DVD ( What I call Music DVD ) plays from folder as per your reccomendation.Tried running from the Disc selection but no go.
I have this minute booted Haiku and edited the file you gave me , locked up, rebooting.
I edited the file to 18 as per your instructions. Smplayer initially booted and then I tried to play youtube but as before , no go.
The URL bannered and then stopped halfway.
I then couldn’t get SMplayer to close so rebooted and found my Haiku Flash drive wouldn’t boot so will reinstall and get back.
One thing I did notice between the Windows SMp and the Haiku SMp was that the Windows version in the Open/Disc/DVD from drive box, had lines of type in the right hand side whereas Haiku doesn’t.

Hi, Ok, just reloaded Haiku and the only thing I have changed is the Screen res.
SMplayer will not boot to screen . I have to click on the SMplayer icon in the control panel and then it boots to screen.
I have placed a video DVD in the ODD and from the DVD from folder I typed in " D: " then I select where the video files are and click apply. The ODD spins up, the banner runs through but again no play.
I did see the Mplayer ( not SMplayer ) flash up in the control panel.

I have previously had no prob running youtube via Ubertube.
My connection is perfect.
Radeon no, Nvidia.

Just noticed in the control panel that there is a Blue icon. If I click on it it asks , Select media. I select Desktop, then the DVD then the file. A box appears with this inside it.

The application

/boot/common/bin/mplayer -noquiet -
nofs -nomouseinput -vc cores.

has encountered …

debug ok.

I am running on a 4 gb flash have change cache to 3000

The youtube works perfectly. I CnP an addy in and it finds it perfectly.

[quote=belfasteddie]Hi, Ok, just reloaded Haiku and the only thing I have changed is the Screen res.
SMplayer will not boot to screen . I have to click on the SMplayer icon in the control panel and then it boots to screen.
I have placed a video DVD in the ODD and from the DVD from folder I typed in " D: [/quote]

Sorry: maybe i don’t understad correctly: do you have typed “D:” in Haiku? In Haiku, hard disks and DVD/CD drives has no letters like in Windows :slight_smile:
But maybe you was referring to Windows: sorry if i haven’t understood correctly
In Haiku you have to open Tracker and just select th DVD icon which contains a video dvd.

[quote]I have previously had no prob running youtube via Ubertube.
My connection is perfect.
Radeon no, Nvidia.[/quote]

Try to change cache to 8192 as i’ve suggested before.
Edit: ok i have read that now you CnP an addy in and it finds it perfectly :slight_smile:

This shortcut, as said, works for files, not for DVDs, to play a video DVD, you have to open it inside SMPlayer via “Open a DVD folder” and then select the DVD drive itself inside Tracker, not vob files inside DVD:

I have just installed a dedicated Nvidia card as opposed to an onboard. I thought I would try just to see if it made any difference, nada.

Currently… Cache set to 8192 as per your instructions and the quality down from 22 to 18. smtube is working perfectly. I copy a youtube addy in and it shows immediately. I click on that new video and SMplayer pops up on the screen. The addy runs across banner like and then nothing.
Partial log below, the last line was repeated about 30 times.
SMplayer log:
[15:26:46:910] QProcess::readData(0x18352880 “\n\nMPlayer interr”, 16384) == 765
[15:26:46:910] QProcess::readData(0x1855194d “…”, 32003) == 0
[15:26:46:911] MplayerProcess::parseLine: ‘’
[15:26:46:911] MplayerProcess::parseLine: ‘’
[15:26:46:911] MplayerProcess::parseLine: ‘MPlayer interrupted by signal 4 in module: decode video’
[15:26:46:912] MplayerProcess::parseLine: ‘ID_SIGNAL=4’
[15:26:46:913] MplayerProcess::parseLine: ‘- MPlayer crashed by an ‘Illegal Instruction’.’
[15:26:46:913] MplayerProcess::parseLine: ’ It usually happens when you run it on a CPU different than the one it was’
[15:26:46:913] MplayerProcess::parseLine: ’ compiled/optimized for.’
[15:26:46:913] MplayerProcess::parseLine: ’ Verify this!’
[15:26:46:914] MplayerProcess::parseLine: ‘- MPlayer crashed by bad usage of CPU/FPU/RAM.’
[15:26:46:914] MplayerProcess::parseLine: ’ Recompile MPlayer with --enable-debug and make a ‘gdb’ backtrace and’
[15:26:46:914] MplayerProcess::parseLine: ’ disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.’
[15:26:46:914] MplayerProcess::parseLine: ‘- MPlayer crashed. This shouldn’t happen.’
[15:26:46:914] MplayerProcess::parseLine: ’ It can be a bug in the MPlayer code or in your drivers or in your’
[15:26:46:914] MplayerProcess::parseLine: ’ gcc version. If you think it’s MPlayer’s fault, please read’
[15:26:46:914] MplayerProcess::parseLine: ’ DOCS/HTML/en/bugreports.html and follow the instructions there. We can’t and’
[15:26:46:914] MplayerProcess::parseLine: ’ won’t help unless you provide this information when reporting a possible bug.’
[15:26:46:915] QProcessPrivate::_q_processDied()
[15:26:46:915] QProcessManager::run() sending death notice to MplayerProcess(0x180c5a10)
[15:26:46:915] QProcessManager::run() waiting for children to die
[15:26:46:916] QProcessManager::remove() removing pid 3141 process MplayerProcess(0x180c5a10)
[15:26:46:916] QProcessPrivate::waitForDeadChild() dead with exitCode 1 , crashed? false
[15:26:46:916] QProcessPrivate::bytesAvailableFromStdout() == 1024
[15:26:46:916] QProcessPrivate::readFromStdout(0x184d3aa0 “BMediaRoster::ReleaseNode, trying to release reference counting disabled timesource, node 2, port 387, team 3141\n\n\nMPlayer interrupted by signal 11 in module: decode video\nID_SIGNAL=11\n”, 1024) == 185
[15:26:46:916] QProcessPrivate::canReadStandardOutput(), read 185 bytes from the process’ output
[15:26:46:916] QProcess::readData(0x18352880 “BMediaRoster::Re”, 16384) == 185
[15:26:46:917] QProcess::readData(0x18551709 “…”, 32583) == 0
[15:26:46:917] MplayerProcess::parseLine: ‘BMediaRoster::ReleaseNode, trying to release reference counting disabled timesource, node 2, port 387, team 3141’
[15:26:46:917] MplayerProcess::parseLine: ‘’
[15:26:46:917] MplayerProcess::parseLine: ‘’
[15:26:46:917] MplayerProcess::parseLine: ‘MPlayer interrupted by signal 11 in module: decode video’
[15:26:46:917] MplayerProcess::parseLine: ‘ID_SIGNAL=11’
[15:26:46:917] QProcessPrivate::bytesAvailableFromStderr() == 1024
[15:26:46:917] QProcessPrivate::readFromStderr(0x184d3aa0 “…”, 1024) == -1
[15:26:46:917] MplayerProcess::gotError: 3
[15:26:46:917] MplayerLayer::playingStopped
[15:26:46:917] WARNING: QPainter::begin: Paint device returned engine == 0, type: 1
[15:26:46:917] Screen::playingStopped
[15:26:46:917] Screen::setAutoHideCursor: 0
[15:26:46:917] Screen::playingStopped
[15:26:46:917] Screen::setAutoHideCursor: 0
[15:26:46:917] BaseGui::showErrorFromMplayer
[15:26:46:917] showErrorFromMplayer: not displaying error dialog
[15:26:46:918] MyProcess::procFinished
[15:26:46:918] QProcess::bytesAvailable() == 0 (stdout)
[15:26:46:918] MyProcess::procFinished: Bytes available: 0
[15:26:46:918] QProcess::bytesAvailable() == 0 (stdout)
[15:26:46:918] MplayerProcess::processFinished: exitCode: 1, status: 0
[15:26:46:918] MplayerLayer::playingStopped
[15:26:46:918] WARNING: QPainter::begin: Paint device returned engine == 0, type: 1
[15:26:46:918] Screen::playingStopped
[15:26:46:918] Screen::setAutoHideCursor: 0
[15:26:46:918] Screen::playingStopped
[15:26:46:918] Screen::setAutoHideCursor: 0
[15:26:46:918] QProcessPrivate::_q_processDied() process is dead
[15:26:46:918] Core::processFinished
[15:26:46:918] Core::processFinished: we_are_restarting: 0
[15:26:46:918] Core::processFinished: play has finished!
[15:26:46:918] Core::processFinished: exit_code: 1
[15:26:46:918] BaseGui::showExitCodeFromMplayer: 1
[15:26:46:918] BaseGui::showExitCodeFromMplayer: not displaying error dialog
[15:26:54:578] WARNING: QPainter::begin: Paint device returned engine == 0, type: 1

Ok. You have said again that works perfectly, like in the previous post (when you set cache to 3000) but then you say that now you got an error. I can’t understand. Maybe you don’t use properly. But in anyway, if for you doesn’t work properly, you can uninstall it :slight_smile:
Delete /boot/apps/SMPlayer and /boot/apps/MPlayer

Ok, will do. Thanks for your help. Much appreciated.

regards,
Eddie.

Hi , the download link will not work on Haikuware.

This download seems to be gone. But if you want to play a DVD you still could use VLC 0.8.6i

http://www.haikuware.com/directory/view-details/multimedia/video/playback/vlc-media-player

There is still MPlayer

  • http://haikuware.com/directory/view-details/multimedia/video/playback/mplayer

smplay.hpkg.zip