Reposted Stardreamer's discussion.
I want to upload videos but the conversion mechanism isn't functioning. After upload an image of the video appears but the video length shows 00.00 and when one clicks play nothing happens. It says "Video isn't published because video conversion failed, edit video to fix the issue." The videos are in the storage, yet wait in queue it appears. Please help point me in the right direction. Attached are screen shots of the database.
Comments
FFMPEG LOG FILE IMAGES
Here is a letter from TMD Hosting support - they were very kind but couldn't help. Its a UNA issue they say. Help! I must have configured something wrong but I don't know what it could possibly be.
Hello,
Thank you for your patience up to now.
We have thoroughly reviewed your concern and would like to inform you that we were able to recreate the issue from our end.
We have tried to resolve the issue which you are currently experiencing with your website but regrettably, all attempts were unsuccessful.
However, according to our investigations, the UNA script uses the build-in ffmpeg and not the server's one, therefore the issue is related directly to the bug of UNA cms since the server meets all requirements as could be verified via Dashboard - Server Audit
The executable ffmpeg file is located in ....
Here is the video conversion log:
-------------------------------------------------------------------------
We would recommend you contact the vendor and developers of the UNA cms who should be able to review this and provide you with additional information, as unfortunately, this is out of our area of expertise as a hosting provider.
Thank you for understanding and do not hesitate to contact us again if we could be of any further assistance!
Best Regards,
Roy Herman
Technical Support Team
filter failed: applyFilter_Mp4
---
/home/canadaco/public_html/plugins/ffmpeg/ffmpeg.exe -y -i '/home/canadaco/public_html/tmp/33444snake_reptile_animal_crawler_creepy_681.mp4' -vframes 1 -f image2 -an '/home/canadaco/public_html/tmp/95402.jpg' 2>&1
ffmpeg version 4.4-static /ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/canadaco/public_html/tmp/33444snake_reptile_animal_crawler_creepy_681.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.63.104
Duration: 00:00:12.03, start: 0.000000, bitrate: 3862 kb/s
Stream #0:0(jpn): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3727 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7bd9580] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to '/home/canadaco/public_html/tmp/95402.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.76.100
Stream #0:0(jpn): Video: mjpeg, yuvj420p(pc, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : Lavc58.134.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 1 fps=0.0 q=6.8 size=N/A time=00:00:00.03 bitrate=N/A dup=1 drop=0 speed=0.412x
frame= 1 fps=0.0 q=6.8 Lsize=N/A time=00:00:00.03 bitrate=N/A dup=1 drop=1 speed=0.255x
video:65kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
---
/home/canadaco/public_html/plugins/ffmpeg/ffmpeg.exe -y -i '/home/canadaco/public_html/tmp/33444snake_reptile_animal_crawler_creepy_681.mp4' -strict experimental -vcodec libx264 -s 854x480 -b:v 512k -movflags +faststart -acodec aac -ar 44100 -b:a 128k -pix_fmt yuv420p '/home/canadaco/public_html/tmp/98489.mp4' 2>&1
ffmpeg version 4.4-static /ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/canadaco/public_html/tmp/33444snake_reptile_animal_crawler_creepy_681.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.63.104
Duration: 00:00:12.03, start: 0.000000, bitrate: 3862 kb/s
Stream #0:0(jpn): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3727 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x5a16200] using SAR=1280/1281
[libx264 @ 0x5a16200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x5a1c9c0] Qavg: 27915.875
[aac @ 0x5a1c9c0] 2 frames left in the queue on closing
Conversion failed!
UPDATE FOR FUTURE PEOPLE WHO WANDER HERE My apparent solution was as simple as a toggle in the developer app that needed de-activation - Remote video transcoding (requires special setup)
Thanks to Will and Leonid for their assistance!