You were right Nick.

Nick Rout wrote:

It's not my DVD unfortunately. However the file REV_OS_trailer.mpg (18M) is 
downloadable from here:

http://www.revolution-os.com/musicvideo.html

I assume it is the same one.

Cool, huh :-)

mplayer plays it fine. totem plays it fine, using xine I assume. I haven't ever 
had much luck with gstreamer, never needed it.
This is an exercise to see how useable gstreamer (Ubuntu & FreeBSD default) can be made to be.

The file is a very basic mpeg-1 stream. If a given media player cannot play it, it doesn't deserve that description. I see that gstreamer has many plugins, that all seem to be packaged separately. Maybe there is a gst plugin that you need? I see one in my packaging system called gst-plugins-ffmpeg and another called gst-plugins-mpeg2dec. The latter is described as "Libmpeg2 based decoder plug-in for gstreamer".
mplayer tells me that it is using libmpeg2 to decode the file, so gstreamer may 
work if gst-plugins-mpeg2dec is installed.
I tried putting in several of the available package extras, starting with that above for libmpeg2 <http://libmpeg2.sourceforge.net>, which got the picture rolling. It took a while and surprise to find that the audio stream would not become audible without aRts. I have seen this program listed a lot - especially around KDE - without knowing what it was for.

By the way here are some tests to determine the codec used:

[EMAIL PROTECTED] ~/media $ file REV_OS_trailer.mpg
REV_OS_trailer.mpg: MPEG sequence, v1, system multiplex

(that gives a pretty good indication of being an mpeg-1 stream)

[EMAIL PROTECTED] ~/media $ tcprobe -i REV_OS_trailer.mpg
[tcprobe] MPEG program stream (PS)

(as does that)

[tcprobe] summary for REV_OS_trailer.mpg, (*) = not default, 0 = not detected
import frame size: -g 352x240 [720x576] (*)
    aspect ratio: 4:3 (*)
      frame rate: -f 29.970 [25.000] frc=4 (*)
                  PTS=47721.8588, frame_time=33 ms, bitrate=1150 kbps
     audio track: -a 0 [0] -e 44100,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                  bitrate=224 kbps

[EMAIL PROTECTED] ~/media $ ffmpeg -i REV_OS_trailer.mpg
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard
 configuration:  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --build=i686-pc-linux-gnu --enable-shared-pp 
--enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug 
--enable-mp3lame --enable-a52 --disable-a52bin --enable-audio-oss --enable-v4l 
--enable-dv1394 --enable-dc1394 --disable-pthreads --enable-xvid --enable-ogg 
--enable-vorbis --enable-dts --enable-network --enable-zlib --enable-ffplay 
--enable-faad --enable-faac --disable-faadbin --enable-gpl --enable-pp 
--disable-opts
 built on Sep 30 2005 17:17:47, gcc: 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, 
pie-8.7.8)
Input #0, mpeg, from 'REV_OS_trailer.mpg':
 Duration: 00:01:51.9, start: 0.340078, bitrate: 1412 kb/s
 Stream #0.0: Video: mpeg1video, 352x240, 29.97 fps
 Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Must supply at least one output file

The point of the exercise is to find out where the most useable given solutions most readily are. With gstreamer as the backend for Totem - out of the box - FreeBSD plays the test mpg & Ubuntu doesn't. So you have been helpful in showing what makes the difference, so that Ubuntu's gstreamer can be tweaked up to FreeBSD's delivery standard. Before this, the solution I have found and passed onto others is to install totem-xine package, which displaces totem-gstreamer. Xine is clearly a fully-pledged media player, with all the plugins in place (i've not yet had cause to try media player).

The next level of this test is to get both O/Ss to play my LOTR dvd, and discover if i am Free to so do. Currently both totem-gstreamers do not comply. (Errors about 'can't read dvd info' and 'can't determine stream type'.) I'll try more plugins, then probably have to try switching to xine again.

Thanks for your input,

--
Rik Tindall, InfoHelp Services <http://www.infohelp.co.nz>, on:
Ubuntu GNU/Linux 5.04 free OS, 2.6.10-5-k7 kernel, GNOME 2.10.0 desktop
OpenOffice.org 1.1.3, Mozilla 1.7.12 email client & web browser
GIMP 2.2.2 graphics, gedit 2.10.2 web editor, gFTP 2.0.18 file transfer


Reply via email to