Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Playing an SVCD with mplayer, I'm having problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Dave0
n00b
n00b


Joined: 12 Dec 2002
Posts: 20

PostPosted: Fri Jan 03, 2003 2:11 am    Post subject: Playing an SVCD with mplayer, I'm having problems Reply with quote

Whenever I try to play an SVCD using mplayer I get an error. Mplayer says the file is not supported. I know the files are ok because they play fine on my windows box. And it is not just one cd it is all of them.

Here is the code error I get, I also get it running as root...

Code:
    Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre10-3.2.1 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
SSE supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Creating config file: /home/Dave/.mplayer/config
Reading /home/Dave/.mplayer/codecs.conf: can't open '/home/Dave/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 44 audio & 110 video codecs
init_freetype
Failed to open /dev/rtc: No such file or directory (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/Dave/.mplayer/input.conf : No such file or directory
Input config file /usr/share/mplayer/input.conf parsed : 50 binds

Playing avseq01.mpg
Cache fill:  0.00% (0 bytes)    ============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===


Anyone have any suggestions please?
Back to top
View user's profile Send private message
Mr. Pointy
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 77

PostPosted: Fri Jan 03, 2003 6:09 am    Post subject: Re: Playing an SVCD with mplayer, I'm having problems Reply with quote

Dave0 wrote:

Code:
   
Playing avseq01.mpg
Cache fill:  0.00% (0 bytes)    ============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===



It looks like you are mounting the SVCD and trying to play the mpeg directly. That in unnecesary. Also, it doesn't work. I just tried it:
Code:
Playing /mnt/cdrom/mpeg2/avseq01.mpg
Cache fill:  0.00% (0 bytes)    ============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===

To play an SVCD 1) put cd in drive 2) do not mount the cd 3)....
Code:
mplayer -vcd 01

This should produce output like:
Code:
Playing VCD track 01
track 01:  adr=1  ctrl=6  format=2  00:02:00  mode: 1
track 02:  adr=1  ctrl=6  format=2  00:08:00  mode: 1
Cache fill: 18.29% (1533840 bytes)    Detected MPEG-PS file format!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  3125.0 kbps (390.6 kbyte/s)


It will also output the pictures and sounds :)
Back to top
View user's profile Send private message
iqt
n00b
n00b


Joined: 23 Oct 2002
Posts: 23

PostPosted: Sat Jan 04, 2003 2:05 pm    Post subject: Reply with quote

From the manual (file:///usr/share/doc/mplayer-0.90_rc1-r1/html/cd-dvd.html):


Quote:
The Syntax for a standard Video CD (VCD) is as followed: mplayer -vcd <track> [-cdrom-device <device>].
Example: mplayer -vcd 2 -cdrom-device /dev/hdc

VCD disks consists of 2 or more track:

* The first track is a few MB 2048 bytes/sector data track, with an iso9660 filesystem, usualy containing win32 VCD player programs and maybe other infos (jpegs, text, etc).
* The second and other tracks are raw 2324 bytes/sector mpeg tracks, without any filesystem but raw mpeg ps data, one packet per sector. they contain the movie(s)... The tracks can't be mounted! It is similar to audio tracks (e.g. You never mounted an audio cd to play it, or did you? No). As most movies are inside track too, you should try -vcd 2 first.


Dirk
Back to top
View user's profile Send private message
miunk
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 199

PostPosted: Fri Aug 08, 2003 9:41 am    Post subject: Reply with quote

Probably a bit off topic but if you haven't burned the SVCD yet and it was in .bin format you can play it directly in mplayer.

mplayer foo.bin
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Fri Jun 11, 2004 6:49 pm    Post subject: Reply with quote

that last post may have been a little off of topic but it was exactly what I was looking for. I was trying to play a svcd using mplayer by typeing mplayer cue://filename.cue and it would only play a few seconds. Why does playing the .bin file work but doing it the correct way not work?
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
kamagurka
Veteran
Veteran


Joined: 25 Jan 2004
Posts: 1026
Location: /germany/munich

PostPosted: Sat Oct 02, 2004 2:24 pm    Post subject: Reply with quote

btw, "-vcd $TRACK" is deprecated, you should now use "vcd://$TRACK".
one question though:
is there somewhere i can specify the default cd device? mplayer only looks in /dev/cdrom, so i have to use the "-cdrom-device" switch everytime...
_________________
If you loved me, you'd all kill yourselves today.
--Spider Jerusalem, the Word
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sat Jan 15, 2005 9:19 am    Post subject: Reply with quote

also off topic, but maybe one of you knows:
I have a SVCD disk and want to copy (rip) the MPEG to my HDD. I tried copying it the regular way (mount, cp, umount) but it didn't work. Probabely because the 2352B/sector thing

Is there a way around? in windows I used IsoBuster to do it...
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sat Jan 15, 2005 10:48 am    Post subject: Reply with quote

Try app-cdr/bchunk, it will generate two iso tracks, the second one should be your mpg.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum