Re: Hardware video acceleration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 2019-07-21 at 18:16 +0100, Ralph Corderoy wrote:
> have you tried ‘mpv foo.mp4’ so you can see what it outputs about its
> video out, ‘VO’, choice before it starts playing?

Hi,

thank you Ralph.



$ ffmpeg -i IMG_2907.MOV -vcodec libx264 mp4_2907.mp4
[snip]


$ mpv mp4_2907.mp4 
Playing: mp4_2907.mp4
 (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
VO: [gpu] 1920x1080 yuv420p
[ao/alsa] Playback open error: Device or resource busy
[ao/oss] Can't open audio device /dev/dsp: No such file or directory
AO: [jack] 44100Hz stereo 2ch floatp
AV: 00:00:06 / 00:00:06 (99%) A-V:  0.000


Exiting... (End of file)

top CPU >20% mpv
        with spikes up to ≈70%


$ mpv --hwdec=vaapi mp4_2907.mp4
Playing: mp4_2907.mp4
 (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
Cannot load libcuda.so.1
Using hardware decoding (vaapi).
VO: [gpu] 1920x1080 vaapi[nv12]
[ao/alsa] Playback open error: Device or resource busy
[ao/oss] Can't open audio device /dev/dsp: No such file or directory
AO: [jack] 44100Hz stereo 2ch floatp
AV: 00:00:06 / 00:00:06 (99%) A-V:  0.000


Exiting... (End of file)

top CPU ≈10% mpv
        no mentionable spikes



Regards,
Ralf




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux