[MPlayer-users] Odd output

Rolf Ernst rolf.ernst at silverlightning.org
Tue Feb 2 18:49:15 CET 2010


Hi,

I compiled my own version of mplayer and everything works just fine except
for a bit obscure output from the '-identify;. I have written a frontend for
mencoder and it parses this output to do various things so a change is
pretty confusing to the parser. Here is what it looks like for a DVD:

;32mDC←[0;32m
←[0;32mThere are 3 titles on this DVD.
←[0;37mID_DVD_CURRENT_TITLE=1
←[0;32mThere are 1 angles in this DVD title.
←[0;32maudio stream: 0 format: ac3 (stereo) language: en aid: 128.
←[0;37mID_AUDIO_ID=128
←[0;37mID_AID_128_LANG=en
←[0;32maudio stream: 1 format: ac3 (5.1) language: en aid: 129.
←[0;37mID_AUDIO_ID=129
←[0;37mID_AID_129_LANG=en
←[0;32maudio stream: 2 format: ac3 (stereo) language: fr aid: 130.
←[0;37mID_AUDIO_ID=130
←[0;37mID_AID_130_LANG=fr
←[0;32mnumber of audio channels on disk: 3.
←[0;32msubtitle ( sid ): 2 language: en
←[0;37mID_SUBTITLE_ID=2
←[0;37mID_SID_2_LANG=en
←[0;32msubtitle ( sid ): 3 language: fr
←[0;37mID_SUBTITLE_ID=3
←[0;37mID_SID_3_LANG=fr
←[0;32mnumber of subtitles on disk: 2
←[0;37mCHAPTERS:
←[0;37m00:00:00,←[0;37m00:11:05,←[0;37m00:22:35,←[0;37m00:31:31
,←[0;37m00:41:06,←[0;37m00:47:20,←[0;37m00:56:06,←[0;37m01:11:04,←[0;37m01:16:20
,←[0;37m01:26:15,←[0;37m01:39:30,←[0;37m
←[0;37mID_VIDEO_ID=0
←[0;37mMPEG-PS file format detected.
←[0;37mID_AUDIO_ID=128
←[0;37mVIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0
kbyte
/s)
←[0;37mID_FILENAME=dvd://
←[0;37mID_DEMUXER=mpegps
←[0;37mID_VIDEO_FORMAT=0x10000002
←[0;37mID_VIDEO_BITRATE=9800000
←[0;37mID_VIDEO_WIDTH=720
←[0;37mID_VIDEO_HEIGHT=480
←[0;37mID_VIDEO_FPS=29.970
←[0;37mID_VIDEO_ASPECT=0.0000
←[0;37mID_AUDIO_FORMAT=8192
←[0;37mID_AUDIO_BITRATE=0
←[0;37mID_AUDIO_RATE=0
←[0;37mID_AUDIO_NCH=0
←[0;37mID_LENGTH=0.00
←[0;37mID_SEEKABLE=1
←[0;37mID_CHAPTERS=11
←[0;37m=========================================================================
=
←[0;37mOpening video decoder: [mpegpes] MPEG 1/2 Video passthrough
←[0;37mCould not find matching colorspace - retrying with -vf scale...
←[0;37mOpening video filter: [scale]
←[0;33mThe selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
←[0;37mVDecoder init failed :(
←[0;37mOpening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
←[0;37mSelected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
←[0;37m=========================================================================
=
←[0;37mID_VIDEO_CODEC=ffmpeg2
←[0;37m=========================================================================
=
←[0;37mOpening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
←[0;37mAUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio:
24000->192000)
←[0;37mID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
←[0;37mSelected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
←[0;37m=========================================================================
=
←[0;37mAO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
←[0;37mID_AUDIO_CODEC=ffac3
←[0;37mStarting playback...
←[0;37mID_AUDIO_ID=129
←[0;37mID_AUDIO_ID=130
←[0;37mMovie-Aspect is 1.78:1 - prescaling to correct movie aspect.
←[0;37mID_VIDEO_ASPECT=1.7778
←[0;37mVO: [directx] 720x480 => 854x480 Planar YV12
←[0;31m[mpeg2video @ 0x10180d4]←[0;31mac-tex damaged at 40 6
←[0;31m[mpeg2video @ 0x10180d4]←[0;31mWarning MVs not available
←[0;37m[mpeg2video @ 0x10180d4]←[0;37mconcealing 1080 DC, 1080 AC, 1080 MV
error
s
←[0;37m
demux_mpg: 24000/1001fps progressive NTSC content detected, switching
framerate.

Is this the way it is supposed to be now? what about the '←[0;37m'?

/re


More information about the MPlayer-users mailing list