Author Topic: Videos on Win Platforms  (Read 1673 times)

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Videos on Win Platforms
« 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:

  • At my end best to worst (scrolling speed) video formats: wmv > avi > mp4
  • Size (resolution) makes no difference whatsoever, I thought that decreasing video resolution in display was causing stutter but tested with increasing/ decreasing vid res and it made absolutely no difference.
  • Vids in background also don't make any difference i.e. other items like text or list on top of video (didn't check with surfaces!)
  • Video location does matter, if vids are on another HD (not partition) then AM, there is a slight slow-down which goes away within a minute.

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)

iOtero

  • Sr. Member
  • ****
  • Posts: 414
    • View Profile
Re: Videos on Win Platforms
« Reply #1 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.
Nacer a los 15 años Una novela de iOtero