LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: hongri2010

在字符界面下mplayer不能播放视频~

[复制链接]
发表于 2010-8-8 22:54:17 | 显示全部楼层
你这个视频。。。。。不能被正确解码(No video),换一个试试?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-8 22:56:59 | 显示全部楼层
Post by Mie;2107389
你看下use.....
还要加个什么fb的支持..direct-fb?忘记了..
反正你认真看下use就好了
我之前用过.mplayer也要加某一个use才行的


好的,我试试看 :)
回复 支持 反对

使用道具 举报

发表于 2010-8-9 10:47:40 | 显示全部楼层
Location:                                                             │  
  │     -> Device Drivers                                                   │  
  │       -> Graphics support                                               │  
  │         -> Support for frame buffer devices
            
  •             VESA VGA graphics support        


    重新编译内核 , boot/grub/menu.lst 里可以加上
                    kernel /boot/vmlinuz-gentoo-r8 root=/dev/sda3  vga=0x317

      │ │
  • 回复 支持 反对

    使用道具 举报

     楼主| 发表于 2010-8-9 11:30:25 | 显示全部楼层
    Post by ProgramFan;2107397
    你这个视频。。。。。不能被正确解码(No video),换一个试试?


    可以正确解码,因为在桌面环境用mplayer可以正常播放~
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2010-8-9 11:33:08 | 显示全部楼层
    Post by jixiuf;2107467
    Location:                                                             │  
      │     -> Device Drivers                                                   │  
      │       -> Graphics support                                               │  
      │         -> Support for frame buffer devices
                
  •             VESA VGA graphics support        


    重新编译内核 , boot/grub/menu.lst 里可以加上
                    kernel /boot/vmlinuz-gentoo-r8 root=/dev/sda3  vga=0x317

      │ │


  • 谢谢,这个选项在我编译内核支持fb时就已经选上了~
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2010-8-9 11:49:19 | 显示全部楼层
    Post by Mie;2107389
    你看下use.....
    还要加个什么fb的支持..direct-fb?忘记了..
    反正你认真看下use就好了
    我之前用过.mplayer也要加某一个use才行的

    正如Mie兄所指点的,加了directfb后确实可以播放了,但是使用
    [php]mplayer video_file[/php]
    播放时只看见彩色又很模糊的画面,只能显出人物的轮廓,画面也很大,只显示了视频的80%左右的画面,并且不能退出mplayer,想切换到其它的终端都不行,键盘没有了响应,最后只好硬关了,
    如果使用[php]mplayer -vo fbdev video_file [/php]时仍旧只有声音,没有视频~

    另外,我的屏幕分辨率是1280x800的
    回复 支持 反对

    使用道具 举报

    发表于 2010-8-9 14:19:04 | 显示全部楼层
    USE='fbcon'  emerge mplayer
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表