[MPlayer-users] Re: Mplayer as a Client for VideoLAN server

Nico nsabbi at libero.it
Wed Jul 9 08:43:37 CEST 2003


Sorry, it was a silly suggestion, if you do it mplayer won't be able to
parse the SDP file

The problem lies in the fact the the TS demuxer isn't called at all, maybe
because demux_rtp.cpp forces the file format to

  >*file_format = DEMUXER_TYPE_RTP;


I guess that changing that line to
    *file_format =DEMUXER_TYPE_UNKNOWN

could help (it would force demuxer.c to search the right demuxer)


----- Original Message -----
From: "Nico" <nsabbi at libero.it>
To: <mplayer-users at mplayerhq.hu>
Sent: Wednesday, July 09, 2003 8:18 AM
Subject: Re: [MPlayer-users] Re: Mplayer as a Client for VideoLAN server


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> Have you cut some of the logs?
> I don't see any of the demuxer's messages: it should say "TS file format
> detected" and list the streams used.
>
> > [V] filefmt:21  fourcc:0x10000002  size:720x480  fps:29.97
ftime:=0.0334
>
> 21 is DEMUXER_TYPE_RTP,
>  TS is 29
>
> please, can you try
>
> ./mplayer -v sdp:///root/testMPEGAudioVideo.sdp -demuxer 29
>
> and post the log?
>
> ----- Original Message -----
> From: "Rett Walters" <rettw at rtwnetwork.com>
> To: "Ross Finlayson" <finlayson at live.com>
> Cc: <mplayer-users at mplayerhq.hu>
> Sent: Wednesday, July 09, 2003 6:02 AM
> Subject: Re: [MPlayer-users] Re: Mplayer as a Client for VideoLAN server
>
>
> > [Automatic answer: RTFM (read DOCS, FAQ), also read
DOCS/bugreports.html]
> > Ross:
> >
> > I have gotten a little further - It looks like I need to tell Videolan
to
> send with
> > rtp protocol rather udp - and then mplayer gets a little futher - I see
a
> video
> > window come up with some corrupted video then mplayer crashes....  Here
is
> mplayer's
> > output. (Looks like I may need to do some bug reporting)
> >
> > Maybe this will give us a little more insight.
> >
> > Thanks again,
> >
> > Rett
> >
> >
> > [root at is6974 MPlayer-20030624]# ./mplayer -V
> sdp:///root/testMPEGAudioVideo.sdp
> > Using GNU internationalization
> > Original domain: messages
> > Original dirname: /usr/share/locale
> > Current domain: mplayer
> > Current dirname: /usr/share/locale
> >
> >
> > MPlayer dev-CVS-030623-23:00-2.96 (C) 2000-2003 Árpád Gereöffy (see
DOCS)
> >
> > CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
> Stepping: 3)
> > Detected cache-line size is 32 bytes
> > CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> > Compiled for x86 CPU with extensions: MMX MMX2 SSE
> >
> > Reading config file /usr/etc/mplayer/mplayer.conf: No such file or
> directory
> > Reading config file /root/.mplayer/config
> > Reading /root/.mplayer/codecs.conf: 50 audio & 136 video codecs
> > CommandLine: '-V' 'sdp:///root/testMPEGAudioVideo.sdp'
> > get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
> > font: can't open file: /root/.mplayer/font/font.desc
> > font: can't open file: /usr/share/mplayer/font/font.desc
> > init_freetype
> > Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> > Using Linux hardware RTC timing (1024Hz).
> > get_path('input.conf') -> '/root/.mplayer/input.conf'
> > Can't open input config file /root/.mplayer/input.conf : No such file or
> directory
> > Can't open input config file /usr/etc/mplayer/input.conf : No such file
or
> directory
> > Falling back on default (hardcoded) input config
> > get_path('testMPEGAudioVideo.sdp.conf') ->
> '/root/.mplayer/testMPEGAudioVideo.sdp.conf'
> >
> > Playing sdp:///root/testMPEGAudioVideo.sdp
> > File size is 81 bytes
> > Initiated "video/MP2T" RTP subsession
> > Increased video socket receive buffer to 2000000 bytes
> > ==> Found video stream: 0
> > Searching for sequence header... OK!
> > VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  8800.0 kbps (1100.0
> kbyte/s)
> > [V] filefmt:21  fourcc:0x10000002  size:720x480  fps:29.97
ftime:=0.0334
> > get_path('sub/') -> '/root/.mplayer/sub/'
> > get_path('default.sub') -> '/root/.mplayer/default.sub'
> > X11 opening display: :0.0
> > vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
> > vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0.0" => local
> display)
> > [x11] Detected wm supports NetWM.
> > [x11] Detected wm supports STAYS_ON_TOP state.
> >
==========================================================================
> > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> > VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
> > Trying filter chain: vo
> > Could not find matching colorspace - retrying with -vop scale...
> > Opening video filter: [scale]
> > SwScale params: -1 x -1 (-1=no scaling)
> > Trying filter chain: scale vo
> > The selected video_out device is incompatible with this codec.
> > VDecoder init failed :(
> > Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
> > Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
> >
==========================================================================
> > Audio: no sound
> > Freeing 0 unused audio chunks
> > Starting playback...
> > VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
> > Trying filter chain: vo
> > VDec: using Planar YV12 as output csp (no 0)
> > Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> > VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
> > VO: [xv] 720x480 => 854x480 Planar YV12
> > VO: Description: X11/Xv
> > VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
> > Xvideo image format: 0x32595559 (YUY2) packed
> > Xvideo image format: 0x59565955 (UYVY) packed
> > Xvideo image format: 0x32315659 (YV12) planar
> > Xvideo image format: 0x30323449 (I420) planar
> > using Xvideo port 59 for hw scaling
> > [xv] dx: 0 dy: 0 dw: 854 dh: 480
> > *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
> > [xv] dx: 0 dy: 0 dw: 854 dh: 480
> > *** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar,
518400
> bytes
> > get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
> > Unicode font: 533 glyphs.
> > *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
> > V:   0.0  213  182152% 182159%  0.0% 0 0 0%
> >
> > MPlayer interrupted by signal 11 in module: decode_video
> > - MPlayer crashed by bad usage of CPU/FPU/RAM.
> >   Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
> >   disassembly. For details, see DOCS/en/bugreports.html#crash
> > - 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/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.
> > uninit video: libmpeg2
> > DEMUXER: freeing demuxer at 0x831c2b8
> > DEMUXER: freeing sh_video at 0x8324868
> > vo: uninit ...
> >
> > _______________________________________________
> > RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> > Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list