Hi Eva,
not really understand what you means "Transparent videos are not currently supported on Native out of the box".
Actually, the video i tried to convert via using convert.sh was brought from a template market and it should be already in alpha channel.
Here is the url for the orignal video brought from the template market.
https://www.dropbox.com/s/jrq7mkg8yf9i4zp/T-Rex010.mov?dl=0
I did test run the convert.sh with the original video but still receiving the same error. Therefore i tried convert it to the H246.mp4 and the result still the same.
The problem is why i keep receive no such file or directory whenever i tried run the convert.sh
Here is the Command line i used
sh convert.sh ~/Desktop/T-Rex010.mov ~/Desktop/test.mp4
The output result:
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 15 2013 10:56:46 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --arch=x86_64 --enable-runtime-cpudetect
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
: No such file or directory
DONE **ERROR** 0
Hi Eva,
I referring to the execution of the convert.sh as show as the screenshot below which is below the overlay videos document from this url: http://www.wikitude.com/external/doc/documentation/latest/studio/workingwithvideos.html?&_ga=2.248505799.1920788039.1515552044-1010125088.1510027232#overlayalpha
So you means the file convert.sh which is inside the SDK folder/tools/video/mac_osx is not belong and part of to the Wikitude SDK?
Hi Eva,
I placed the whole SDK folder and the video file at the desktop as the screenshot below.
Then, i open the terminal and change the path to the "wikitude_sdk/Tools/Video/mac_osx" and i can get the convert.sh and ffmpeg file when i call ls in the terminal. After that, i tried call the command
'sh convert.sh ~/Desktop/T-Rex010.mov ~/Desktop/T-Rex-output.mp4' and i get an error 'No such file or directory' as the screenshot below.
Is there anything goes wrong with all the steps above i show?
Hi Eva,
Here is another test i did. i placed the video file in the same folder of the convert.sh and tried to execute the command line but the result still the same.
Hi Alex,
looking at the convert.sh script, I believe the proper way to call it is actually:
sh convert.sh -i <input_video> -o <output_video>
So I believe our documentation is actually wrong on this. Would you mind trying with the command I posted and letting me know whether it works or not?
- Daniel
Hi Daniel,
Thanks you for your help and the script you given is working for me.
alex soh
Hi Team,
I trying to convert a video to a video with alpha channel but i keep receiving an error about no such file as below when i tried to run the convert.sh. I placed my original video at my desktop. I even tried place the video on the same folder of the convert.sh and i still get the same error.
The SDK i used was downloaded from this url:
https://cdn.wikitude.com/sdk/7_1_0/WikitudeSDK_NativeAPI_iOS_7-1-0_2017_09_20_17_47_53.zip
My Command Line:
sh convert.sh ~/Desktop/T-Rex010.mp4 ~/Desktop/abc.mp4
The Output i get after run the command line above
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 15 2013 10:56:46 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --arch=x86_64 --enable-runtime-cpudetect
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
: No such file or directory
Any idea about how to solve this issue?