[MPlayer-users] Encode HD to lower resolution to play without "your system is too SLOW"

Alexander Roalter alex at roalter.it
Tue Apr 10 16:09:03 CEST 2007


Dmitry Antipov wrote:
> Reimar Döffinger wrote:
> 
>> with -vo null it's no problem on Athlon64 3200+ (running at 1.8GHz).
>> P4 architecture sucks, but not that much, please provide the _full_
>> MPlayer output.
> 
> First example:
> 
> $> ./mplayer -zoom -xy 0.7 bbc_1080p.mov
> MPlayer dev-SVN-r22963-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> Playing bbc_1080p.mov.
> ISO: File Type Major Brand: Original QuickTime
> Quicktime/MOV file format detected.
> VIDEO:  [avc1]  1920x1080  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>   comments: All Rights Reserved
>   copyright: 2005 BBC
>   author: BBC Motion Gallery
>   name: BBC Motion Gallery
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
> ==========================================================================
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 1920x1080 => 1343x755 Planar YV12  [zoom]
> [ASPECT] Warning: No suitable new res found!
> A:   5.6 V:   4.4 A-V:  1.273 ct:  0.021 106/106 110%  6%  3.1% 50 0
> 
>             ************************************************
>             **** Your system is too SLOW to play this!  ****
>             ************************************************
> [...]
> 
> 
> Second example:
> 
> $> ./mplayer -vf scale=1280:760  bbc_1080p.mov
> MPlayer dev-SVN-r22963-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> Playing bbc_1080p.mov.
> ISO: File Type Major Brand: Original QuickTime
> Quicktime/MOV file format detected.
> VIDEO:  [avc1]  1920x1080  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>   comments: All Rights Reserved
>   copyright: 2005 BBC
>   author: BBC Motion Gallery
>   name: BBC Motion Gallery
> Opening video filter: [scale w=1280 h=760]
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
> ==========================================================================
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> SwScaler: reducing / aligning filtersize 7 -> 8
> SwScaler: reducing / aligning filtersize 7 -> 8
> SwScaler: reducing / aligning filtersize 7 -> 6
> SwScaler: reducing / aligning filtersize 7 -> 6
> [swscaler @ 0x87c8878]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
> [swscaler @ 0x87c8878]SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
> [swscaler @ 0x87c8878]SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
> [swscaler @ 0x87c8878]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
> [swscaler @ 0x87c8878]SwScaler: 1920x1080 -> 1280x760
> VO: [xv] 1280x760 => 1351x760 Planar YV12
> A:   5.2 V:   3.7 A-V:  1.572 ct:  0.021  89/ 89 97% 37%  3.3% 50 0
> 
>             ************************************************
>             **** Your system is too SLOW to play this!  ****
>             ************************************************
> [...]
> 
> Running without any options:
> 
> $> ./mplayer bbc_1080p.mov
> MPlayer dev-SVN-r22963-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> Playing bbc_1080p.mov.
> ISO: File Type Major Brand: Original QuickTime
> Quicktime/MOV file format detected.
> VIDEO:  [avc1]  1920x1080  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>   comments: All Rights Reserved
>   copyright: 2005 BBC
>   author: BBC Motion Gallery
>   name: BBC Motion Gallery
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
> ==========================================================================
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 1920x1080 => 1920x1080 Planar YV12
> [ASPECT] Warning: No suitable new res found!
> [ASPECT] Warning: No suitable new res found!
> [ASPECT] Warning: No suitable new res found!
> A:   5.8 V:   4.5 A-V:  1.312 ct:  0.021 108/108 110%  6%  3.4% 50 0
> 
>             ************************************************
>             **** Your system is too SLOW to play this!  ****
>             ************************************************
> [...]
> 
> Running with null output:
> 
> $> ./mplayer -vo null -ao null bbc_1080p.mov
> MPlayer dev-SVN-r22963-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> Playing bbc_1080p.mov.
> ISO: File Type Major Brand: Original QuickTime
> Quicktime/MOV file format detected.
> VIDEO:  [avc1]  1920x1080  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>   comments: All Rights Reserved
>   copyright: �2005 BBC
>   author: BBC Motion Gallery
>   name: BBC Motion Gallery
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
> ==========================================================================
> AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [null] 1920x1080 => 1920x1080 Planar YV12
> A:   6.3 V:   5.1 A-V:  1.169 ct:  0.021 123/123 110%  0%  1.5% 50 0
> 
>             ************************************************
>             **** Your system is too SLOW to play this!  ****
>             ************************************************
> [...]
> 
>> For playback with a vo "-lavdopts skiploopfilter=nonref" is sufficient
>> and the effect should hardly be visible.
> 
> I've still got "too SLOW" both for 'mplayer -zoom -xy 0.7 -lavdopts skiploopfilter=nonref'
> as well as for 'mplayer -vf scale=1280:760  -lavdopts skiploopfilter=nonref'.
> 
> Note 'mplayer -zoom -xy 0.7 -lavdopts skiploopfilter=all' works fine, but
> 'mplayer -vf scale=1280:760  -lavdopts skiploopfilter=all' gives "too SLOW" again.
> 
> Since I don't need resolution more than 1280x760, I'm thinking about encoding this
> to x264 and relax about these issues completely :-).
> 
> Dmitry

is the QuickTime @ 1080 this much cpu-hungrier than x264 @ 720? I wonder 
a bit.

It is probably not an issue for you, but I still got no answer about how 
to encode at the current moment using x264 (a fresh svn from this morning).

All I do is

mencoder input.avi -o output.avi -ovc x264 -oac copy,

and I get the running audio, which resets at every seek (and starts at 
0). using  -nobps fixes the speed issue, but not the seeking. Any ideas 
about this, or any other container suggestion?

-- 
cheers,
Alex



More information about the MPlayer-users mailing list