OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Neil Waldhauer on October 22, 2023, 03:18:26 am
-
I saw Tellie has made a port called Converseen, which looked like it could convert those HEIC files that the iPhone creates when you take a picture. I love PMView, but it doesn't support that format.
Unfortunately, I can't get it to run.
The readme.os2 instructs me to use yum
yum install libraw
Yum fails, but helpfully suggests installing LibRaw.
yum install libzip
Yum fails here, but does not make any suggestion.
At this point converseen does not have the needed libraries, and fails with SYS0002: The system cannot find the file specified. "RAW_R23"
Interestingly, PMDLL cannot make anything of converseen.exe. It puts up "Building tree", but never any other information.
I'm using netlabs-rel repository.
-
Hi, you do need to enable netlabs.exp, then,
H:\tmp\Conversion>yum provides raw_r23.dll
LibRaw-0.21.1-2.oc00.pentium4 : Library for reading RAW files obtained from
: digital photo cameras
Repo : netlabs-exp
Matched from:
Other : raw_r23.dll
libraw-0.21.1-1.oc00.pentium4 : Library for reading RAW files obtained from
: digital photo cameras
Repo : netlabs-exp
Matched from:
Other : raw_r23.dll
libraw-0.21.1-1.oc00.pentium4 : Library for reading RAW files obtained from
: digital photo cameras
Repo : installed
Matched from:
Other : raw_r23.dll
and then
H:\tmp\Conversion>yum provides zstd1.dll
libzstd-1.5.5-1.oc00.pentium4 : Zstd shared library
Repo : netlabs-exp
Matched from:
Other : zstd1.dll
libzstd-1.5.5-1.oc00.pentium4 : Zstd shared library
Repo : installed
Matched from:
Other : zstd1.dll
then here, Conversion seems to work, not that I tested it beyond starting it.
H:\tmp\Conversion>converseen.exe
Unimplemented code.
libpng warning: iCCP: known incorrect sRGB profile
Seems that using FFmpeg or one of its front ends would be better, a simple command line might look like (untested)
ffmpeg foo.heic foo.vp8
Or use whatever for foo.vp8 such as foo.x264. I'm not sure if heic is a container, which would take a more complicated command line or a simply a video codec.
A container contains multiple streams muxed together, usually at the minimum a audio codec stream and video codec stream.
Try
ffprobe foo.heic
to find out.
-
Ok, should have searched. Our FFmpeg is likely too old to handle heic, though you can test. Paul did build a newer one for Qt6, I could do the same but due to dependencies and what is needed, not excited about doing it.
I see the recommended tool is libheif, which should include heif-convert to convert to jpg or png. I'll see if it easily builds.
No it depends on libx265, which I don't think we have a port of and when I looked at it some time back, IIRC, it used some weird build system. A new enough FFmpeg is likely the best hope
Meanwhile please run ffprobe on one of your heic files and post the output, depending on the codec, might be able to build a decoder.
Edit: perhaps also post an example picture using heic if not too big, likely have to zip it to post.
-
Hello Neil
About "Converseen_0-11-0-0.zip (https://hobbes.nmsu.edu/download/pub/os2/apps/graphics/convert/Converseen_0-11-0-0.zip)", I can load the program, but I need further testing.
yum whatprovides raw_r23*
Gives me that both libraw are on netlabs-exp
- LibRaw-0.21.1-2.oc00.pentium4
- libraw-0.21.1-1.oc00.pentium4
I made a mistake with the readme and point it to libraw (lowercase) I think.
libzip-1.10.1-1.oc00.pentium4 (ZIP5.DLL) also shows on netlabs-exp
PMDLL works here and I can see the DLLs it requires.
Let me know if you make it load, and if it works for what you need Neil.
Regards
-
::) found following:
https://stackoverflow.com/questions/54395735/how-to-work-with-heic-image-file-types-in-python