Cannot convert SD and HD files: conversion_status : failed


#1

Hi
After I upload the video on clipbucket, I can see the thumbnails but when I click on the video, I get “An error occurred while loading this video…”

Here are the logs, I don’t know why conversation fails at the end:
### Raw Conversion Log

==========================================
Pre-Check Configurations
==========================================

File to be converted
--------------------
Initializing File  **15530555243517f.mp4**  and pre checking configurations...

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 > !15530555243517f.mkv

==========================================
Starting Conversion Log
==========================================

Getting Arguments
-----------------
Filename : 15530555243517f.mkv
File directory : 2019/03/19
Log file : /home/http/clipbucket/upload/files/logs/2019/03/19/15530555243517f.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
-----------------------------
**use_video_rate**  : 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**  : 300000
**video_bitrate_hd**  : 4096000
**normal_res**  : 
**high_res**  : 
**max_video_duration**  : 320
**resize**  : max
**outputPath**  : 2019/03/19/
**cb_combo_res**  : no
**gen_240**  : yes
**gen_360**  : yes
**gen_480**  : yes
**gen_720**  : 
**gen_1080**  : 

Starting Conversion
-------------------
Started on 2019-03-19 21:18:49 - 2019 Mar 19

Checking File...
File : /home/http/clipbucket/upload/files/conversion_queue/15530555243517f.mkv

File Exists
-----------
Yes

Preparing file...
-----------------
**format**  : matroska,webm
**duration**  : 2768.25
**size**  : 287429482
**bitrate**  : 830646
**video_width**  : 1280
**video_height**  : 720
**video_wh_ratio**  : 1.7777777777778
**video_codec**  : hevc
**video_rate**  : 23.976023976024
**video_bitrate**  : 0
**video_color**  : N/A
**audio_codec**  : aac
**audio_bitrate**  : 0
**audio_rate**  : 44100
**audio_channels**  : 2
**path**  : /home/http/clipbucket/upload/files/conversion_queue/15530555243517f.mkv
**rotation**  : 0

Thumbs Generation
-----------------
Starting

Thumbs Files
------------

====== End : Thumbs Generation ======= 

Conversion Ouput
----------------

=======Low Resolution Conversion======= 

Sarting : Generating Low resolution video @ 2019-03-19 21:18:59 

Converting Video SD File 

Command : /usr/local/bin/ffmpeg -i /home/http/clipbucket/upload/files/conversion_queue/15530555243517f.mkv -vcodec libx264 -acodec aac -ac 2 -s 1280x720 -preset medium -f mp4 -vb 300000 -ab 128000 -r 25 -ar 22050 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 

outputFile : /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 

Sarting : MP4Box Conversion for SD 

MP4Box Command : /usr/local/bin/MP4Box -inter 0.5 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 -tmp /home/http/clipbucket/upload/files/temp 

Conversion Status : Successful @ 2019-03-19 21:18:59 

OutPut Details
--------------
**format**  : 
**duration**  : 0
**size**  : 0
**bitrate**  : 0
**video_width**  : 0
**video_height**  : 0
**video_wh_ratio**  : N/A
**video_codec**  : 
**video_rate**  : 
**video_bitrate**  : 0
**video_color**  : N/A
**audio_codec**  : 
**audio_bitrate**  : 0
**audio_rate**  : 0
**audio_channels**  : 0
**path**  : /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4
**rotation**  : 0

Conversion Ouput
----------------

=======Low Resolution Conversion======= 

Sarting : Generating Low resolution video @ 2019-03-19 21:18:59 

Converting Video SD File 

Command : /usr/local/bin/ffmpeg -i /home/http/clipbucket/upload/files/conversion_queue/15530555243517f.mkv -vcodec libx264 -acodec aac -ac 2 -s 1280x720 -preset medium -f mp4 -vb 300000 -ab 128000 -r 25 -ar 22050 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 

outputFile : /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 

Sarting : MP4Box Conversion for SD 

MP4Box Command : /usr/local/bin/MP4Box -inter 0.5 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-sd.mp4 -tmp /home/http/clipbucket/upload/files/temp 

Conversion Status : Successful @ 2019-03-19 21:18:59 

=======High Resolution Conversion======= 

Sarting : Generating high resolution video @ 2019-03-19 21:18:59 

Converting Video HD File 

Command : /usr/local/bin/ffmpeg -i /home/http/clipbucket/upload/files/conversion_queue/15530555243517f.mkv -vcodec libx264 -acodec aac -ac 2 -s 1280x720 -preset slow -f mp4 -vb 4096000 -ab 128000 -r 25 -ar 22050 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-hd.mp4 > /home/http/clipbucket/upload/files/temp/15530555243517f.tmp 

Sarting : MP4Box Conversion for HD 

MP4Box Command : /usr/local/bin/MP4Box -inter 0.5 /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-hd.mp4 -tmp /home/http/clipbucket/upload/files/temp 

Conversion Status : Successful @ 2019-03-19 21:19:00 

OutPut Details
--------------
**format**  : 
**duration**  : 0
**size**  : 0
**bitrate**  : 0
**video_width**  : 0
**video_height**  : 0
**video_wh_ratio**  : N/A
**video_codec**  : 
**video_rate**  : 
**video_bitrate**  : 0
**video_color**  : N/A
**audio_codec**  : 
**audio_bitrate**  : 0
**audio_rate**  : 0
**audio_channels**  : 0
**path**  : /home/http/clipbucket/upload/files/videos/2019/03/19/15530555243517f-hd.mp4
**rotation**  : 0

Conversion Completed
--------------------

====== End : Thumbs Generation ======= 

Time Took : 10.5444 seconds 

conversion_status : failed

#2

Hi, almost certainly the problem is ffmpeg

https://clipbucket.com/docs/how-to-fix-video-conversion-problem/

Try installing the latest version of ffmpeg from the official repositories


#3

thanks upgrading ffmpeg solved the problem


#4