[問題] 連mplayer撥放都會lag的rmvb

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

[問題] 連mplayer撥放都會lag的rmvb

文章訪客 » 週三 12月 14, 2005 9:20 am

各位前輩大家好
小弟的CPU約500Mhz,256RAM
mplayer平時撥放一些小影片檔或VCD都很順暢
但是最近發現某種格式,也就是rmvb,撥起來畫面會很慢
畫面的速度會趕不及聲音的撥放 :(

我在google上查了一下
有前輩說可以試試-framedrop
但是試了之後結果其實更慘

搞不清楚狀況之餘
才在此發表此一提問
請教各位前輩是否可以解決這個問題
不論是換player或是在mplayer下多加一些參數
或者再對程式或系統作其他修修補補的動作我都能接受
請大家不吝指教
謝謝大家
訪客
 

文章sandpaper » 週三 12月 14, 2005 11:25 am

去下載官方realplay(er?)試試看....
之前我也碰過這問題...用官方的就沒事了
http://www.real.com/international/
我所有的網頁all in one note^^
blog: http://paperli.blogspot.com/
個人網頁: http://web.ekm.com/paper/
留言簿: http://www.aypwip.org/webnote/paper/
歡迎光臨 :finger1:
sandpaper
可愛的小學生
可愛的小學生
 
文章: 73
註冊時間: 週六 1月 15, 2005 12:47 am

文章訪客 » 週四 12月 15, 2005 3:11 pm

感謝sandpaper前輩
我下載了
http://www.real.com/linux/
但是比mplayer的delay更嚴重
是不是要做什麼設定呀?

再次謝謝您~
訪客
 

文章d2207197 » 週五 12月 16, 2005 3:54 pm

如果 XV 有正常驅動的話
用 mplayer -vo xv 試試
頭像
d2207197
鑽研的研究生
鑽研的研究生
 
文章: 1763
註冊時間: 週二 5月 27, 2003 9:57 pm
來自: 火星

文章訪客 » 週五 12月 16, 2005 10:00 pm


謝謝d2207197前輩的建議
情形還是一樣耶~ :(

莫非真的是硬體太差
要是真正沒救的話
能否請前輩們推薦轉檔程式
我乾脆把rmvb轉成其他格式再看好了
訪客
 

文章訪客 » 週六 12月 17, 2005 2:28 pm

用 xvinfo 看 xv 有沒有驅動, 若有, 那 rmvb 會 lag 應該是片子本身的問題
(因為, 你看 cpu usage 並沒有跳到近 100%)

若沒有, 用 -vo help, 試試看用別的驅動
訪客
 

文章訪客 » 週六 12月 17, 2005 9:11 pm

Anonymous 寫:用 xvinfo 看 xv 有沒有驅動, 若有, 那 rmvb 會 lag 應該是片子本身的問題
(因為, 你看 cpu usage 並沒有跳到近 100%)
若沒有, 用 -vo help, 試試看用別的驅動


感謝訪客兄

rmvb本身應該沒有問題
在別台較快電腦上就可以順暢撥放

小弟的xv有驅動(如下一長串)
用top指令來看mplayer
cpu大約使用了 83% 左右 (這算不算接近100%呀?)

我試了您說的 -vo 的其他driver
不過效果頂多和 -vo xv 一樣
其他很多都不能開啟畫面,真是遺憾...
不過還是非常感謝您的建議~ :D

雖然現在還不能解決
希望以後您要是還有新點子
還是請您不吝指導囉~~~

再次感謝

===========================================
X-Video Extension version 2.2
screen #0
Adaptor #0: "SIS 300/315/330 series Video Overlay"
number of ports: 1
port base: 54
operations supported: PutImage
supported visuals:
depth 16, visualID 0x22
depth 16, visualID 0x23
number of attributes: 15
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 10)
"XV_CONTRAST" (range 0 to 7)
client settable attribute
client gettable attribute (current value is 2)
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
"XV_TVXPOSITION" (range -32 to 32)
client settable attribute
client gettable attribute (current value is 0)
"XV_TVYPOSITION" (range -32 to 32)
client settable attribute
client gettable attribute (current value is 0)
"XV_DISABLE_GRAPHICS" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_DISABLE_GRAPHICS_LR" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_DISABLE_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_USE_CHROMAKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_INSIDE_CHROMAKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_YUV_CHROMAKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_CHROMAMIN" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_CHROMAMAX" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66047)
maximum XvImage size: 768 x 576
Number of image formats: 6
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x35315652 (RV15)
guid: 52563135-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 15
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
id: 0x36315652 (RV16)
guid: 52563136-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0xf800, 0x7e0, 0x1f
訪客
 

文章Guest » 週六 12月 17, 2005 11:34 pm

之前的經驗是在nautilus下用xine 或mplayer開 rmvb, 會有 delay
的現象, 在 terminal 下用 mplayer 就感覺不出來有 delay.
realplay 的情形就更慘了!
Guest
 

文章d2207197 » 週日 12月 18, 2005 10:38 pm

代碼: 選擇全部
mplayer -dr -vc rv3040

試試看囉

其實 80% 算滿高的
我播 DVD 畫質的大多才 30 %
頭像
d2207197
鑽研的研究生
鑽研的研究生
 
文章: 1763
註冊時間: 週二 5月 27, 2003 9:57 pm
來自: 火星

文章semson » 週日 12月 18, 2005 11:37 pm

我覺得rmvb的cpu需求還是比較高的, 我先前用 Duron 950MHz時, cpu%也扯到9x%, 不時跳格, 現在升級了Duron 1300就十分流暢, 不知跟SSE是否有關
semson
可愛的小學生
可愛的小學生
 
文章: 60
註冊時間: 週五 4月 15, 2005 12:59 am

文章訪客 » 週一 12月 19, 2005 7:57 pm

感謝semson前輩comment
可惜我的電腦是筆電...換不了cpu

謝謝d2207197前輩
用了mplayer -dr -vc rv3040
結果還是一樣
我想...真的沒救了
謝謝您多次提供建議~
訪客
 

文章訪客 » 週一 12月 19, 2005 8:43 pm

Anonymous 寫: Adaptor #0: "SIS 300/315/330 series Video Overlay"


我看到 SiS 的東西就會吐血,若要玩 Linux 最好不要用 SiS!
訪客
 

文章訪客 » 週一 12月 19, 2005 9:36 pm

試試看 -vo sdl
(畫質會差一點)
訪客
 

文章訪客 » 週三 12月 21, 2005 10:20 am

感謝樓上的訪客兄
小弟依您的建議做了
不過
出現如下錯誤不知如何解決
能否請您再多給點提示?
謝謝您

---------------------------------------------
$mplayer -vo dls 03.rmvb
MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
CPU: Transmeta Crusoe TM3x00,TM5x00 (Family: 5, Stepping: 3)
Detected cache-line size is 128 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Creating config file: /home/winlin/.mplayer/config

This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
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 : Permission denied
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 03.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
Stream mimetype: logical-fileinfo
VIDEO: [RV40] 640x480 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
author: HET
comment:
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/win32/cook.so'
Audio codec: [22] 44 Kbps Stereo Music - RealAudio
Audio bitrate: 44.100 kbit/s (5513 bps)
AUDIO: 44100 Hz, 2 ch, s16le, 44.1 kbit/3.13% (ratio: 5513->176400)
Selected audio codec: [ra10cook] afm:realaud (RealPlayer 10 COOK audio)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)
訪客
 

文章redjoe » 週三 12月 21, 2005 10:24 am

-vo參數錯了,是-vo sdl
redjoe
快樂的大學生
快樂的大學生
 
文章: 518
註冊時間: 週一 4月 07, 2003 10:15 pm
來自: Taiwan

下一頁

回到 debian desktop

誰在線上

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