LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-04-2007, 10:25 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 501

Rep: Reputation: 32
Question Mplayer and Totem don't play files.


Hello!

I am using Ubuntu 7.04 (Feisty). I've installed different codecs (win32, lame, divx4linux, etc). Everything works ok under VLC player (all type of files) but I can't play the same video files (divx, etc) under Totem and Mplayer. A message appears telling me that the they can't run the file.

Is there a way to setup this players to be able to run the same video files as VLC?

After reading some post, I find a lot of people telling that they play everything under mplayer or totem so, I think, It has to be with something related to my configuration.

Thanks in advance,
Glore2002.-
 
Old 05-04-2007, 11:56 AM   #2
hashash
Member
 
Registered: Apr 2007
Posts: 31

Rep: Reputation: 15
I remember having this problem with totem, it might just be that these players dont know where the codecs are installed..

Check for:
.gnome2/totem_config
in your home directory, mine has an entry:
decoder.external.win32_codecs_path:/usr/lib/win32

I forget how to set it up for mplayer...I think there is command line option for it (or I prolly gave it while I complied it )
 
Old 05-04-2007, 12:45 PM   #3
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Hey man,

To be honest, I'd ditch Totem asap and get the VLC player - it plays pretty much all the files you'll need, from AVIs to Divx to DVD.

Check it out:
http://www.videolan.org/

The only "downside" is that it has a LOT of prereq dependencies, which you will need to trackdown and install, but it's well worth the time. Totem has always given me problems. When I re-installed Linux on my new machine, Totem was one of the first things I took off.

Last edited by 3rdKey; 05-04-2007 at 12:47 PM.
 
Old 05-04-2007, 01:36 PM   #4
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 501

Original Poster
Rep: Reputation: 32
.gnome2/totem_config

Quote:
Originally Posted by hashash
I remember having this problem with totem, it might just be that these players dont know where the codecs are installed..

Check for:
.gnome2/totem_config
in your home directory, mine has an entry:
decoder.external.win32_codecs_path:/usr/lib/win32

I forget how to set it up for mplayer...I think there is command line option for it (or I prolly gave it while I complied it )

Thanks for your help hashash! Could you, please, post your .gnome2/totem_config So I can compare it with mine? Mine is what follows:

#
# xine config file
#
.version:2

# Entries which are still set to their default values are commented out.
# Remove the '#' at the beginning of the line, if you want to change them.

# palette (foreground-border-background) to use for subtitles and OSD
# { white-black-transparent white-none-transparent white-none-translucid yellow-black-transparent }, default: 0
#ui.osd.text_palette:white-black-transparent

# notify changes to the hardware mixer
# bool, default: 1
#audio.alsa_hw_mixer:1

# audio driver to use
# string, default: auto
#audio.driver:auto

# device used for mono output
# string, default: default
#audio.device.alsa_default_device:default

# device used for stereo output
# string, default: plug:front:default
audio.device.alsa_front_device:default

# alsa mixer device
# string, default: PCM
#audio.device.alsa_mixer_name:PCM

# sound card can do mmap
# bool, default: 0
#audio.device.alsa_mmap_enable:0

# device used for 5.1-channel output
# string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
#audio.device.alsa_passthrough_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

# device used for 4-channel output
# string, default: plug:surround40:0
#audio.device.alsa_surround40_devicelug:surround40:0

# device used for 5.1-channel output
# string, default: plug:surround51:0
#audio.device.alsa_surround51_devicelug:surround51:0

# speaker arrangement
# { Mono 1.0 Stereo 2.0 Headphones 2.0 Stereo 2.1 Surround 3.0 Surround 4.0 Surround 4.1 Surround 5.0 Surround 5.1 Surround 6.0 Surround 6.1 Surround 7.1 Pass Through }, default: 1
#audio.output.speaker_arrangement:Stereo 2.0

# offset for digital passthrough
# numeric, default: 0
#audio.synchronization.passthrough_offset:0

# play audio even on slow/fast speeds
# bool, default: 0
#audio.synchronization.slow_fast_audio:0

