LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: blackwhite

mplayer用libavcodec替代real

[复制链接]
发表于 2008-12-19 11:12:35 | 显示全部楼层
看rm直接崩溃了
回复 支持 反对

使用道具 举报

发表于 2008-12-19 12:11:44 | 显示全部楼层
不用amd64codec了,看rmvb还好,不卡。就是有一个rm文件,只有声音没图像。
回复 支持 反对

使用道具 举报

发表于 2008-12-19 12:21:16 | 显示全部楼层
命令行下面如此说:
请求的视频编解码器族 [rv3040] (vfm=realvid) 不可用。
请在编译时启用它。
请求的视频编解码器族 [rv3040win] (vfm=realvid) 不可用。
请在编译时启用它。
请求的视频编解码器族 [rv30] (vfm=realvid) 不可用。
请在编译时启用它。
请求的视频编解码器族 [rv30win] (vfm=realvid) 不可用。
请在编译时启用它。
请求的视频编解码器族 [rv30mac] (vfm=realvid) 不可用。
请在编译时启用它。
找不到匹配所选 -vo 参数和视频格式 0x30335652 的编解码器。
请阅读 DOCS/zh/codecs.html!
网上都是以前的win32codec的帖子,现在这种问题应该怎么解决呢?
难道只是还没有支持?
回复 支持 反对

使用道具 举报

发表于 2008-12-19 19:38:33 | 显示全部楼层
我也是real umask后才可以播放rmvb的,不过还不错。前段时间播放高清晰的rmvb格式时候cpu 100%后(机器比较差p4 1.8G),声音延迟特严重。后来发现使用xv驱动后 cpu占用就剩原来的一半了(爽), 而且以前我还以为linux下声卡同时只能被一个应用程序使用(比较菜,别笑),现在我配置alsa的驱动后可以混音了, 现在真是觉得mplayer 完美。
回复 支持 反对

使用道具 举报

发表于 2008-12-20 01:21:19 | 显示全部楼层
Post by midx;1923293
嗯!当前版本(28058)的mplayer已经不需要real USE了,卸载amd64codecs,重编译mplayer后,rm影片照样看。


啥意思?USE='-real' emerge mplayer后,x86能正常播放rm吗?
回复 支持 反对

使用道具 举报

发表于 2008-12-20 17:49:38 | 显示全部楼层
就是說,只要:
ACCEPT_KEYWORDS=~x86/~amd64
再emerge mplayer
就能看rm,rmvb了
不用管有没有real標誌
回复 支持 反对

使用道具 举报

发表于 2008-12-20 21:04:29 | 显示全部楼层
emerge mplayer来看rmvb太麻烦了吧?
我是下载了mplayer的源码和win32codecs然后手动编译的,然后打包出来,放到哪个发行版里都是解压后直接用,十分方便
回复 支持 反对

使用道具 举报

发表于 2008-12-20 22:08:41 | 显示全部楼层
Post by ltwan2001;1926907
就是說,只要:
ACCEPT_KEYWORDS=~x86/~amd64
再emerge mplayer
就能看rm,rmvb了
不用管有没有real標誌


