Discussion:
[MPlayer-dvb] DVB mpegpes audio and video at the same time
Joaquín Gómez
2007-10-26 18:14:09 UTC
Permalink
Hi all!!



I have a DVB card and i've installed the mplayer to watch the video
files in my tv. The problem is that using the mpegpes codec i can`t see
the video and listen to the audio at the same time. I mean, when i
execute the command with no output for the video, i can listen to the
audio. When i execute the command with no output for the audio, i can
see de video. But when i try to see the film with audio/video at the
same time, i get no audio nor video and the program seems to die and
show characters like "??%".

Any idea?



I send you the outputs of the 3 commands.



Regards.



Version:

satelite:~/Satelite# mplayer -v

MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled with runtime CPU detection.

get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'

Reading /root/.mplayer/codecs.conf: 115 audio & 237 video codecs

Usage: mplayer [options] [url|path/]filename



Only with audio (without video):

satelite:/Pelis# mplayer -ao mpegpes probados/Title_02.avi -vo null

MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled with runtime CPU detection.

115 audio & 237 video codecs

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 probados/Title_02.avi.

AVI file format detected.

VIDEO: [DIVX] 720x576 24bpp 25.000 fps 1199.2 kbps (146.4 kbyte/s)

==========================================================================

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)

==========================================================================

==========================================================================

Opening audio decoder: [pcm] Uncompressed PCM audio decoder

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)

Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)

==========================================================================

Opening /dev/dvb/adapter0/audio0

AO: [mpegpes] 44100Hz 2ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.

VO: [null] 720x576 => 720x576 Planar YV12

A: 3.1 V: 0.6 A-V: 2.444 ct: -0.000 17/ 17 7% 0% 1.9% 17 0





Only with video (without audio):

satelite:/Pelis# mplayer -vo mpegpes probados/Title_02.avi -ao null

MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled with runtime CPU detection.

115 audio & 237 video codecs

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 probados/Title_02.avi.

AVI file format detected.

VIDEO: [DIVX] 720x576 24bpp 25.000 fps 1199.2 kbps (146.4 kbyte/s)

Opening /dev/dvb/adapter0/video0+audio0

==========================================================================

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)

==========================================================================

==========================================================================

Opening audio decoder: [pcm] Uncompressed PCM audio decoder

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)

Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)

==========================================================================

AO: [null] 44100Hz 2ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)

Could not find matching colorspace - retrying with -vf scale...

Opening video filter: [scale]

Opening video filter: [lavc]

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.

[mpeg1video @ 0x87ff79c]removing common factors from framerate

VO: [mpegpes] 720x576 => 720x576 Mpeg PES

A: 9.9 V: 10.0 A-V: -0.149 ct: -0.000 252/252 21% 47% 0.8% 0 0





With audio and video simultaneously:

satelite:/Pelis# mplayer -vo mpegpes probados/Title_02.avi -ao mpegpes

MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled with runtime CPU detection.

115 audio & 237 video codecs

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 probados/Title_02.avi.

AVI file format detected.

VIDEO: [DIVX] 720x576 24bpp 25.000 fps 1199.2 kbps (146.4 kbyte/s)

Opening /dev/dvb/adapter0/video0+audio0

==========================================================================

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)

==========================================================================

==========================================================================

Opening audio decoder: [pcm] Uncompressed PCM audio decoder

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)

Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)

==========================================================================

Opening /dev/dvb/adapter0/audio0

AO: [mpegpes] 44100Hz 2ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)

Could not find matching colorspace - retrying with -vf scale...

Opening video filter: [scale]

Opening video filter: [lavc]

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.

[mpeg1video @ 0x87ff79c]removing common factors from framerate

VO: [mpegpes] 720x576 => 720x576 Mpeg PES

A: 0.2 V: 0.3 A-V: -0.082 ct: -0.000 9/ 9 ??% ??% ??,?% 0 0



Here the program seems to die and i don't see/heard anything.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Nico Sabbi
2007-10-26 19:56:57 UTC
Permalink
Post by Joaquín Gómez
Hi all!!
I have a DVB card and i've installed the mplayer to watch the video
files in my tv. The problem is that using the mpegpes codec i can`t
see the video and listen to the audio at the same time. I mean,
when i execute the command with no output for the video, i can
listen to the audio. When i execute the command with no output for
the audio, i can see de video. But when i try to see the film with
audio/video at the same time, i get no audio nor video and the
program seems to die and show characters like "??%".
Any idea?
I send you the outputs of the 3 commands.
Regards.
what card model is it? is it FF? are you using the latest firmware?
do other players have the same problem? does mpeg2 work
with -vc mpegpes ?
Stone
2007-10-28 01:50:58 UTC
Permalink
Doesn't the filename have to be last?

satelite:/Pelis# mplayer -vo mpegpes probados/Title_02.avi -ao mpegpes

like:

mplayer -vo mpegpes -ao mpegpes $FILE

Loading...