Page 41 of 48 FirstFirst ... 313940414243 ... LastLast
Results 401 to 410 of 477

Thread: [Howto] Successfully install the svn MPlayer under Hardy Heron

  1. #401
    Join Date
    Nov 2006
    Beans
    161

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    How can I enable all standard audio output and options? Source file of alsa, pulse, etc are request? Can you help me? Thank you.

    My os is Ubuntu 8.10 x86_64 (Q6600 cpu).
    Last edited by psychok9; December 16th, 2008 at 05:41 AM.

  2. #402
    Join Date
    Dec 2006
    Beans
    7,349

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Hi,

    Most audio outputs should be enabled in the guide, this is done by downloading and compiling against the appropriate -dev files. To see what is available to you try:

    For MPlayer:

    Code:
    andrew@skamandros:~$ mplayer -ao help
    MPlayer dev-SVN-r28145-4.3.2 (C) 2000-2008 MPlayer Team
    CPU: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    Available audio output drivers:
    	oss	OSS/ioctl audio output
    	alsa	ALSA-0.9.x-1.x audio output
    	arts	aRts audio output
    	esd	EsounD audio output
    	pulse	PulseAudio audio output
    	jack	JACK audio output
    	nas	NAS audio output
    	sdl	SDLlib audio output
    	openal	OpenAL audio output
    	mpegpes	DVB audio output
    	v4l2	V4L2 MPEG Audio Decoder output
    	null	Null audio output
    	pcm	RAW PCM/WAVE file writer audio output
    For Mencoder:

    Code:
    andrew@skamandros:~$ mencoder -oac help
    MEncoder dev-SVN-r28145-4.3.2 (C) 2000-2008 MPlayer Team
    CPU: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    
    
    Available codecs:
       copy     - frame copy, without re-encoding (useful for AC3)
       pcm      - uncompressed PCM audio
       mp3lame  - cbr/abr/vbr MP3 using libmp3lame
       lavc     - FFmpeg audio encoder (MP2, AC3, ...)
       twolame  - Twolame MP2 audio encoder
       faac     - FAAC AAC audio encoder
    All the best,

    Andrew
    You think that's air you're breathing now?

  3. #403
    Join Date
    Dec 2006
    Beans
    7,349

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Hi,

    I have some reasonably radical plans for this guide when Jaunty Jackalope comes into beta on March 26th 2009. The highlights are:

    1. This version of the guide ended and Jaunty Jackalope will have its own individual guide and thread. It is becoming a little unwieldy trying to juggle different Ubuntu releases on the same page.
    2. I will no longer include the X -dev files and build the gmplayer. I will advocate the smplayer instead. Development of the gmplayer has been abandoned and many faults remain. smplayer is actively developed and IMHO is a fine piece of work.
    3. amr compiling will be omitted. Not many people use it and I am trying to cut out a little complexity.
    4. I will add details for installing the mplayer plugin. This gives MPlayer a presence in the browser and has been requested a few times.


    I am keen to get some feedback on these plans and any suggestions for improvements in other areas. I will install the Jaunty Jackalope beta when it comes out and test the new guide, so it will be in place early April = plenty of time for suggestions .

    Andrew
    You think that's air you're breathing now?

  4. #404
    Join Date
    Dec 2008
    Beans
    10

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    I followed this installation almost step by step on a clean install of 8.10 except for the installation of libglide2 package. It is currently unavailable from the Ubuntu repository. libglide2-dev is available but I installed libglide3 instead. I doubt this is the source of the problem but it just might be.

    I am also having the same problems as costre. Videos have an error message on almost every frame and it is impossible to watch anything.

    At the moment, my workaround is to use VLC

  5. #405
    Join Date
    Dec 2006
    Beans
    7,349

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Hi,

    Sorry this guide has caused you trouble!

    Quote Originally Posted by piemaster89 View Post
    I followed this installation almost step by step on a clean install of 8.10 except for the installation of libglide2 package. It is currently unavailable from the Ubuntu repository. libglide2-dev is available but I installed libglide3 instead. I doubt this is the source of the problem but it just might be.
    I am not sure about this phantom libglide but I suspect that it has to go as too many people are mentioning problems with it. Tomorrow I shall remove it from my own system, recompile and see if anything is broken .

    I am also having the same problems as costre. Videos have an error message on almost every frame and it is impossible to watch anything.

    At the moment, my workaround is to use VLC
    VLC is a great program and I am glad you have a backup while there is a problem with MPlayer. Can you do me a favour, can you play a movie that is giving you trouble from the commandline using the syntax:

    Code:
    mplayer -v mymovie
    Obviously substituting your own file for 'mymovie'. Copy and paste the entire output including the command into a message here on the forum and there may be a hint there.

    All the best,

    Andrew
    You think that's air you're breathing now?

  6. #406
    Join Date
    Dec 2006
    Beans
    7,349

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Hi,

    I have adjusted the dev files for Intrepid Ibex and re-compiled without any problems. Unless these files are used elsewhere on your system you can remove:

    Code:
    $ sudo apt-get remove libggi-target-x libggi2 libggi2-dev libggimisc2 \
    libggimisc2-dev libggiwmh0 libggiwmh0-dev libggiwmh0-target-x libglide2
    and recompiled. All is well on my system with MPlayer, hopefully on yours as well .

    Andrew
    You think that's air you're breathing now?

  7. #407
    Join Date
    Dec 2008
    Beans
    10

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Quote Originally Posted by andrew.46 View Post
    Hi,

    Sorry this guide has caused you trouble!



    I am not sure about this phantom libglide but I suspect that it has to go as too many people are mentioning problems with it. Tomorrow I shall remove it from my own system, recompile and see if anything is broken .



    VLC is a great program and I am glad you have a backup while there is a problem with MPlayer. Can you do me a favour, can you play a movie that is giving you trouble from the commandline using the syntax:

    Code:
    mplayer -v mymovie
    Hmm, so running it from the command line works great on avi files but right clicking doesn't work and I have no way of changing subtitles or audio stream or any of that good stuff on mkv files.

    Code:
    wilson@GIR:~/Dropbox$ mplayer -v \[Doremi-OTOME\].Mai-Otome.0.S.ifr.03.\[D7B4F17F\].avi 
    MPlayer dev-SVN-r28162-4.3.2 (C) 2000-2008 MPlayer Team
    CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (Family: 6, Model: 15, Stepping: 10)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    get_path('codecs.conf') -> '/home/wilson/.mplayer/codecs.conf'
    Reading /home/wilson/.mplayer/codecs.conf: Can't open '/home/wilson/.mplayer/codecs.conf': No such file or directory
    Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    Configuration: --enable-gui
    CommandLine: '-v' '[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi'
    init_freetype
    get_path('font/font.desc') -> '/home/wilson/.mplayer/font/font.desc'
    font: can't open file: /home/wilson/.mplayer/font/font.desc
    font: can't open file: /usr/local/share/mplayer/font/font.desc
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/wilson/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/wilson/.mplayer/input.conf'
    Can't open input config file /home/wilson/.mplayer/input.conf: No such file or directory
    Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
    Falling back on default (hardcoded) input config
    get_path('[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.conf') -> '/home/wilson/.mplayer/[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.conf'
    
    Playing [Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.
    get_path('sub/') -> '/home/wilson/.mplayer/sub/'
    [file] File size is 230959104 bytes
    STREAM: [file] [Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: AVI format
    AVI file format detected.
    list_end=0x2292
    ======= AVI Header =======
    us/frame: 41708  (fps=23.976)
    max bytes/sec: 0
    padding: 0
    MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
    frames  total: 39097   initial: 0
    streams: 2
    Suggested BufferSize: 0
    Size:  848 x 480
    ==========================
    list_end=0x10F4
    ==> Found video stream: 0
    [aviheader] Video stream found, -vid 0
    ====== STREAM Header =====
    Type: vids   FCC: xvid (64697678)
    Flags: 0
    Priority: 0   Language: 0
    InitialFrames: 0
    Rate: 10000000/417083 = 23.976
    Start: 0   Len: 39097
    Suggested BufferSize: 73684
    Quality 10000
    Sample size: 0
    ==========================
    Found 'bih', 40 bytes of 40
    ======= VIDEO Format ======
      biSize 40
      biWidth 848
      biHeight 480
      biPlanes 1
      biBitCount 24
      biCompression 1145656920='XVID'
      biSizeImage 2442240
    ===========================
    Regenerating keyframe table for MPEG-4 video.
    list_end=0x2186
    ==> Found audio stream: 1
    [aviheader] Audio stream found, -aid 1
    ====== STREAM Header =====
    Type: auds   FCC:  (0)
    Flags: 0
    Priority: 0   Language: 0
    InitialFrames: 1
    Rate: 16000/1 = 16000.000
    Start: 0   Len: 26090266
    Suggested BufferSize: 8000
    Quality -1
    Sample size: 1
    ==========================
    Found 'wf', 30 bytes of 18
    ======= WAVE Format =======
    Format Tag: 85 (0x55)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 16000
    Block align: 1
    bits/sample: 0
    cbSize: 12
    mp3.wID=1
    mp3.fdwFlags=0x0
    mp3.nBlockSize=418
    mp3.nFramesPerBlock=1
    mp3.nCodecDelay=0
    ==========================================================================
    list_end=0x2292
    AVI: dmlh found (size=248) (total_frames=39097)
    list_end=0x22D2
    hdr=Software  size=44
    Software  : VirtualDubMod 1.5.10.2 (build 2540/release)
    list_end=0xDB10B80
    Found movie at 0x280C - 0xDB10B80
    Reading INDEX block, 78183 chunks for 39097 frames (fpos=229706632).
    AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
    Auto-selected AVI audio ID = 1
    Auto-selected AVI video ID = 0
    AVI: Searching for audio stream (id:1)
    AVI video size=202928302 (39097) audio size=26090266 (26090266)
    VIDEO:  [XVID]  848x480  24bpp  23.976 fps  995.6 kbps (121.5 kbyte/s)
    Auto-selected AVI audio ID = 1
    [V] filefmt:3  fourcc:0x44495658  size:848x480  fps:23.976  ftime:=0.0417
    Clip info:
     Software: VirtualDubMod 1.5.10.2 (build 2540/release)
    get_path('sub/') -> '/home/wilson/.mplayer/sub/'
    X11 opening display: :0.0
    vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 1920x1088
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
    mp3lib: using SSE optimized decore!
    MP3lib: init layer2&3 finished, tables done
    MPEG 1.0, Layer III, 44100 Hz 128 kbit Stereo, BPF: 417
    Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy 
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Trying every known audio driver...
    ao2: 44100 Hz  2 chans  s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    alsa-init: requested format: 44100 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.17a
    alsa-init: setup for 1/2 channel(s)
    alsa-init: using device default
    alsa-init: pcm opened in blocking mode
    alsa-init: chunksize set to 1024
    alsa-init: fragcount=16
    alsa-init: got buffersize=65536
    alsa-init: got period size 1024
    alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
    AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: ALSA-0.9.x-1.x audio output
    AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
    AO: Comment: under developement
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 65536
    [mpeg4 @ 0xd05220]Invalid and inefficient vfw-avi packed B frames detected
    [ffmpeg] aspect_ratio: 1.766667
    VDec: vo config request - 848 x 480 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (848x480->848x480,flags=0,'MPlayer',0x32315659)
    VO: [xv] 848x480 => 848x480 Planar YV12 
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 68 for hw scaling
    [xv] dx: 0 dy: 0 dw: 848 dh: 480
    *** [vo] Allocating (slices) mp_image_t, 848x480x12bpp YUV planar, 610560 bytes
    XXX initial  v_pts=0.000  a_pos=8000 (0.500)   1 ??% ??% ??,?% 0 0 
    *** [vo] Allocating (slices) mp_image_t, 848x480x12bpp YUV planar, 610560 bytes
    get_path('subfont.ttf') -> '/home/wilson/.mplayer/subfont.ttf'
    Unicode font: 255 glyphs.
    get_path('subfont.ttf') -> '/home/wilson/.mplayer/subfont.ttf'
    Unicode font: 255 glyphs.
    Also, regarding the extra packages that you are now removing, should I try to remove them now?

    Thanks for all your help!


    EDIT: I did a little more testing and I think the trouble arises when the GUI is enabled.

    Code:
    $ mplayer -gui -v Chuck.S01E03.Chuck.Versus.The.Tango.avi 
    MPlayer dev-SVN-r28162-4.3.2 (C) 2000-2008 MPlayer Team
    CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (Family: 6, Model: 15, Stepping: 10)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    The -gui option will only work as the first command line argument.
    
    Playing /media/Fat ******/TV/Chuck Season 1/Chuck.S01E03.Chuck.Versus.The.Tango.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:  [XVID]  624x352  24bpp  23.976 fps  1009.3 kbps (123.2 kbyte/s)
    Clip info:
     Software: cant touch this
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    [AO_ALSA] Unable to find simple control 'PCM',0.
    Starting playback...
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO: [xv] 624x352 => 624x352 Planar YV12 
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 1 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 2 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 3 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 3 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0              
    [AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
    It just continues like this for every error.
    Last edited by piemaster89; December 18th, 2008 at 08:08 PM.

  8. #408
    Join Date
    Dec 2006
    Beans
    7,349

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Hi piemaster,

    I would not worry about the extra packages as I suspect this is peripheral to your trouble with MPlayer. It is excellent news that that the commandline player works and it seems that the gui is the problem. The gmplayer has been almost completely abandoned by the MPlayer developers and will be also by this guide when Jaunty Jackalope comes along.

    Can I suggest that if you have not already done so you recompile using the checkinstall syntax I have suggested:

    Code:
    $ cd $HOME/mplayer
    $ make clean
    $ svn update
    $ ./configure --enable-gui
    $ make
    $  sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/Desktop" \
    --maintainer "$USER" --pkgname mplayer --pkgversion "3:1.0~svn" \
    --backup=no --deldoc=yes --deldesc=yes --delspec=yes --gzman
    $ make clean
    In the next version of this guide the '--enable-gui' option will be gone, you might try this if you want or perhaps leave it in place for the moment. The checkinstall syntax I suggest means that the repository will never overwrite your svn MPlayer with its older one.

    Then simply install smplayer from the repository:

    Code:
    $ sudo apt-get install smplayer
    smplayer is a little more than a simple front-end but it certainly uses the MPlayer engine and incorporates it into a beautiful and easily used gui. There will be some qt dependencies but the download will not be excessive. (smplayer + MPlayer is my own setup and it works well.)

    Then again run your video, having first crossed your fingers .

    Andrew
    Last edited by andrew.46; December 19th, 2008 at 12:33 AM.
    You think that's air you're breathing now?

  9. #409
    Join Date
    Dec 2008
    Beans
    10

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Andrew,

    Thanks a lot. I have smplayer installed now and the videos run correctly. However, I still have a few minor problems. Sometimes the video doesn't update when I use the seek bar. Additionally, the softsubs don't display in the correct font, just a generic font from the player. I realize that I can pick a font in the preferences but the video file has styled subs.

    These are minor issues that I can live with even if they go unsolved. I look forward to your next guide for Jaunty

  10. #410
    Join Date
    Apr 2006
    Location
    iceland
    Beans
    287
    Distro
    Ubuntu

    Re: [Howto] Successfully install the svn mplayer + gmplayer + all the codecs.

    Is there a special reason why you choose gmplayer rather than smplayer?
    In my option, smplayer is much nicer...
    Maby adding instructions of getting svn smplayer into the guide is a good idea?
    It's actually not hard, just skip the skin and "enable gui" steps and then catch smplayer svn and compile it.
    Quote Originally Posted by bodhi.zazen View Post
    At this time it is possible to run windows viruses with wine. They do not run well yet....http://os.newsforge.com/article.pl?s...30222&from=rss

Page 41 of 48 FirstFirst ... 313940414243 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •