Video conversion failing

Hi. I am running CB 4.0, RC1, REV 4881 on Centos 7. Files upload fine, but the conversion sits at processing and never changes and the log shows that it failed, but i can not seem to find why. Log is below. Any help would be greatly appreciated.

Pre-Check Configurations

==========================================

File to be converted

	Initializing File <strong>15868905548a7e1.mp4</strong> and pre checking configurations...

System hardware Information

	Unable log System hardware information, plaese install "lshw" 

Temporary Uploading

	File Uploaded to Temp directory successfully and video conversion file is being executed !

Video Conversion File Execution

	Video Converson File executed successfully with Target File > !15868905548a7e1.wmv

==========================================

Starting Conversion Log

==========================================

Getting Arguments

	Filename : 15868905548a7e1.wmv

File directory : 2020/04/14
Log file : /var/www/html/files/logs/2020/04/14/15868905548a7e1.log

Conversion queue

	Getting the file information from the queue for conversion

Conversion queue

	File has been moved from Temporary dir to Conversion Queue

Parsing FFmpeg Configurations

	<strong>use_video_rate</strong> : 1

use_video_bit_rate : 1
use_audio_rate : 1
use_audio_bit_rate : 1
use_audio_codec : 1
use_video_codec : 1
format : mp4
video_codec : libx264
audio_codec : libfdk_aac
audio_rate : 22050
audio_bitrate : 128000
video_rate : 25
video_bitrate : 512000
video_bitrate_hd : 500000
normal_res :
high_res :
max_video_duration : 320
resize : max
outputPath : 2020/04/14/
cb_combo_res : no
gen_240 : yes
gen_360 : yes
gen_480 : yes
gen_720 :
gen_1080 :

Starting Conversion

	Started on 2020-04-14 14:56:06 - 2020 Apr 14

Checking File…
File : /var/www/html/files/conversion_queue/15868905548a7e1.wmv

File Exists

	Yes

Preparing file…

	<strong>format</strong> : asf

duration : 30.09
size : 26246026
bitrate : 6977310
video_width : 1280
video_height : 720
video_wh_ratio : 1.7777777777778
video_codec : vc1
video_rate : 29.97002997003
video_bitrate : 5942130
video_color : N/A
audio_codec : wmav2
audio_bitrate : 192040
audio_rate : 44100
audio_channels : 2
path : /var/www/html/files/conversion_queue/15868905548a7e1.wmv
rotation : 0

Thumbs Generation

	Starting

Thumbs Files

Command : /usr/bin/ffmpeg -ss 00:00:07 -i /var/www/html/files/conversion_queue/15868905548a7e1.wmv -an -r 1 -y -f image2 -vframes 1 /var/www/html/files/thumbs/2020/04/14/15868905548a7e1-original-1.jpg

OutPut : ffmpeg version 3.4.7 Copyright © 2000-2019 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic’ --extra-ldflags=’-Wl,-z,relro ’ --extra-cflags=’ ’ --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from ‘/var/www/html/files/conversion_queue/15868905548a7e1.wmv’:
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 192 kb/s
Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
Stream mapping:
Stream #0:1 -> #0:0 (vc1 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0x1223aa0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to ‘/var/www/html/files/thumbs/2020/04/14/15868905548a7e1-original-1.jpg’:
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
encoder : Lavf57.83.100
Stream #0:0(eng): Video: mjpeg, yuvj420p(pc), 1280x720, q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc
Metadata:
encoder : Lavc57.107.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
frame= 1 fps=0.0 q=6.8 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=1.23x
video:84kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Response : /var/www/html/files/thumbs/2020/04/14/15868905548a7e1-768x432-5.jpg
====== End : Thumbs Generation =======

Conversion Completed

Time Took : 19.3569 seconds

conversion_status : failed

Hi,
read the following guide: https://clipbucket.com/docs/how-to-fix-video-conversion-problem/
In my opinion it’s an audio codec problem, but update ffmpeg to the latest version, check video and audio codec. If you don’t solve it try changing the codecs with alternatives from the administration

1 Like

Thanks. I will look into that. Would you happen to know of a good guide for installing FFMpeg on centos 7?

I have never had success in any install until I changed the audio codec to libfaac. Cannot say for v4.0, as I have not used that new of version but never hurts to check if this works for you. Cheers.

I prefer Ubuntu, especially the Debian mom :heart:

I recommend using stable version ClipBucket 4.1 until the release of the new version ClipBucket 4.2

Thanks for the replies…

I got the conversion working with 4.1 stable had to change the audio codec to libmp3lame and it works. Files are converted and moved into the correct folders. Now the issue is the videos never show up on the site. I looked in the DB and there is no entry for the video in the DB. The video table is empty and i can not find any errors in the MySQL logs.

Thanks for any help.

Regards,

I remember that during the update it happened, but if I am not mistaken, I had wrong the update procedure. Try to repeat the update: