Conversion not working


#1

I have reviewed the log file but I am not sure why it is failing to convert the video file. Below you will see a partial c/p of the log file. I did not include the part where it extract image for thumbnail since it had no problem creating thumbnails from the video file.

Here are the details about my server ffmpeg

#ffmpeg
ffmpeg version 2.6.8 Copyright © 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/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 --param=ssp-buffer-size=4 -m64 -mtune=generic’ --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder

And the logs (I did not included the part where it created thumbnails image since it had no issue creating those but if you need the whole logs, let me know and I will be glad to post the rest of the log.)

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

File to be converted

Initializing File 155354104288a2c.mp4 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 > !155354104288a2c.mp4

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

Getting Arguments

Filename : 155354104288a2c.mp4
File directory : 2019/03/25
Log file : /home/proscoops/public_html/files/logs/2019/03/25/155354104288a2c.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 : 500000
normal_res :
high_res :
max_video_duration : 320
resize : max
outputPath : 2019/03/25/
cb_combo_res : no
gen_240 : yes
gen_360 : yes
gen_480 : yes
gen_720 :
gen_1080 :

Starting Conversion

Started on 2019-03-25 14:10:47 - 2019 Mar 25

Checking File…
File : /home/proscoops/public_html/files/conversion_queue/155354104288a2c.mp4

File Exists

Yes

Preparing file…

format : mov,mp4,m4a,3gp,3g2,mj2
duration : 60.1
size : 5510872
bitrate : 733621
video_width : 640
video_height : 360
video_wh_ratio : 1.7777777777778
video_codec : h264
video_rate : 24
video_bitrate : 612177
video_color : N/A
audio_codec : aac
audio_bitrate : 65075
audio_rate : 22050
audio_channels : 2
path : /home/proscoops/public_html/files/conversion_queue/155354104288a2c.mp4
rotation : 0

Thumbs Generation

Starting

Thumbs Files


#2

One thing I noticed in the log where it state “Preparing file…” then nothing about conversation and “Thumbs Generation” is next in the log


#3

List of my ffmpeg encoders

#ffmpeg -encoders
ffmpeg version 2.6.8 Copyright © 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/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 --param=ssp-buffer-size=4 -m64 -mtune=generic’ --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Encoders:
V… = Video
A… = Audio
S… = Subtitle
.F… = Frame-level multithreading
…S… = Slice-level multithreading
…X… = Codec is experimental
…B. = Supports draw_horiz_band
…D = Supports direct rendering method 1

V… a64multi Multicolor charset for Commodore 64 (codec a64_multi)
V… a64multi5 Multicolor charset for Commodore 64, extended with 5th color (colram) (codec a64_multi5)
V… alias_pix Alias/Wavefront PIX image
V… amv AMV Video
V… asv1 ASUS V1
V… asv2 ASUS V2
V… avrp Avid 1:1 10-bit RGB Packer
V…X… avui Avid Meridien Uncompressed
V… ayuv Uncompressed packed MS 4:4:4:4
V… bmp BMP (Windows and OS/2 bitmap)
V… cinepak Cinepak / CVID
V… cljr Cirrus Logic AccuPak
V… libschroedinger libschroedinger Dirac 2.2 (codec dirac)
V.S… dnxhd VC3/DNxHD
V… dpx DPX (Digital Picture Exchange) image
VFS… dvvideo DV (Digital Video)
V.S… ffv1 FFmpeg video codec #1
VF… ffvhuff Huffyuv FFmpeg variant
V… flashsv Flash Screen Video
V… flashsv2 Flash Screen Video Version 2
V… flv FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (codec flv1)
V… gif GIF (Graphics Interchange Format)
V… h261 H.261
V… h263 H.263 / H.263-1996
V.S… h263p H.263+ / H.263-1998 / H.263 version 2
V… libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
V… libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
V… libx265 libx265 H.265 / HEVC (codec hevc)
VF… huffyuv Huffyuv / HuffYUV
V…X… jpeg2000 JPEG 2000
VF… libopenjpeg OpenJPEG JPEG 2000 (codec jpeg2000)
VF… jpegls JPEG-LS
VF… ljpeg Lossless JPEG
VFS… mjpeg MJPEG (Motion JPEG)
V.S… mpeg1video MPEG-1 video
V.S… mpeg2video MPEG-2 video
V.S… mpeg4 MPEG-4 part 2
V… libxvid libxvidcore MPEG-4 part 2 (codec mpeg4)
V… msmpeg4v2 MPEG-4 part 2 Microsoft variant version 2
V… msmpeg4 MPEG-4 part 2 Microsoft variant version 3 (codec msmpeg4v3)
V… msvideo1 Microsoft Video-1
V… pam PAM (Portable AnyMap) image
V… pbm PBM (Portable BitMap) image
V… pcx PC Paintbrush PCX image
V… pgm PGM (Portable GrayMap) image
V… pgmyuv PGMYUV (Portable GrayMap YUV) image
VF… png PNG (Portable Network Graphics) image
V… ppm PPM (Portable PixelMap) image
VF… prores Apple ProRes
VF… prores_aw Apple ProRes (codec prores)
V.S… prores_ks Apple ProRes (iCodec Pro) (codec prores)
V… qtrle QuickTime Animation (RLE) video
V… r10k AJA Kona 10-bit RGB Codec
V… r210 Uncompressed RGB 10-bit
V… rawvideo raw video
V… roqvideo id RoQ video (codec roq)
V… rv10 RealVideo 1.0
V… rv20 RealVideo 2.0
V… sgi SGI image
V… snow Snow
V… sunrast Sun Rasterfile image
V… svq1 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
V… targa Truevision Targa image
V… libtheora libtheora Theora (codec theora)
VF… tiff TIFF image
VF… utvideo Ut Video
V… v210 Uncompressed 4:2:2 10-bit
V… v308 Uncompressed packed 4:4:4
V… v408 Uncompressed packed QT 4:4:4:4
V… v410 Uncompressed 4:4:4 10-bit
V… wmv1 Windows Media Video 7
V… wmv2 Windows Media Video 8
V… xbm XBM (X BitMap) image
V… xface X-face image
V… xwd XWD (X Window Dump) image
V… y41p Uncompressed YUV 4:1:1 12-bit
V… yuv4 Uncompressed packed 4:2:0
VF… zlib LCL (LossLess Codec Library) ZLIB
V… zmbv Zip Motion Blocks Video
A…X… aac AAC (Advanced Audio Coding)
A… libfaac libfaac AAC (Advanced Audio Coding) (codec aac)
A… ac3 ATSC A/52A (AC-3)
A… ac3_fixed ATSC A/52A (AC-3) (codec ac3)
A… adpcm_adx SEGA CRI ADX ADPCM
A… g722 G.722 ADPCM (codec adpcm_g722)
A… g726 G.726 ADPCM (codec adpcm_g726)
A… adpcm_ima_qt ADPCM IMA QuickTime
A… adpcm_ima_wav ADPCM IMA WAV
A… adpcm_ms ADPCM Microsoft
A… adpcm_swf ADPCM Shockwave Flash
A… adpcm_yamaha ADPCM Yamaha
A… alac ALAC (Apple Lossless Audio Codec)
A… comfortnoise RFC 3389 comfort noise generator
A…X… dca DCA (DTS Coherent Acoustics) (codec dts)
A… eac3 ATSC A/52 E-AC-3
A… flac FLAC (Free Lossless Audio Codec)
A… g723_1 G.723.1
A… libgsm libgsm GSM (codec gsm)
A… libgsm_ms libgsm GSM Microsoft variant (codec gsm_ms)
A… mp2 MP2 (MPEG audio layer 2)
A… mp2fixed MP2 fixed point (MPEG audio layer 2) (codec mp2)
A… libmp3lame libmp3lame MP3 (MPEG audio layer 3) (codec mp3)
A… nellymoser Nellymoser Asao
A… libopus libopus Opus (codec opus)
A… pcm_alaw PCM A-law / G.711 A-law
A… pcm_f32be PCM 32-bit floating point big-endian
A… pcm_f32le PCM 32-bit floating point little-endian
A… pcm_f64be PCM 64-bit floating point big-endian
A… pcm_f64le PCM 64-bit floating point little-endian
A… pcm_mulaw PCM mu-law / G.711 mu-law
A… pcm_s16be PCM signed 16-bit big-endian
A… pcm_s16be_planar PCM signed 16-bit big-endian planar
A… pcm_s16le PCM signed 16-bit little-endian
A… pcm_s16le_planar PCM signed 16-bit little-endian planar
A… pcm_s24be PCM signed 24-bit big-endian
A… pcm_s24daud PCM D-Cinema audio signed 24-bit
A… pcm_s24le PCM signed 24-bit little-endian
A… pcm_s24le_planar PCM signed 24-bit little-endian planar
A… pcm_s32be PCM signed 32-bit big-endian
A… pcm_s32le PCM signed 32-bit little-endian
A… pcm_s32le_planar PCM signed 32-bit little-endian planar
A… pcm_s8 PCM signed 8-bit
A… pcm_s8_planar PCM signed 8-bit planar
A… pcm_u16be PCM unsigned 16-bit big-endian
A… pcm_u16le PCM unsigned 16-bit little-endian
A… pcm_u24be PCM unsigned 24-bit big-endian
A… pcm_u24le PCM unsigned 24-bit little-endian
A… pcm_u32be PCM unsigned 32-bit big-endian
A… pcm_u32le PCM unsigned 32-bit little-endian
A… pcm_u8 PCM unsigned 8-bit
A… real_144 RealAudio 1.0 (14.4K) (codec ra_144)
A… roq_dpcm id RoQ DPCM
A…X… s302m SMPTE 302M
A…X… sonic Sonic
A…X… sonicls Sonic lossless
A… libspeex libspeex Speex (codec speex)
A… tta TTA (True Audio)
A…X… vorbis Vorbis
A… libvorbis libvorbis (codec vorbis)
A… wavpack WavPack
A… wmav1 Windows Media Audio 1
A… wmav2 Windows Media Audio 2
S… ass ASS (Advanced SubStation Alpha) subtitle
S… dvbsub DVB subtitles (codec dvb_subtitle)
S… dvdsub DVD subtitles (codec dvd_subtitle)
S… mov_text 3GPP Timed Text subtitle
S… ssa SSA (SubStation Alpha) subtitle
S… srt SubRip subtitle (codec subrip)
S… subrip SubRip subtitle
S… webvtt WebVTT subtitle
S… xsub DivX subtitles (XSUB)


#4

I think I managed to fix it by replacing libfdk_aac with libfaac in the audio setting of video conversion. Is this allowed or I still should try to make ffmpeg use libfdk_aac instead?


#5

ilbfaac encoder will have issues on some devices, you should try to make it work with libfdk_aac for best results.


#6

Thank you for the advice. I will try to make it work with ibfdk_aac instead.


#7

I was able to get it working :slight_smile: