[MPlayer-cygwin] codecs.conf

PBVillaflores at smart.com.ph PBVillaflores at smart.com.ph
Tue Apr 4 03:08:30 CEST 2006



Your suggestion about -codecs-file did work.  I tried to point it to a
codecs file which I have edited to contain the ATI VCR codec dll that I
think is the one used by ATI's TV recorder.

I edited an existing entry in codecs.conf as follows;

videocodec ffmpeg2
  info "FFmpeg MPEG-2"
  status working
  format 0x10000002  ; MPEG-2
  fourcc mpg2
  driver ffmpeg
  dll "atidvcr"
  out YV12,I420,IYUV
  out 422P,444P



This is the result (still no video):


F:\V>c:mplayer -codecs-file c:codecs.conf -vc ffmpeg2 "Apr 2-Channel
17.vcr"
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
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.

85 audio & 196 video codecs
c:/windows/fonts/arial.ttf doesn't look like a font description,
ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing Apr 2-Channel 17.vcr.
MPEG-PS file format detected.
MPEG: bad sequence header extension
Video: Cannot read properties.
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
Checking audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [dsound] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
Video: no video
Starting playback...

Exiting... (Quit)



-----Original Message-----
From: Paolo B. Villaflores, IT/3137
Sent: Tuesday, April 04, 2006 9:06 AM
To: 'Windows porting (Cygwin/MinGW)'
Subject: RE: [MPlayer-cygwin] codecs.conf


Here is the result from running mplayer -identify -frames 0 'Apr
2-Channel 17.vcr'


F:\V>c:mplayer -identify -frames 0 "Apr 2-Channel 17.vcr"
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
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 Apr 2-Channel 17.vcr.
ID_VIDEO_ID=0
ID_AUDIO_ID=0
MPEG-PS file format detected.
MPEG: bad sequence header extension
Video: Cannot read properties.
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
ID_FILENAME=Apr 2-Channel 17.vcr
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=3539
Checking audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [dsound] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
Video: no video
Starting playback...


Exiting... (End of file)




-----Original Message-----
From: mplayer-cygwin-bounces at mplayerhq.hu
[mailto:mplayer-cygwin-bounces at mplayerhq.hu] On Behalf Of John Brown
Sent: Tuesday, April 04, 2006 2:48 AM
To: mplayer-cygwin at mplayerhq.hu
Subject: RE: [MPlayer-cygwin] codecs.conf

>From: <PBVillaflores at smart.com.ph>
>I tried the -v option.  Didn't seem to say anything about where the
>codecs.conf is.

Hmm... The version at work (MPlayer dev-CVS-051020-17:39-3.4.2)  does
not
show where it searches for codecs.conf, but on my PC at home (March 22,
I
believe) it shows something like:

get_path('codecs.conf') -> 'c:/progra~1/MPlayer/mplayer/codecs.conf

so you can try that.

>MPlayer 1.0pre7-3.4.2

Your MPlayer version is very old. Try again with the lastest CVS
version.


Can you run mplayer -identify -frames 0 'Apr 2-Channel 17.vcr'?

>CommandLine: '-v' '-codecs-file' 'c:codecs\atidvcr.dll' 'Apr 2-Channel
>17.vcr'

-codecs-file is used to specify a file to be used as codecs.conf, so you

could have said:
mplayer -codecs-file c:\progra~1\mplayer\codecs.conf etc.

See the section in the MPlayer manual that describes how to create a new

entry in codecs.conf.


_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwin at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin

__________________________________________________
This communication is intended solely for the use of the addressee and authorized recipients.  It may contain confidential or legally privileged information and is subject to the conditions in http://www.smart.com.ph/disclaimer.




More information about the MPlayer-cygwin mailing list