# method to sync audio and video
# { metronom feedback resample }, default: 0
#audio.synchronization.av_sync_method:metronom feedback

# always resample to this rate (0 to disable)
# numeric, default: 0
#audio.synchronization.force_rate:0

# enable resampling
# { auto off on }, default: 0
#audio.synchronization.resample_mode:auto

# startup audio volume
# [0..100], default: 50
#audio.volume.mixer_volume:50

# restore volume level at startup
# bool, default: 0
#audio.volume.remember_volume:0

# video driver to use
# string, default: auto
#video.driver:auto

# pitch alignment workaround
# bool, default: 0
#video.device.xv_pitch_alignment:0

# disable exact alpha blending of overlays
# bool, default: 0
#video.output.disable_exact_alphablend:0

# disable all video scaling
# bool, default: 0
#video.output.disable_scaling:0

# horizontal image position in the output window
# [0..100], default: 50
#video.output.horizontal_position:50

# vertical image position in the output window
# [0..100], default: 50
#video.output.vertical_position:50

# deinterlace method (deprecated)
# { none bob weave greedy onefield onefield_xv linearblend }, default: 4
#video.output.xv_deinterlace_methodnefield

# device used for CD audio
# string, default: /dev/cdrom
#media.audio_cd.device:/dev/cdrom

# slow down disc drive to this speed factor
# numeric, default: 4
#media.audio_cd.drive_slowdown:4

# numeric, default: 1
media.audio_cd.use_cddb:0

# CDDB cache directory
# string, default: /home/lacalga/.xine/cddbcache
#media.audio_cd.cddb_cachedir:/home/lacalga/.xine/cddbcache

# CDDB server port
# numeric, default: 8880
#media.audio_cd.cddb_port:8880

# CDDB server name
# string, default: freedb.freedb.org
#media.audio_cd.cddb_server:freedb.freedb.org

# directory for saving streams
# string, default:
#media.capture.save_dir:

# Number of dvb card to use.
# numeric, default: 0
#media.dvb.adapter:0

# Remember last DVB channel watched
# bool, default: 1
#media.dvb.remember_channel:1

# Last DVB channel viewed
# numeric, default: -1
#media.dvb.last_channel:-1

# default language for DVD playback
# string, default: en
#media.dvd.language:en

# region the DVD player claims to be in (1 to 8)
# numeric, default: 1
#media.dvd.region:1

# device used for DVD playback
# string, default: /dev/dvd
#media.dvd.device:/dev/dvd

# raw device set up for DVD access
# string, default: /dev/rdvd
#media.dvd.raw_device:/dev/rdvd

# read-ahead caching
# bool, default: 1
#media.dvd.readahead:1

# CSS decryption method
# { key disc title }, default: 0
#media.dvd.css_decryption_method:key

# play mode when title/chapter is given
# { entire dvd one chapter }, default: 0
#media.dvd.play_single_chapter:entire dvd

# unit for seeking
# { seek in program chain seek in program }, default: 0
#media.dvd.seek_behaviour:seek in program chain

# unit for the skip action
# { skip program skip part skip title }, default: 0
#media.dvd.skip_behaviour:skip program

# path to the title key cache
# string, default: /home/lacalga/.dvdcss/
#media.dvd.css_cache_path:/home/lacalga/.dvdcss/

# file browsing start location
# string, default: /home/lacalga
#media.files.origin_path:/home/lacalga

# list hidden files
# bool, default: 0
#media.files.show_hidden_files:0

# network bandwidth
# { 14.4 Kbps (Modem) 19.2 Kbps (Modem) 28.8 Kbps (Modem) 33.6 Kbps (Modem) 34.4 Kbps (Modem) 57.6 Kbps (Modem) 115.2 Kbps (ISDN) 262.2 Kbps (Cable/DSL) 393.2 Kbps (Cable/DSL) 524.3 Kbps (Cable/DSL) 1.5 Mbps (T1) 10.5 Mbps (LAN) }, default: 10
#media.network.bandwidth:1.5 Mbps (T1)

# Timeout for network stream reading (in seconds)
# numeric, default: 30
#media.network.timeout:30

# Domains for which to ignore the HTTP proxy
# string, default:
#media.network.http_no_proxy:

#
# string, default:
#media.network.http_proxy_host:

# HTTP proxy password
# string, default:
#media.network.http_proxy_password:

# HTTP proxy port
# numeric, default: 80
#media.network.http_proxy_port:80

# HTTP proxy username
# string, default:
#media.network.http_proxy_user:

# MMS protocol
# { auto TCP HTTP }, default: 0
#media.network.mms_protocol:auto

# automatically advance VCD track/entry
# bool, default: 1
#media.vcd.autoadvance:1

# VCD default type to use on autoplay
# { MPEG track entry segment playback-control item }, default: 3
#media.vcd.autoplaylayback-control item

# CD-ROM drive used for VCD when none given
# string, default:
#media.vcd.device:

# VCD position slider range
# { auto track entry }, default: 0
#media.vcd.length_reporting:auto

# show 'rejected' VCD LIDs
# bool, default: 0
#media.vcd.show_rejected:0

# VCD format string for stream comment field
# string, default: %P - Track %T
#media.vcd.comment_format:%P - Track %T

# VCD debug flag mask
# numeric, default: 0
#media.vcd.debug:0

# VCD format string for display banner
# string, default: %F - %I %N%L%S, disk %c of %C - %v %A
#media.vcd.title_format:%F - %I %N%L%S, disk %c of %C - %v %A

# v4l radio device
# string, default: /dev/v4l/radio0
#media.video4linux.radio_device:/dev/v4l/radio0

# v4l video device
# string, default: /dev/v4l/video0
#media.video4linux.video_device:/dev/v4l/video0

# device used for WinTV-PVR 250/350 (pvr plugin)
# string, default: /dev/video0
#media.wintv_pvr.device:/dev/video0

# path to RealPlayer codecs
# string, default: /usr/lib/win32
#decoder.external.real_codecs_path:/usr/lib/win32

# path to Win32 codecs
# string, default: /usr/lib/codecs
#decoder.external.win32_codecs_path:/usr/lib/codecs

# subtitle size
# { tiny small normal large very large huge }, default: 1
#subtitles.separate.subtitle_size:small

# subtitle vertical offset
# numeric, default: 0
#subtitles.separate.vertical_offset:0

# font for subtitles
# string, default: sans
#subtitles.separate.font:sans

# encoding of the subtitles
# string, default: iso-8859-1
subtitles.separate.src_encoding:utf-8

# use unscaled OSD if possible
# bool, default: 1
#subtitles.separate.use_unscaled_osd:1

# frames per second to generate
# numeric, default: 14
effects.goom.fps:15

# goom image height
# numeric, default: 240
#effects.goom.height:240

# goom image width
# numeric, default: 320
effects.goom.width:300

# colorspace conversion method
# { Fast but not photorealistic Slow but looks better }, default: 0
#effects.goom.csc_method:Fast but not photorealistic

# number of audio buffers
# numeric, default: 230
#engine.buffers.audio_num_buffers:230

# numeric, default: 500
#engine.buffers.video_num_buffers:500

# default number of video frames
# numeric, default: 15
#engine.buffers.video_num_frames:15

# priority for bitplane decoder
# numeric, default: 0
#engine.decoder_priorities.bitplane:0

# priority for dvaudio decoder
# numeric, default: 0
#engine.decoder_priorities.dvaudio:0

# priority for dxr3-mpeg2 decoder
# numeric, default: 0
#engine.decoder_priorities.dxr3-mpeg2:0

# priority for dxr3-spudec decoder
# numeric, default: 0
#engine.decoder_priorities.dxr3-spudec:0

# priority for flacdec decoder
# numeric, default: 0
#engine.decoder_priorities.flacdec:0

# priority for gsm610 decoder
# numeric, default: 0
#engine.decoder_priorities.gsm610:0

# priority for image decoder
# numeric, default: 0
#engine.decoder_priorities.image:0

# priority for mpc decoder
# numeric, default: 0
#engine.decoder_priorities.mpc:0

