[SCRIPT] RetroPie Convert Videos
-
@memodellocos Where does Skyscrapper store the videos?
/home/pi/RetroPie/roms/<system>/media/video
or/home/pi/RetroPie/roms/<system>/media
Because I followed this guide https://github.com/RetroPie/RetroPie-Setup/wiki/Scraper#where-are-my-scraped-media-and-metadata-saved to get the paths for the scrapers, and here it says that Skyscraper, when setting the option ROM folder for gamelists & media, should store the videos in/home/pi/RetroPie/roms/<system>/media
.
And that's the path I have in my script (I think). Maybe Skyscraper changed the path? -
@hiulit Currently, SS uses subdirectories inside
/home/pi/RetroPie/roms/<system>/media/
for the different kinds of content. Videos go into/home/pi/RetroPie/roms/<system>/media/videos/
by default. -
@Clyde Thanks! Then I'll add it to the script. I'll let you know when I update it :)
-
-
@WeirdH No, it actually states that one video matches the 'from'-criteria but does not convert it anyway: "> "centiped-video.mp4" --> Don't convert! Has the same Color Encoding System (C.E.S) as 'from_ces': 'yuv444p'.
-
No conversion if from-criteria is met
Just tried the script but all videos that matched the 'from-criteria' were not converted:> "centiped-video.mp4" --> Don't convert! Has the same Color Encoding System (C.E.S) as 'from_ces': 'yuv444p'.
Why is there no conversion even if the criteria is met?
-
@toimas said in [SCRIPT] RetroPie Convert Videos:
Why is there no conversion even if the criteria is met?
Because the video doesn't need converting.
-
??? The video is in yuv444p... the conversion should be to yuv420p...
-
@toimas How are you running the script ? What parameters are you using ? Did you add
--to-ces yuv420p
? -
tried
./retropie-convert-videos.sh --from-ces "yuv444p" --to-ces "yuv420p" --scraper "sselph" --convert-systems "arcade"
or also with the config
# From color (optional) # Target only videos with this particular C.E.S. # If left blank, it will target all videos, regardless of the C.E.S. # (e.g. "yuv444p") from_ces = "yuv444p" # To color (mandatory) # Convert videos to this particular C.E.S. # (e.g. "yuv420p") to_ces = "yuv420p"
same result... no conversion of matching source-videos in yuv444p to yuv420p
-
Weird, it worked for me before with the arcade videos I downloaded from adb.arcadeitalia.net and your parameters are correct.
EDIT: can you upload somewhere the
.mp4
file ? -
Well... I don't think it's the videos but rather the script...
WIthout further investigation I'd suggest that the following case is rather 'counter-productive'results+=("> \"$(basename "$video")\" --> Don't convert! Has the same Color Encoding System (C.E.S) as 'from_ces': '$from_ces'.")
I just can't think of a single case where I first check a file for matching conditions only to 'not convert' it then...
-
I've uploaded a yuv444p file (orginally from screenscsraper.fr)
https://www.dropbox.com/s/o0x30tzv0fpni7l/centiped-video.mp4?dl=0 -
@toimas said in [SCRIPT] RetroPie Convert Videos:
I just can't think of a single case where I first check a file for matching conditions only to 'not convert' it then...
I may misunderstand you, but why check something only to ignore the result afterwards?
Conversion needs time and extra storage space, if only temporarily. Imagine that you have 5000 videos (not uncommon with MAME romsets), but only some of them are in 444p. You may not want to convert all 5000 just for a handful of them.
-
My goodness... so many misunderstandings...
Currently the script ignores conversion for videos THAT MATCH the FROM condition... -
Hi everyone! I've just released a new version 2.1.1 with the Skyscraper's video path fixed :)
-
@memodellocos Can you try with the new version? I've merged your PR. Thanks! ;)
-
@toimas I'll take a look at that when I have the time. The idea is that if
from_ces
andto_ces
are equal, the script won't convert that video. But your settings should work. -
-
BTW, the script is using
libav-tools
, should I change it forffmpeg
? What do you think?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.