[MPlayer-users] Stream MPEG4/TS/UDP from vlc to mplayer
David Rault
david.rault at embeddia.fr
Thu Dec 22 17:14:49 CET 2005
Hello,
I use mplayer for windows. I downloaded the binaries this week.
I stream mpeg4 video + mp3 audio from vlc (server, www.videolan.org) to
mplayer (client). I use udp protocol and muxes the data
into mpeg-ts or asf.
If I stream TS packets, the mplayer client cannot display the video
(audio is OK) and I get the following message (see end of mail).
If I use ASF muxing, I works fine for a while (video+audio), after it
crashes. Please note I stream exactly the same file in both cases.
This is just the muxing which changes from TS to ASF.
For the moment, I'd like to use TS muxing (this is my main concern).
For the ASF muxing crashes, I'll try to compile under Linux from the
sources (I'll see later).
Besides this, could I replace my vlc server by another solution ? Is
mplayer capable of streaming through network like vlc ? Another
tool ?
Here is the message I get when using the TS muxing ...
mplayer -cache 4096 rtp://:1234
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing rtp://:1234.
Connected to server:
Cache fill: 19.92% (835584 bytes) TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG4(pid=69)...AUDIO MPA(pid=68) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 50(pid 68), video: 10000004(pid 69)...POS=564
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 315 bits!
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [dsound] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Video: no video
Starting playback...
mpg123: Can't rewind stream by 90 bits!
No bind found for key
MPlayer interrupted by signal 2 in module: play_audio
More information about the MPlayer-users
mailing list