Re: How to play MPEG2-TS

2007-02-20 Thread Erik Norgaard

Marc Fonvieille wrote:


Weird cause the "default" vlc plays fine all TS, as example it's used in
France to play TS streams from ADSL TVs.  But vlc crashed, for me, when
I treid to play files with a filename using non-iso8859-1 chars and
spaces.


Can you point me to a mpeg2-ts that you can play so I can download and 
try? The stream I am trying to play is HD, since I see that fwcontrol 
now can transfer mpeg2-ts to support HDV cameras, I'd like to try what 
to do with the stream next.


vlc core dumps, mplayer gives this output:

Playing swan.m2t.
TS file format detected.
VIDEO MPEG2(pid=17) AUDIO MPA(pid=20) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1440x1080  (aspect 3)  25.000 fps  25000.0 kbps (3125.0 
kbyte/s)

==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1440 x 1080 (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 adding the scale filter, 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))
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1440x1080 => 1920x1080 Planar YV12
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
Selected font is fixed-width. ct: -0.004   2/  2 ??% ??% ??,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We 
can't and
  won't help unless you provide this information when reporting a 
possible bug.


Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: How to play MPEG2-TS

2007-02-19 Thread Marc Fonvieille
On Sun, Feb 18, 2007 at 11:14:26AM +0100, Erik Norgaard wrote:
> Hi:
> 
> How do I play mpeg2 transport stream video? I have tried with vlc, 
> ffplay and mplayer and all dumps. The video shows fine on Windows with 
> mplayer, what libraries or options do I need to set to enable mpeg2-ts 
> on FreeBSD?
>

Weird cause the "default" vlc plays fine all TS, as example it's used in
France to play TS streams from ADSL TVs.  But vlc crashed, for me, when
I treid to play files with a filename using non-iso8859-1 chars and
spaces.

For mplayer with the following config it works fine:

% make showconfig
===> The following configuration options are available for
mplayer-0.99.10_3:
 DEBUG=off "Include debug symbols in mplayer's binary files"
 RTCPU=on "Let mplayer dynamically check for CPU features"
 OCFLAGS=on "Use optimized compiler flags"
 MENCODER=on "Support encoding of multimedia files"
 IPV6=on "Include inet6 network support"
 X11=on "Enable X11 support for mplayer's video output"
 GUI=on "Enable GTK2 graphical user interface with X11"
 SDL=off "Enable SDL video output"
 VIDIX=on "Enable VIDIX video output on supported archs"
 NVIDIA=off "Enable experimental nvidia xvmc driver"
 SKINS=on "Force dependency on mplayer-skins"
 FREETYPE=on "Use freetype for OSD fonts (TrueType!)"
 RTC=off "Add support for kernel real time clock timing"
 ARTS=off "Enable KDE sound system support"
 ESOUND=off "Enable GNOME esound support"
 JACK=off "Enable JackIt audio server support"
 POLYP=off "Enable polyp sound server support"
 NAS=off (default) "Enable NAS sound server support"
 OPENAL=off "Enable OpenAL sound support"
 LIBUNGIF=on "Enable gif support"
 AALIB=off "Enable aalib support"
 LIBCACA=off "Enable libcaca support"
 SVGALIB=off "Enable svgalib support"
 LIBDV=off "Enable libdv support"
 MAD=on "Enable mad MPEG audio engine support"
 TWOLAME=on "Enable twolame MPEG audio codec support"
 DTS=on "Enable DTS audio codec support"
 LIBMPCDEC=off "Enable libmpcdec support"
 FAAC=on "Enable FAAC audio codec support"
 LADSPA=off "Enable LADSPA plugin support"
 SPEEX=on "Enable speex audio codec support"
 TREMOR=off "Use built-in tremor instead of libvorbis"
 XMMS=off "Enable XMMS plugin support"
 THEORA=on "Enable ogg theora video support"
 WIN32=on "Enable win32 codec set on the IA32 arch"
 X264=on "Enable x264 (H.264) video codec support"
 XANIM=off "Enable xanim DLL support"
 XVID=on "Enable XVID video codec support"
 REALPLAYER=on "Enable real player plugin"
 LIVEMEDIA=on "Enable LIVE555 streaming support"
 SMB=off (default) "Enable Samba input support"
 FRIBIDI=off "Enable FriBiDi support"
 LIRC=off "Enable lirc support"
 LIBCDIO=off "Enable libcdio support"
 CDPARANOIA=off "Enable cdparanoia support"
 LIBLZO=off "Enable external liblzo library"
===> Use 'make config' to modify these settings


-- 
Marc


pgpP9y4tTfpVN.pgp
Description: PGP signature


Re: How to play MPEG2-TS

2007-02-18 Thread Bob McIsaac
On Sunday 18 February 2007 05:14, Erik Norgaard wrote:
> Hi:
>
> How do I play mpeg2 transport stream video? I have tried with vlc,
> ffplay and mplayer and all dumps. The video shows fine on Windows
> with mplayer, what libraries or options do I need to set to enable
> mpeg2-ts on FreeBSD?
>
> Thanks, Erik

For KDE,  use sysinstall or pkg-add to setup Kaffeine video player.  
The dependent libraries are automatically included. There is probably 
something similiar for Gnome.
-Bob-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"