Public bug reported:

Binary package hint: totem

Distributor ID: Ubuntu
Description:    Ubuntu 8.04
Release:        8.04
Codename:       hardy

Totem can't play properly an mpg clip, whereas in Mplayer it's shown fine. It 
actually shows "boxes" while the music is played fine
I tried with SMPlayer and it doesn't play the file at all.

I believe I have all the codecs, even the ones from www.medibuntu.org

$ dpkg -S mpeg2dec
gstreamer0.10-plugins-ugly: /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
$ apt-cache policy gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly:
  Installed: 0.10.7-3
  Candidate: 0.10.7-3
  Version table:
 *** 0.10.7-3 0
        500 http://uk.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Running totem with debug level 2:
$ totem --gst-debug-level=2 "2 Pac - Ghetto Gospel.mpg"
0:00:01.071375193  2673 0xe97670 WARN              mpeg2dec 
gstmpeg2dec.c:1157:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:01.074915085  2673 0xe97670 WARN              mpeg2dec 
gstmpeg2dec.c:1157:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1

..whereas mplayer showed this:
$ mplayer 2\ Pac\ -\ Ghetto\ Gospel.mpg 
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (Family: 6, Model: 15, 
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 2 Pac - Ghetto Gospel.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  480x576  (aspect 2)  25.000 fps  6960.0 kbps (870.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x576 => 768x576 Planar YV12 
GNOME screensaver enabled 0.012 ct:  0.155 942/942  3%  0%  1.3% 2 0 

Exiting... (Quit)

smplayer showed this:
$ smplayer "2 Pac - Ghetto Gospel.mpg" 
main: app name: smplayer
global_init
global_init: config file: '/home/username/.smplayer/smplayer.ini'
Preferences::load
Debug: Translator::loadCatalog: can't load qt_en_US from 
/usr/share/smplayer/translations
Debug: Translator::loadCatalog: can't load qt_en_US from 
/usr/share/qt4/translations
Debug: Translator::loadCatalog: successfully loaded smplayer_en_US from 
/usr/share/smplayer/translations
This is SMPlayer v. 0.6.0rc2 (SVN 834) running on Linux
Debug: This is SMPlayer v. 0.6.0rc2 (SVN 834) running on Linux
Debug: Qt v. 4.3.3
Debug:  * application path: '/usr/bin'
Debug:  * data path: '/usr/share/smplayer'
Debug:  * translation path: '/usr/share/smplayer/translations'
Debug:  * doc path: '/usr/share/doc/packages/smplayer'
Debug:  * themes path: '/usr/share/smplayer/themes'
Debug:  * shortcuts path: '/usr/share/smplayer/shortcuts'

Debug:  * smplayer home path: '/home/username/.smplayer'
Debug:  * ini path: '/home/username/.smplayer'
Debug:  * current path: '/media/cdrom0/spotovi'
Debug: main: files_to_play: count: 1
Debug: main: files_to_play[0]: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: main: changed working directory to app path
Debug: main: current directory: /usr/bin
Debug: Recents::load
Debug: Core::Core: file_settings: '/home/username/.smplayer/smplayer_files.ini'
Debug: MplayerProcess::init_rx
Debug: MplayerLayer::allowClearingBackground: 0
Debug: Preferences::monitor_aspect_double
Debug:  warning: monitor_aspect couldn't be parsed!
Debug:  monitor_aspect set to 0
Debug: Playlist::setModified: 0
Debug: Playlist::loadSettings
Debug: Playlist::addItem: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: Playlist::setModified: 0
Debug: name: '2 Pac - Ghetto Gospel.mpg'
Debug: Style name: 'cleanlooks'
Debug: Style class name: 'QCleanlooksStyle'
Debug: BaseGui::initializeMenus
Debug: BaseGui::initializeMenus
Debug: BaseGui::updateRecents
Debug: BaseGui::updateWidgets
Debug: Core::togglePostprocessing: 1
Debug: BaseGui::updateWidgets
Debug: BaseGui::updateRecents
Debug: PlaylistDock::hideEvent: isFloating: 0
Debug:  undocked
Debug: PlaylistDock::showEvent: isFloating: 1
Debug: PlaylistDock::hideEvent: isFloating: 1
Debug: BaseGui::initializeMenus
Debug: BaseGui::updateRecents
Debug: BaseGui::updateWidgets
Debug: BaseGuiPlus::loadConfig
Debug: DefaultGui::createStatusBar
Debug: DefaultGui::createActions
Debug: DefaultGui::createControlWidget
Debug: TimeSlider::setDragDelay: 100
Debug: DefaultGui::createControlWidgetMini
Debug: TimeSlider::setDragDelay: 100
Debug: TimeSlider::setDragDelay: 100
Debug: BaseGui::initializeMenus
Debug: BaseGui::updateRecents
Debug: DefaultGui::updateWidgets
Debug: BaseGui::updateWidgets
Debug: DefaultGui::loadConfig
Debug: DefaultGui::updateWidgets
Debug: BaseGui::updateWidgets
Debug: BaseGui::showEvent
Debug: BaseGui::openFiles
Debug: Playlist::setModified: 0
Debug: Playlist::addFiles
Debug: Playlist::addItem: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: name: '2 Pac - Ghetto Gospel.mpg'
Debug:  * latest_dir: ''
Debug: BaseGui::open: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: Core::open: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug:  * identified as local file
Debug: Core::openFile: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: Core::playNewFile: '/media/cdrom0/spotovi/2 Pac - Ghetto Gospel.mpg'
Debug: Core::saveMediaInfo
Debug: Core::checkHaveSettingsSaved: group_name: 
'_media_cdrom0_spotovi_2_Pac_-_Ghetto_Gospel_mpg_95901696'
Debug: We have settings for this file!!!
Debug: Core::loadMediaInfo: 
'_media_cdrom0_spotovi_2_Pac_-_Ghetto_Gospel_mpg_95901696'
Debug: MediaSettings::load
Debug: Media settings read
Debug: Core::playNewFile: volume: 100, old_volume: 100
Debug: Core::initPlaying
Debug: Core::startMplayer
Debug: Core::startMplayer: setting working directory to 
'/home/username/.smplayer/screenshots'
Debug: DesktopInfo::desktop_size: primary screen: 0
Debug: DesktopInfo::desktop_size: size of primary screen: 1152 x 864
Debug: DesktopInfo::desktop_size: size of screen: 1152 x 864
Debug: MplayerVersion::isMplayerAtLeast: comparing 24924 with 24722
Debug: Core::startMplayer: command: '/usr/bin/mplayer -noquiet -nofs 
-sub-fuzziness 1 -identify -slave -vo xv -ao alsa -zoom -nokeepaspect 
-framedrop -hardframedrop -dr -input conf=/usr/share/smplayer/input.conf 
-stop-xscreensaver -wid 62914574 -colorkey 0x020202 -monitoraspect 1.33333 
-fontconfig -font Monospace -subfont-autoscale 2 -subfont-text-scale 6 -subcp 
ISO-8859-1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -volume 
100 -nocache -osdlevel 0 -vf-add screenshot -channels 2 /media/cdrom0/spotovi/2 
Pac - Ghetto Gospel.mpg'
Debug: MplayerLayer::playingStarted
Debug: BaseGui::calculateDiff: diff_size: 0, 0
Debug: BaseGui::calculateDiff: diff_size set to: 0, 101
Debug: MplayerProcess::init_rx
Debug: BaseGui::loadActions
Debug: ActionsEditor::loadFromConfig
Debug: BaseGui::initializeMenus
Debug: BaseGui::updateRecents
Debug: DefaultGui::updateWidgets
Debug: BaseGui::updateWidgets
Debug: Core::togglePostprocessing: 0
Debug: MplayerProcess::parseLine: 'MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer 
Team'
Debug: MplayerVersion::mplayerVersion: MPlayer version found: 1.0rc2
Debug: MplayerProcess::parseLine: MPlayer SVN: 24722
Debug: MplayerProcess::parseLine: 'CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 
2.33GHz (Family: 6, Model: 15, Stepping: 11)'
Debug: MplayerProcess::parseLine: 'CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 
SSE: 1 SSE2: 1'
Debug: MplayerProcess::parseLine: 'Compiled with runtime CPU detection.'
Debug: MplayerProcess::parseLine: 'Unknown option on the command line: -volume'
Debug: MplayerProcess::parseLine: 'Error parsing option on the command line: 
-volume'
Debug: MyProcess::procFinished
Debug: MyProcess::procFinished: Bytes available: 0
Debug: MplayerProcess::processFinished
Debug: Core::processFinished
Debug: Core::processFinished: we_are_restarting: 0
Debug: Core::processFinished: play has finished!
Debug:  exit_status: 0
Debug: MplayerLayer::playingStopped
Debug: BaseGuiPlus::closeEvent
Debug: BaseGuiPlus::closeWindow
Debug: BaseGui::closeWindow
Debug: Core::stop
Debug:    state: Stopped
Debug:    mset.current_sec: 0.000000
Debug: Core::stopMplayer
Warning: Core::stopMplayer: mplayer in not running!
Debug: DefaultGui::disableActionsOnStop
Debug: BaseGui::disableActionsOnStop
Debug: DefaultGui::saveConfig
Debug: DefaultGui::saveConfig: w: 640 h: 605
Debug: BaseGuiPlus::saveConfig
Debug: Core::saveMediaInfo
Debug: MediaSettings::save
Debug: Playlist::saveSettings
Debug: Recents::save
Debug: global_end
Debug: Preferences::save

A more verbose output of totem (debug level 3) is attached along with a
screenshot. I tried to output using >> ~/log.txt, but it didn't output
anything, so I pasted what was visible in the terminal.

** Affects: smplayer (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: totem (Ubuntu)
     Importance: Undecided
         Status: New

-- 
totem - cant play mpg properly - mpeg2dec decoding error #1
https://bugs.launchpad.net/bugs/225140
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to totem in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to