Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: mcewanw on May 05, 2009, 05:11:15 AM
-
I'm used to using gmplayer (and occasionally commandline mplayer) on Puppy Linux to watch DVDs on the computers I am now using TC with.
I would also like to use Mplayer to listen to audio CDs (if that is possible).
But for the life of me, I can't get any of the two TC version I have downloaded to recognise my DVDs or CDs or do anything...
I am using TC 2.0rc1 with Xvesa (I don't want to use Xorg) and I have installed OSS.tczm (using PPR/tcz).
I have a DVD reader on /dev/hdc
I have tried optionally loading (on different boots), the following two versions of Mplayer:
Mplayer-nodeps.tcz and MPlayer-svn-gtk2.tcz
With Mplayer-nodeps.tcz:
If I stick a DVD in my machine and enter at a commandline: mplayer dvd://
I get the following message:
MPlayer SVN-r27667 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Playing dvd://.
Couldn't open DVD device: /dev/dvd (No such file or directory)
No stream found to handle url dvd://
Exiting... (End of file)
Admittedly, I'm just guessing the command option to use. What should I enter?
For CD audio disc in the drive, I don't have a clue even where to begin.
Can any of these two mplayer downloads play either DVDs or CDs and if so what do I have to do to get that all working? Is mplayer supposed to just work on installation out of the box, or do I have to do some configuration first (and what?).
[I don't want to use XMMS or any other player for audio or anything else if I can get away with just using commandline mplayer, though I would also like to know if there is a gui version of mplayer for download that works under Xvesa only].
Note that I am now using TC 2.0rc1 as my main desktop (on my main two machines); it does pretty much everything that I'm currently needing, except for audio and video (I couldn't care less about mpeg4s, avi;s or mp3s; it is DVD and CD that I want).
Anyone able to provide detailed steps/howto on this stuff (or is the facility simply not available under TC as yet)? I searched the forums but came up blank, though maybe I missed something.
-
Sure; your mplayer command was entirely correct. TC doesn't currently create the symlinks /dev/dvd, /dev/cdrom etc, so you need to tell mplayer which device is your dvd drive:
mplayer -dvd-device /dev/hdc dvd://
For audio cds it would be
mplayer -cdrom-device /dev/hdc cdda://
The options can be saved in your mplayer config file, or you could create those symlinks and add them to your backup.
-
Great, and many thanks, part of a mystery solved. The mplayer DVD command you gave me worked! :-)
tc@box:~$ mplayer -dvd-device /dev/hdc dvd://
MPlayer SVN-r27667 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Playing dvd://.
There are 2 titles on this DVD.
There are 1 angles in this DVD title.
...
But... the mplayer CD command didn't. What is wrong?
tc@box:~$ mplayer -cdrom-device /dev/hdc cdda://
MPlayer SVN-r27667 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Playing cdda://.
No stream found to handle url cdda://
Exiting... (End of file)
-
Hmm, never tried to play audio cds with mplayer. Can't say what's the issue there.
-
I spoke slightly too soon with mplayer DVD mode; I have video but no sound as yet.
mplayer CDDA mode: nothing as before.
Though I have OSS installed, I've actually never tried sound at all in any shape or form on this system as yet.
-
Something is wrong... My /var/log/soundon.log file (extract):
*** Loading OSS kernel modules ***
osscore module loaded OK
oss_maestro module loaded OK
oss_usb module loaded OK
*** Finished loading OSS kernel modules ***
/usr/lib/oss/etc/legacy_devices: Read-only file system
0 audio devices
0 mixer devices
+++ ossinfo -v3 +++
Version info: OSS 4.1 (b 1052/200904111036) (0x00040100) GPL
Platform: Linux/i686 2.6.29.1-tinycore #1337 SMP Fri Apr 10 19:12:39 EEST 2009
(box)
Number of audio devices: 0
Number of audio engines: 0
So OSS sound is not working for me for some reason (I used alsa under Puppy Linux).
But would this effect mplayer cdda mode too?
-
But would this effect mplayer cdda mode too?
No, not likely.
What's your sound card?
Also, when did you download the OSS extension? There was a nasty bug that was fixed on 20.4.
Here are the md5sums of the fixed extension:
ee83dab47f8d02f00a544882221812fb OSS.tcem
0001969d00530ee153e831024ee1fb4e OSS.tczm
-
I have the fixed OSS.tczm extension. The md5sum is correct.
I am on an old Dell Latitude CPx laptop. The sound card is detected as a ESS Maestro-2E as shown below:
Open Sound System starting Tue May 5 23:13:22 UTC 2009
OSS version: 4.1 (b 1052/200904111036)
Kernel version: 2.6.29.1-tinycore
Kernel vermagic: 2.6.29.1-tinycore SMP mod_unload 486
No /usr/lib/oss/etc/installed_drivers - running ossdetect
Detected ESS Maestro-2E
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
OSS vermagic: 2.6.29.1-tinycore SMP mod_unload 486
*** Loading OSS kernel modules ***
osscore module loaded OK
oss_maestro module loaded OK
oss_usb module loaded OK
*** Finished loading OSS kernel modules ***
opendir: No such file or directory
/usr/lib/oss/etc/legacy_devices: Read-only file system
0 audio devices
0 mixer devices
+++ ossinfo -v3 +++
/var/log/soundon.log
The above was on TC 2.0rc1 but I've now tried it on TC 1.2 which I also have on my system and OSS sound works on that, so on TC 1.2 mplayer is playing DVDs with video and sound using the command you gave me, but cdda doesn't work on TC 1.2 either, giving the same error message as before.
So I have two problems on TC 2.0rc1: no sound and no cdda
and only one problem on TC 1.2: no cdda
-
I found the reason for cdda - it requires either libcdio or cdparanoia, and while nodeps is meant to not depend on anything, the gtk* builds could get the support in the future.
This might be a long shot, but could you try the tce version of OSS?
-
In fact I was had just downloaded OSS.tcem when I read your suggestion, but alas it made no difference. So why is OSS fine on this machine in TC 1.2?
As for cdda, are you saying that mplayer ... cdda would work if cdparanoia was installed or is that issue to do with how mplayer-nodeps was compiled?
-
Either cdparanoia or cdio would need to be installed before compiling. The libcdio.tcel extension contains a command-line cd audio player (cdda-player), which might work for your purpose?
So why is OSS fine on this machine in TC 1.2?
In addition to being for the new kernel, it's also a new version (4.1 vs. 4.0 in TC 1.x). The maestro driver has been moved to the "attic" of OSS, where it's not maintained as often as the other drivers. This does sound like an OSS bug, could you post the full soundon.log (maybe at pastebin.ca)?
-
>mplayer -dvd-device /dev/hdc dvd:// (7635)
MPlayer SVN-r27667 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Playing dvd://.
Exiting... (End of file)
Couldn't open DVD device: /dev/hdc (No such device or address)
No stream found to handle url dvd://
>mplayer -dvd-device /dev/hdc dvd:// (7635) returned '0'
mplayer doesn't work! :-(
what is wrong? mplayer plays *.flv from terminal. How can i find my dvd/cd?
-
>mplayer -dvd-device /dev/hda dvd:// (7737)
Playing dvd://.
Exiting... (End of file)
Couldn't open DVD device: /dev/hda (Wrong medium type)
No stream found to handle url dvd://
>mplayer -dvd-device /dev/hda dvd:// (7737) returned '0'
???
-
>mplayer -dvd-device /dev/hda dvd:// (7741)
MPlayer SVN-r27667 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Playing dvd://.
There are 34 titles on this DVD.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 6000.0 kbps (750.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 1024x576 Planar YV12
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[swscaler @ 0x8857f00]using unscaled yuv420p -> rgb32 special converter
[mpeg2video @ 0x87b67d0]concealing 1305 DC, 1305 AC, 1305 MV errors
[mpeg2video @ 0x87b67d0]ac-tex damaged at 23 7
[mpeg2video @ 0x87b67d0]Warning MVs not available
Exiting... (End of file)
>mplayer -dvd-device /dev/hda dvd:// (7741) returned '0'
with other dvd (the Cars)...
-
This does sound like an OSS bug, could you post the full soundon.log (maybe at pastebin.ca)?
Sorry, I just read your message: was late night here and I had to sleep.
I've never used pastebin before, so I hope my post remains:
soundon.log at http://pastebin.ca/1413736
-
Hmm, nothing obvious jumps at me. Also, one of my older comps has a Maestro3 and it works fine.
If you have time, could you report it to the OSS bugzilla at
http://bugzilla.opensound.com/ ?
Noting that it worked fine in 4.0 on 2.6.26, stopped working in 4.1 on 2.6.29.1, and attaching soundon.logs from TC 1 as well as the log you just posted should help them locate the bug.
edit: oh yeah, in case it matters, we are using the GPL version.
-
Okay, I'll do that.
In the meantime, I discovered that my system works fine with alsa (including playing DVDs with Mplayer-nodeps).
Thanks for all your help.
-
i think prob is in missing lib - like libdvdread! ;D
i'll try with it and write about success! 8)
-
no!
i installed libdvdread.tce - not work
mplayer-svn-gtk1.tce - no
mplayer-svn-gtk2.tce - no!
mplayer-svn-gtk1.tce - no
Warning MVs not available!
may be i must install some codecs? ???
-
nickispeaki, if you use TC 2, try the updated mplayer-nodeps extension
-
nickispeaki-
The gtk1 and gtk2 versions of Mplayer will play dvd's if the dvd device is set up right and the right video output is used. There is the MV warning, and there are stability issues with any gtk mplayer but it should at least work.
-
nickispeaki-
The gtk1 and gtk2 versions of Mplayer will play dvd's if the dvd device is set up right and the right video output is used. There is the MV warning, and there are stability issues with any gtk mplayer but it should at least work.
should! but it sholdn't!
-
Trying to play dvd's with the GTK mplayers with TC 2.x is nearly impossible due to crashes and such. The dvd will start but it will freeze or die in a short time. There is indeed an issue.
I will compile gmplayer again with TC 2.x and see what happens. Maybe it will behave better built against our new glibc.
-
I rebuilt the gtk1 version of Mplayer with outstanding results on TC 2.x. The DVD I could not get to play with the gtk Mplayers in the repo now plays flawlessly with the new build. ON TC 1.x I could not produce an updated usable build of gtk Mplayer but now all seems well. I will post extensions soon.
-
Oh, also the new gtk1 build of Mplayer plays ogg-theora perfectly. The GNU Stephen Fry video plays fine. So theora is supported in Mplayer after all.
EDIT: After checking, libtheora was installed on my machine hence the theora support.
-
theora is supported in Mplayer after all.
EDIT: After checking, libtheora was installed on my machine hence the theora support.
sneaky, it supports theora but needs theora support. i will try it later, thank you for for your dedication.
despite my frustration with that particular video, curaga "converted me" to mplayer (nodeps) when no one else was able. it's what i use for mp3's, ogg vorbis, flv, mpg, in tc and ubuntu (very soon, just tc.)
-
curaga "converted me" to mplayer (nodeps) when no one else was able. it's what i use for mp3's, ogg vorbis, flv, mpg, in tc and ubuntu (very soon, just tc.)
Are you able to use mplayer (nodeps) to play audio cds? If so how do you do it?
-
I rebuilt the gtk1 version of Mplayer with outstanding results on TC 2.x.
Not directly on topic, but I have been wanting to start compiling with TC but I'm now only using the 2.x series and don't see any compiletc available for download. What do I need as a development environment in TC 2.x?
-
gcc-binutils and its deps plus any helper apps that might be needed - see info file
-
Oh, also the new gtk1 build of Mplayer plays ogg-theora perfectly. The GNU Stephen Fry video plays fine. So theora is supported in Mplayer after all.
EDIT: After checking, libtheora was installed on my machine hence the theora support.
not even with libtheora installed.
(http://img301.imageshack.us/img301/3883/ogg4.png)
that's the gtk1 version in 2.0rc1. although it will probably quit with an error (some presentation: look how much stephen likes linux! then mplayer proves him wrong...) anyway, which is why the nodeps version would be better, neither plays this video. you i believe, have something extra installed.
-
Did you build a new gtk1 Mplayer on 2.0 with the latest svn? Or is that the Mplayer that is in the repo now? The one in the repo does not work well at all on 2.x. Compiling against libtheora as well as the new glibc is what seems to make it all work. I can upload a screenshot when I get back home to my build box if you need proof. There are other things like audio cd support that I want to include before uploading an updated extension.
-
Did you build a new gtk1 Mplayer on 2.0 with the latest svn? Or is that the Mplayer that is in the repo now? The one in the repo does not work well at all on 2.x.
(respectfully) i don't know why you keep asking me things like this. the only thing i've ever been able to compile is zile, and only with instructions specific to zile, if i could compile my own stuff (i've tried, with help here, more than once) this wouldn't be an issue.
THE ONLY THINGS I USE and report here are extensions, from the repo. (TCE bugs. not compile problems.) IF i'm talking about something outside the repo (even outside 2.x repo in 2.x, or outside 1.x repo in 1.x,) i promise to mention it, it would be relevant.
edit: oh i see... YOU'RE talking about things that work if YOU build them, even though they're not available to us. if you haven't been specific about where you got the things that you report as working, you're going to mislead the rest of us (me) into thinking it's something i can just install with appbrowser :( and then it won't work, but i'll think it's something i'm doing. do let me know if your working version ever makes it into the repo.
i could have told you the gtk version in the repo isn't great- i usually use nodeps. i prefer extensions i can show off to people. "hey, look at this cool media player, it plays a video and then closes with some annoying error message!" "hey that's cool man, i'm just going to use windows." "no, but... linux is so great, mplayer just sucks. vlc player is good!" "then why are you using mplayer?" "i don't know!" also i can't figure out why the nodeps version (it is new, but i didn't build it) won't play the theora video.
-
I am going to cool off before I answer your post along with your ridiculous footer. Better for all that way.
-
I am going to cool off before I answer your post along with your ridiculous footer.
if by "cool off" you mean you're offended, i don't require politeness from you, i'd rather you just pm me and let me know what's bothering you. you've always been helpful and i have no quarrel with you, go ahead and don't sugarcoat it for my sake. pm will ensure neither one of us is embarrassed. i'm sorry you think the footer is ridiculous, i don't intend to keep the sig indefinitely.
-
You misunderstood which mplayer I was running I thought I stated I was using a test build. So I asked were you running the extension or a new build when you countered my claim (since I thought stated I was running a new build), and you felt I was talking down to you. Then I did not like your somewhat melodramatic response. Looking back I see you stated that you were using the gtk1 version from the 2.x repo. Misunderstandings happen, it is definitely not the first one involving me and probably won't be the last. No hard feelings here.
Though I had previously given up on updating the gtk mplayers they show a lot of promise building them with TC 2.x and they will be updated soon.
-
So I asked were you running the extension or a new build when you countered my claim (since I thought stated I was running a new build), and you felt I was talking down to you. Then I did not like your somewhat melodramatic response. Looking back I see you stated that you were using the gtk1 version from the 2.x repo. Misunderstandings happen, it is definitely not the first one involving me and probably won't be the last. No hard feelings here.
there was quite a lot of (temporary i hope) frustration over here for the moment, which has nothing to do with you but i'm quite sure came through in my post, i don't want to say "don't take it so seriously" because it might not sound honest even if it's what i mean. i don't want to say exactly that, but i think you took what i said um... i think you took more than i had any intention to say. that's easy for anyone, moreso online and i'm sure i do it, but zero offense taken and i'm glad it's mutual or at least close enough.
-
you need to tell mplayer which device is your dvd drive:
mplayer -dvd-device /dev/hdc dvd://
For audio cds it would be
mplayer -cdrom-device /dev/hdc cdda://
I found the reason for cdda [above not working with mplayer] - it requires either libcdio or cdparanoia, and while nodeps is meant to not depend on anything, the gtk* builds could get the support in the future.
I'm really wishing this would happen; I'd love to use mplayer for playing audio cds.
-
The gtk1 version of Mplayer was rebuilt with cd audio support when it was updated.
-
Ah... The trouble is, I was originally trying to see if I could run my old system without gtk2 at all, since gtk1 apps often seemed smaller and faster, but too many apps I wanted to use were gtk2, so I gave up on the gtk1 only idea.
Then I decided I wouldn't install gtk1 at all to save some resources (why have both?)!
So I'm using the gtk2 version of Mplayer...