# priority for nsf decoder
# numeric, default: 0
#engine.decoder_priorities.nsf:0

# priority for pcm decoder
# numeric, default: 0
#engine.decoder_priorities.pcm:0

# priority for qta decoder
# numeric, default: 0
#engine.decoder_priorities.qta:0

# priority for qtv decoder
# numeric, default: 0
#engine.decoder_priorities.qtv:0

# priority for real decoder
# numeric, default: 0
#engine.decoder_priorities.real:0

# priority for realadec decoder
# numeric, default: 0
#engine.decoder_priorities.realadec:0

# priority for rgb decoder
# numeric, default: 0
#engine.decoder_priorities.rgb:0

# priority for speex decoder
# numeric, default: 0
#engine.decoder_priorities.speex:0

# priority for spucc decoder
# numeric, default: 0
#engine.decoder_priorities.spucc:0

# priority for spucmml decoder
# numeric, default: 0
#engine.decoder_priorities.spucmml:0

# priority for spudec decoder
# numeric, default: 0
#engine.decoder_priorities.spudec:0

# priority for spudvb decoder
# numeric, default: 0
#engine.decoder_priorities.spudvb:0

# priority for sputext decoder
# numeric, default: 0
#engine.decoder_priorities.sputext:0

# priority for theora decoder
# numeric, default: 0
#engine.decoder_priorities.theora:0

# priority for vorbis decoder
# numeric, default: 0
#engine.decoder_priorities.vorbis:0

# priority for win32a decoder
# numeric, default: 0
#engine.decoder_priorities.win32a:0

# priority for win32v decoder
# numeric, default: 0
#engine.decoder_priorities.win32v:0

# priority for yuv decoder
# numeric, default: 0
#engine.decoder_priorities.yuv:0

# media format detection strategy
# { default reverse content extension }, default: 0
#engine.demux.strategy:default

# memcopy method used by xine
# { probe libc kernel mmx mmxext sse }, default: 0
engine.performance.memcpy_method:mmxext

# percentage of discarded frames to tolerate
# numeric, default: 10
#engine.performance.warn_discarded_threshold:10

# percentage of skipped frames to tolerate
# numeric, default: 10
#engine.performance.warn_skipped_threshold:10

# allow implicit changes to the configuration (e.g. by MRL)
# bool, default: 0
#misc.implicit_config:0


Thank you again!!!
Glore2002
 
Old 05-05-2007, 01:09 AM   #5
hashash
Member
 
Registered: Apr 2007
Posts: 31

Rep: Reputation: 15
Code:
.version:2
audio.device.alsa_front_device:default
input.cdda_use_cddb:0
media.audio_cd.device:/dev/hdc
media.audio_cd.use_cddb:0
media.dvd.device:/dev/hdc
media.vcd.device:/dev/hdc
decoder.external.win32_codecs_path:/usr/lib/win32
subtitles.separate.subtitle_size:large
subtitles.separate.src_encoding:utf-8
effects.goom.fps:25
effects.goom.height:320
effects.goom.width:426
engine.performance.memcpy_method:mmxext
Thats mine, without the comments..(er..hope you know, any line with a # is a comment)

As I said earlier, did you try uncommenting the decoder.external line?
If you are unsure of the path.. use your package manager to find the location of the win32 codec install (In debian, I use synaptic, locate the pacakge ->properties ..and find the path of install)

I use totem, just coz it works and am lazy to bother about anything else..
mplayer is more geeky if you dont use a GUI .. never tried vlc.
But back in windoze days, I would swear by mplayer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Gstreamer-totem to play .mov files Fegenbush Linux - Software 2 03-14-2007 12:55 AM
Totem doesn't play any viedo files... cverr Linux - Software 6 11-10-2005 01:42 AM
totem-xine won't play video files GregAsche Linux - Software 1 07-25-2005 02:22 AM
Problems with WMV files in Mplayer/Xine/Totem DYNO Linux - Software 14 11-04-2004 06:00 AM
no color in totem and mplayer won't play NonSumPisces Linux - Software 5 06-01-2004 01:17 PM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration