Author Topic: HQ Video snaps freeze  (Read 5465 times)

Brikinhos

  • Newbie
  • *
  • Posts: 7
    • View Profile
HQ Video snaps freeze
« on: January 15, 2018, 10:52:25 AM »
Hi all, I have a problem, some HQ videos freeze when I display them. I tried changing video decoder but both options (software and dxva2) don't work properly. I have read about other video decoder like CUVID but it doesn't appear. I have a modern PC and my GPU is a NVidia GTX 760 and AM version is 2.3. Thanks in advance.

IceLancer

  • Full Member
  • ***
  • Posts: 44
    • View Profile
Re: HQ Video snaps freeze
« Reply #1 on: January 17, 2018, 04:43:30 AM »
files is improperly encoded. Use HandBrake to re-encode again

Brikinhos

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: HQ Video snaps freeze
« Reply #2 on: January 17, 2018, 07:45:38 AM »
Thanks for your answer. So I should download another video pack because re-encode all videos is a huge task.

I have to re-encode it finally. In spite it's a huge task it's better than searching another pack.
« Last Edit: January 17, 2018, 07:52:46 AM by Brikinhos »

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: HQ Video snaps freeze
« Reply #3 on: January 17, 2018, 10:49:50 AM »
Since you are on a PC you can use Steven Selph's scraper. The videos WILL work on a PC however you will have to compile it but it will work.

     You just have to batch encode them with handbrake you can do that from the command line I did a "full" batch of videos for arcade for my pi. (The pi doesn't like 60fps @ 640x480...heh.) The scraper works but it brings down unusable videos. Just let in run over night or while at work. Or create a batch file and run that.

Here i did it for you This will convert them with the x264 encoder to a size of 640x480 @60fps with a volume drop of -20:
1. Copy it to the folder you have your videos located
2. Open it in notepad
3. change the output paths using search and replace
4. change -o path/ to the output folder you want (e.x. create an output folder inside the folder your videos are in)
     A. open the empty folder you want your videos to go in and then copy the path from the bar at the top and paste it into the "replace with" bar.
5. So now you have for example -o /arcade/videos/output/ (yes you need the -o and space! and the ending /) in the replace with box.
6. then click replace all
7. then save the file
8. now double click the bat file or

run from the command line
      a. Press windows key+r
      b. Type cd then the path to your videos folder (the folder you dropped the bat file into copy it from file explorer and then into the command window if you want) ex.
Code: [Select]
cd games/arcade/videos
then type
Code: [Select]
clihandbrake.bat press enter

if it throws any errors let me know (copy and paste it here (and note double clicking it will not produce and output if there are errors )) you can stop it by pressing ctrl+x
note not all videos will be found to convert..this is normal.

[Took me longer to type all that then it did to make the batch file!   :o ]


« Last Edit: January 17, 2018, 11:31:37 AM by akafox »
People want life easy..then complain about it

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: HQ Video snaps freeze
« Reply #4 on: January 17, 2018, 04:01:10 PM »
files is improperly encoded. Use HandBrake to re-encode again

I don't think this is the case.  I encode my own snaps with avidemux.  They are properly encoded with no errors.  But certain high settings bitrate and/or 60 fps encodes even though they are very small (640x480) and cpu unintensive, seem to be problem with playback on AM.  Even a flip phone from a decade ago can play these low res non-HD files perfectly fine.  I've been clamoring for HW support for a long time now and couldn't be happier with the inclusion of it on this latest version.  But alas, it didn't fix anything.   Also keep in mind popular movie sets like Emumovies are tried and true by a large community and they work flawlessly for nearly all big front ends.  It's not the video files that is causing the problems it is definitely AM.
« Last Edit: January 17, 2018, 11:45:38 PM by dukpoki »

Brikinhos

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: HQ Video snaps freeze
« Reply #5 on: January 18, 2018, 07:36:32 AM »
files is improperly encoded. Use HandBrake to re-encode again

I don't think this is the case.  I encode my own snaps with avidemux.  They are properly encoded with no errors.  But certain high settings bitrate and/or 60 fps encodes even though they are very small (640x480) and cpu unintensive, seem to be problem with playback on AM.  Even a flip phone from a decade ago can play these low res non-HD files perfectly fine.  I've been clamoring for HW support for a long time now and couldn't be happier with the inclusion of it on this latest version.  But alas, it didn't fix anything.   Also keep in mind popular movie sets like Emumovies are tried and true by a large community and they work flawlessly for nearly all big front ends.  It's not the video files that is causing the problems it is definitely AM.

I re-encoded some videos that didn't work well in AM and now are displayed perfectly. Anyway, I think the first problem is the video decoder in AM.

Brikinhos

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: HQ Video snaps freeze
« Reply #6 on: January 18, 2018, 08:30:40 AM »
Since you are on a PC you can use Steven Selph's scraper. The videos WILL work on a PC however you will have to compile it but it will work.

Thanks for your answer but I hate scraper xD. Matching video and game is not perfect and some games will get wrong videos. It's only perfect in MAME because each rom has an unique ID name.

And the batch file could be useful but has a problem, when mame is updated I would have to modify it.

To improve it you can take a list of all your games in the folder and iterate it with a FOR statement calling the instruction to encode video, checking before if video and game name matchs, I think is a better solution and generic.
« Last Edit: January 18, 2018, 08:40:31 AM by Brikinhos »