真的沒法看VCD嗎??

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

真的沒法看VCD嗎??

文章deer » 週二 10月 03, 2006 4:42 pm

小弟有一台桌上型電腦和一台筆電,
一樣都灌Xubuntu 6.06.1
但筆電只可用mplaye和VLC看VCD,totem-xine,xine-ui,gxine,xfmedia都不行...
桌電就更慘,什麼都不行...(從前可以,但重灌後就不行嚕!!)

我試過了以下的方法:
1.上網看ubuntu和Xubuntu的指導文件安裝...
gstreamer0.10-pitfdll
gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse
gstreamer0.10-ffmpeg
gstreamer0.10-gl
gstreamer0.10-plugins-base
gstreamer0.10-plugins-good
libxine-extracodecs
ffmpeg
lame
faad
sox
mjpegtools
libxine-main1
ogle
ogle-gui
w32codecs
結果不行...

2.再來...
去mplayer官網安裝essential-20060611.tar.bz2
不行!!

3.參考Tetralet大大的文章==>
"在 GNU/Linux 下直接從開機光碟中取出它的開機 Image 檔"
結果cdfs安裝失敗
所以也不行

4.安裝easyubuntu和Automatix...
選取了所有相關多媒體的東東安裝...
嘛是不行!!!

看.......了這麼多網路資料
幹.......了這麼多事情
都不行啦!!
各位大大救救我囉!!
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

文章訪客 » 週二 10月 03, 2006 10:08 pm

請首先開一個 terminal

mplayer vcd://1
看看出什麼 error message
這樣才好處理
訪客
 

文章deer » 週二 10月 03, 2006 10:45 pm

喔...就這樣...

MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing vcd://1.
CD-ROM Device '/dev/cdrom' not found.
Failed to open vcd://1


Exiting... (End of file)
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

文章訪客 » 週三 10月 04, 2006 8:50 am

CD-ROM Device '/dev/cdrom' not found.
訪客
 

文章阿信 » 週三 10月 04, 2006 12:29 pm

問題很明顯是cdrom not found
如果你使用udev的話,那第一個光碟機會有一個device node放在/dev/cdrom下。

或是你的cdrom沒有正確被attached,例如ide光碟機沒有戴入ide-cd等module
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

對呀!!對呀!!

文章deer » 週三 10月 04, 2006 3:42 pm

阿信 寫:問題很明顯是cdrom not found
如果你使用udev的話,那第一個光碟機會有一個device node放在/dev/cdrom下。

或是你的cdrom沒有正確被attached,例如ide光碟機沒有戴入ide-cd等module


對呀!!對呀!!
但是如果我從圖形介面打開mplayer,再去設定cdrom的話
1.設定成/dev/hdc,因為cdrom還沒掛載...
2.設定成/media/cdrom0或/media/cdrom,在cdrom已掛載的情況下...

都是不行耶!!!mplayer咻一下的就關閉嚕!!
再請教各位大大,小弟我該怎麼辦呢??

歹勢,因為小弟是新手(不到2個月的資歷),所以可否稍稍詳細的說明一下,
還是可以建議小弟去買那一本書來study一下(要中文的比較好喔)

不好意思...
補充一下...

那為什麼上次(5天前)新裝xubuntu的時候...
只要把w32codecs和gstreamer*裝一裝就可以正確無誤的用mplayer,xfmedia,gxine播放呢?(totem-xine還是不行,就出現3次closeing...然後就退出光碟)...
p.s.硬體沒變,同一片xubuntu光碟
最後由 deer 於 週三 10月 04, 2006 3:47 pm 編輯,總共編輯了 1 次。
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

文章訪客 » 週三 10月 04, 2006 7:36 pm

雖然可能會費時一點
但個人建議還是花一點時間
找本基礎書來看看
這樣對張來解決其他問題有幫助
訪客
 

文章訪客 » 週三 10月 04, 2006 7:44 pm

試試
mplayer /dev/hdc
訪客
 

文章企鵝狂 » 週三 10月 04, 2006 9:12 pm

http://www.mplayerhq.hu/DOCS/HTML/en/vcd.html

mplayer vcd://2 -cdrom-device /dev/hdc

像這樣

不看清楚錯誤訊息
盲目的亂裝一通
難怪不能播放
http://news.bbc.co.uk/1/hi/world/asia-pacific/country_profiles/1285915.stm


Country profile: Taiwan
Map of Taiwan
Taiwan is the island which has for all practical purposes been independent for half a century, but which China regards as a rebel region that must be reunited with the mainland - by force if necessary.
企鵝狂
活潑的高中生
活潑的高中生
 
文章: 477
註冊時間: 週三 3月 31, 2004 11:13 am
來自: 台灣共和國

文章deer » 週四 10月 05, 2006 8:44 am

嗚~~被罵了!!

可是重點不在於mplayer不能播放
而是其他的播放軟體(vlc,totem,gxine,xine-ui...)也都不能播放呀!!!

而且另一台NB也是裝好以後就可以播放了
且像前面說的,同一台機器上次安裝時就可以播放了

還有所謂的"基礎書"可否推薦一本呀?
我非相關職業也非相關科系,所以沒什麼基礎功力可言
只是一個想用linux的人而已

再一次的謝謝各位大大指教!!
小小弟由中趕雞
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

文章訪客 » 週四 10月 05, 2006 8:56 am

ln -sf your_cdrom_device /dev/cdrom

例如你的cdrom是hdc,
ln -sf /dev/hdc /dev/cdrom
就可以了。YD
訪客
 

文章阿信 » 週四 10月 05, 2006 11:53 am

如果要撥放vcd的話,cdrom是不用mount 的喔
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

文章deer » 週四 10月 05, 2006 10:57 pm

嗯...謝謝各位大大的指教...
小小弟在這裡和大家報告一下
在 ln -sf /dev/hdc /dev/cdrom 後

(1)mplayer vcd://2 -cdrom-device /dev/hdc後出現...
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing vcd://2.
track 01: adr=1 ctrl=4 format=2 00:02:00 mode: 128
track 02: adr=1 ctrl=4 format=2 00:09:15 mode: 128
track 03: adr=1 ctrl=4 format=2 00:42:33 mode: 128
track 04: adr=1 ctrl=4 format=2 44:46:31 mode: 128
MPEG-PS file format detected.
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1152.0 kbps (144.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/60208 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12
alsa-space: xrun of at least 4.159 msecs. resetting stream?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
alsa-uninit: pcm closed

(2)mplayer /dev/hdc後,光碟機一直動,一直動,一直動.......ZZZZZ
但就是沒有畫面,所以把它中止掉囉!!!

(3)vlc給它下下去.....
(3)-1.VCD預設值/dev/cdrom...
VLC media player 0.8.4 Janus
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 86
Current serial number in output stream: 87

(3)-2.VCD改成/dev/hdc...
VLC media player 0.8.4 Janus
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 85
Current serial number in output stream: 86

(4)xfmedia...
在播放清單如果選vcd0就沒反應
如果選vcd就可以列入,但無法播放
如果在清單上按mouse右鍵會出現對話視窗寫==>
"Xfmedia 無法播放開啟 '/home/deer/.cache/xfmedia/ - Track 1'. 請確認檔案是否存在且您是否有存取權限."

天哪!!!!
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

文章訪客 » 週五 10月 06, 2006 12:07 am

首先
確認一下你的cdrom碟是正板還是copy
如果是copy,試試找另一隻正板試試
第二
open a terminal
su -
key in password of root
mplayer vcd://2
看看有什麼問題
第三
在網上download一些wmv file
用mpalyer xxxx.wmv
看看又出什麼問題
訪客
 

文章deer » 週五 10月 06, 2006 11:12 pm

1.是正版的VCD

2.sudo mplayer vcd://2的結果
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing vcd://2.
CD-ROM Device '/dev/cdrom' not found.
Failed to open vcd://2


Exiting... (End of file)

3.sudo mplayer 1123974703.wmv的結果
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


91 audio & 204 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing 1123974703.wmv.
ASF file format detected.
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 10 (0xA)
Channels: 1
Samplerate: 16000
avg byte/sec: 2000
Block align: 600
bits/sample: 16
cbSize: 46
Unknown extra header dump: [10] [0] [4] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [10] [0] [0] [0] [8d] [99] [5a] [0] [5] [c9] [2d] [48] [90] [1a] [60] [0] [0 ] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 16000
avg byte/sec: 32000
Block align: 2
bits/sample: 16
cbSize: 0
===========================
GetOutput r=0x0 size:8192 align:1
StreamCount r=0x0 1 1
AUDIO: 16000 Hz, 1 ch, s16le, 16.0 kbit/6.25% (ratio: 2000->32000)
Selected audio codec: [wma9spdmo] afm: dmo (Windows Media Audio 9 Speech DMO)
==========================================================================
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Creating new registry
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 R GB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Building audio filter chain for 16000Hz/1ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 16000 Hz/1 channels/2 bpf/10922 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 16000Hz 1ch s16le (2 bytes per sample)
Building audio filter chain for 16000Hz/1ch/s16le -> 16000Hz/1ch/s16le...
Starting playback...
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
alsa-uninit: pcm closed

嘛是都不行耶!!
deer
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週六 6月 17, 2006 3:54 pm

下一頁

回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客