[MPlayer-users] How to check movies for errors?

Francesco Turco fctk86 at gmail.com
Sat Sep 10 14:12:35 CEST 2005


Reimar Döffinger ha scritto:

>Hi,
>On Fri, Sep 09, 2005 at 02:20:18PM +0200, Francesco Turco wrote:
>  
>
>>$ mplayer -vo null -ao null -speed 15 <file>
>>    
>>
>
>Maybe try (no need for -speed then I think):
>-ao pcm:file=/dev/null
>The syntax to specify the PCM file is a bit different in older
>versions...
>

thanks for the suggestion.

i tried both methods, and this is the result:

*** FIRST METHOD ***

$ time mplayer -vo null -ao null -speed 15 "<file>"
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilato per CPU x86 con estensioni: MMX MMX2 3DNow 3DNowEx SSE



85 audio & 196 video codecs
In riproduzione <file>
Cache fill:  5.86% (491520 bytes)    Rilevato formato file AVI!
VIDEO:  [DX50]  640x336  24bpp  25.000 fps  1034.7 kbps (126.3 kbyte/s)
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 480000Hz/2ch/s16le -> 480000Hz/2ch/s16le...
AF_pre: 480000Hz/2ch/s16le
AO: [null] 480000Hz 2ch s16le (2 bps)
Building audio filter chain for 480000Hz/2ch/s16le -> 480000Hz/2ch/s16le...
Inizio la riproduzione...
VDec: configurazione richiesta dal vo - 640 x 336 (csp preferito: Planar 
YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect è 1.90:1 - riscalo per ottenere un rapporto corretto.
VO: [null] 640x336 => 640x336 Planar YV12
A:4927.0 V:4927.0 A-V:  0.003 ct: -0.044 123175/123175 48%  0%  7.2% 0 0 
49% 10.00x                                                          
Broken frame at 0x4B2F280                                                 
A:4927.1 V:4927.9 A-V: -0.731 ct: -0.116 123198/123198 48%  0%  7.2% 0 0 
0% 10.00x                                                           

In uscita... (Fine del file)

real    10m7.465s
user    4m3.984s
sys    0m2.940

*** SECOND METHOD ***

$ time mplayer -vo null -ao pcm:file=/dev/null "<file>"
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilato per CPU x86 con estensioni: MMX MMX2 3DNow 3DNowEx SSE



85 audio & 196 video codecs
In riproduzione <file>
Rilevato formato file AVI!
VIDEO:  [DX50]  640x336  24bpp  25.000 fps  1034.7 kbps (126.3 kbyte/s)
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
[AO PCM] File: /dev/null (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format s16le
[AO PCM] Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default).
AO: [pcm] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Inizio la riproduzione...
VDec: configurazione richiesta dal vo - 640 x 336 (csp preferito: Planar 
YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect è 1.90:1 - riscalo per ottenere un rapporto corretto.
VO: [null] 640x336 => 640x336 Planar YV12
A:4927.1 V:4927.3 A-V: -0.173 ct:  0.109 123184/123184  4%  0%  0.6% 
46365 0 49%                                                             
Broken frame at 0x4B2F280                                                 
A:4927.3 V:4927.9 A-V: -0.591 ct:  0.045 123198/123198  4%  0%  0.6% 
46365 0 0%                                                              

In uscita... (Fine del file)

real    18m18.713s
user    4m25.743s
sys    0m4.976s

as you can see, the first method is much faster then the second, 
probably because it doesn't encode to pcm...

other suggestions?




More information about the MPlayer-users mailing list