mplayer-1.0_rc2_p28058-r1 播放rm时crash

  1. mplayer /mnt/server/movies/dixia地下交通站/地下交通站9.rmvb
  2. MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
  3. CPU: Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz (Family: 6, Model: 15, Stepping: 6)
  4. CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  5. Compiled with runtime CPU detection.

  6. Playing /mnt/server/movies/dixia地下交通站/地下交通站9.rmvb.
  7. Cache fill: 16.41% (344064 bytes)   
  8. REAL file format detected.

  9. Stream description: Audio Stream
  10. Stream mimetype: audio/x-pn-realaudio
  11. [real] Audio stream found, -aid 0
  12. Stream description: Video Stream
  13. Stream mimetype: video/x-pn-realvideo
  14. [real] Video stream found, -vid 1
  15. Stream mimetype: application/x-pn-realevent
  16. Not audio/video stream or unsupported!
  17. Stream mimetype: logical-fileinfo
  18. VIDEO:  [RV40]  512x384  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
  19. ==========================================================================
  20. Trying to force video codec driver family ffmpeg...
  21. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  22. Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40 decoder)
  23. ==========================================================================
  24. ==========================================================================
  25. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  26. AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
  27. Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
  28. ==========================================================================
  29. AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
  30. Starting playback...
  31. VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
  32. VDec: using Planar YV12 as output csp (no 0)
  33. Movie-Aspect is undefined - no prescaling applied.
  34. VO: [x11] 512x384 => 512x384 Planar YV12  [zoom]
  35. [swscaler @ 0x89538c0]using unscaled yuv420p -> rgb32 special converter
  36. [rv40 @ 0x88a9e30]Slice indicates MB offset 2, got 0
  37. [rv40 @ 0x88a9e30]Need DQUANT
  38. [rv40 @ 0x88a9e30]Need DQUANT
  39. [rv40 @ 0x88a9e30]Slice indicates MB offset 794, got 192
  40. [rv40 @ 0x88a9e30]Slice indicates MB offset 1, got 794?% ??,?% 0 0 33%


  41. MPlayer interrupted by signal 11 in module: decode_video
  42. - MPlayer crashed by bad usage of CPU/FPU/RAM.
  43.   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  44.   disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  45. - MPlayer crashed. This shouldn't happen.
  46.   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  47.   gcc version. If you think it's MPlayer's fault, please read
  48.   DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  49.   won't help unless you provide this information when reporting a possible bug.
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-12-20 22:23:43 | 显示全部楼层
Post by nainaide;1927040
mplayer-1.0_rc2_p28058-r1 播放rm时crash

  1. mplayer /mnt/server/movies/dixia地下交通站/地下交通站9.rmvb
  2. MPlayer dev-SVN-r27725-4.1.2 (C) 2000-2008 MPlayer Team
  3. CPU: Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz (Family: 6, Model: 15, Stepping: 6)
  4. CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  5. Compiled with runtime CPU detection.

  6. Playing /mnt/server/movies/dixia地下交通站/地下交通站9.rmvb.
  7. Cache fill: 16.41% (344064 bytes)   
  8. REAL file format detected.

  9. Stream description: Audio Stream
  10. Stream mimetype: audio/x-pn-realaudio
  11. [real] Audio stream found, -aid 0
  12. Stream description: Video Stream
  13. Stream mimetype: video/x-pn-realvideo
  14. [real] Video stream found, -vid 1
  15. Stream mimetype: application/x-pn-realevent
  16. Not audio/video stream or unsupported!
  17. Stream mimetype: logical-fileinfo
  18. VIDEO:  [RV40]  512x384  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
  19. ==========================================================================
  20. Trying to force video codec driver family ffmpeg...
  21. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  22. Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40 decoder)
  23. ==========================================================================
  24. ==========================================================================
  25. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  26. AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
  27. Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
  28. ==========================================================================
  29. AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
  30. Starting playback...
  31. VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
  32. VDec: using Planar YV12 as output csp (no 0)
  33. Movie-Aspect is undefined - no prescaling applied.
  34. VO: [x11] 512x384 => 512x384 Planar YV12  [zoom]
  35. [swscaler @ 0x89538c0]using unscaled yuv420p -> rgb32 special converter
  36. [rv40 @ 0x88a9e30]Slice indicates MB offset 2, got 0
  37. [rv40 @ 0x88a9e30]Need DQUANT
  38. [rv40 @ 0x88a9e30]Need DQUANT
  39. [rv40 @ 0x88a9e30]Slice indicates MB offset 794, got 192
  40. [rv40 @ 0x88a9e30]Slice indicates MB offset 1, got 794?% ??,?% 0 0 33%


  41. MPlayer interrupted by signal 11 in module: decode_video
  42. - MPlayer crashed by bad usage of CPU/FPU/RAM.
  43.   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  44.   disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  45. - MPlayer crashed. This shouldn't happen.
  46.   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  47.   gcc version. If you think it's MPlayer's fault, please read
  48.   DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  49.   won't help unless you provide this information when reporting a possible bug.
复制代码


real解码没有安装,认错解码器才会这样的。还是要加上real USE好用。
回复 支持 反对

使用道具 举报

发表于 2008-12-24 00:02:18 | 显示全部楼层
目前只支持RV40,加上SSE编译,感觉速度比realplayer稍微快一点
有些文件不支持,大概是RV30
  1. MPlayer dev-SVN-r28058-4.3.2 (C) 2000-2008 MPlayer Team
  2. CPU: Intel(R) Celeron(TM) CPU                1066MHz (Family: 6, Model: 11, Stepping: 1)
  3. CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
  4. Compiled for x86 CPU with extensions: MMX MMX2 SSE
  5. Playing /home/shh/AVSEQ11.rmvb.
  6. Cache fill:  0.00% (0 bytes)   
  7. REAL file format detected.
  8. Stream description: Audio Stream
  9. Stream mimetype: audio/x-pn-realaudio
  10. [real] Audio stream found, -aid 0
  11. Stream description: Video Stream
  12. Stream mimetype: video/x-pn-realvideo
  13. [real] Video stream found, -vid 1
  14. Stream mimetype: logical-fileinfo
  15. VIDEO:  [RV40]  352x288  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
  16. Clip info:
  17. comment:
  18. ==========================================================================
  19. Requested video codec family [rv3040] (vfm=realvid) not available.
  20. Enable it at compilation.
  21. Requested video codec family [rv3040win] (vfm=realvid) not available.
  22. Enable it at compilation.
  23. Requested video codec family [rv40] (vfm=realvid) not available.
  24. Enable it at compilation.
  25. Requested video codec family [rv40win] (vfm=realvid) not available.
  26. Enable it at compilation.
  27. Requested video codec family [rv40mac] (vfm=realvid) not available.
  28. Enable it at compilation.
  29. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  30. Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40 decoder)
  31. ==========================================================================
  32. ==========================================================================
  33. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  34. AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
  35. Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
  36. ==========================================================================
  37. AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
  38. Starting playback...
  39. VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
  40. VDec: using Planar YV12 as output csp (no 0)
  41. Movie-Aspect is undefined - no prescaling applied.
  42. VO: [xv] 352x288 => 352x288 Planar YV12
  43. [rv40 @ 0x8736910]Slice indicates MB offset 1, got 0
  44. [rv40 @ 0x8736910]Need DQUANT
  45. [rv40 @ 0x8736910]Slice indicates MB offset 794, got 141
  46. [rv40 @ 0x8736910]Slice indicates MB offset 2, got 794?% ??,?% 0 0 98%
  47. MPlayer interrupted by signal 11 in module: decode_video
  48. - MPlayer crashed by bad usage of CPU/FPU/RAM.
  49.   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  50.   disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  51. - MPlayer crashed. This shouldn't happen.
  52.   It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  53.   gcc version. If you think it's MPlayer's fault, please read
  54.   DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  55.   won't help unless you provide this information when reporting a possible bug.
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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