Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: rand0m on December 19, 2019, 08:25:11 PM

Title: Videos on Win Platforms
Post by: rand0m on December 19, 2019, 08:25:11 PM
I have just tested and AM is noticeably faster when I am using avi or wmv format videos. It stutters and slows down while fast scrolling when using .mp4 format vids. I am on win platform (8.1) and using dxva2 video decoder. Does anyone else have the same issue?

Other tests which might be useful for comm:


You can check this by simple conversion of mp4 to avi via ffmpeg. If you have added ffmpeg in env/ path following commands will work as it is. If not then download ffmpeg and place them in the folder with vids. Run the commands in command-line opened at video location.

Single Video Conversion
Code: [Select]
ffmpeg -i "Vid-Name.mp4" -c:v copy -c:a copy "Vid-Name.avi"
Bulk Video Conversion (folder)
Code: [Select]
for %%a in ("*.mp4") do ffmpeg -i "%%a" -c:v copy -c:a copy "newfiles\%%~na.avi"
(for second command create a newfiles folder first at location)
Title: Re: Videos on Win Platforms
Post by: iOtero on December 21, 2019, 06:37:54 AM
I've had to modify all my mp4 videos from 60 fps to 24 fps for the Raspberry pi and now I'm doing well, but I'm going to try your idea, rand0m. Thank you.