Closed laryan61 closed 4 years ago
Does using the CUVID decoder fix this? Think this error stems from mixing software decoder and hardware encoder
hwaccels = cuvid
hwaccel-decoders = h264_cuvid
I added your suggestion to my ini , still getting same error. I've attached the most current log file for your review. sma.log.txt
Following what I found from this white paper, https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/
Using the same commandline your script created and modified the following.
removed: -vf scale_npp=1280:720 added: -hwaccel cuvid -c:v h264_cuvid -resize 1280x720
/home/xbmc/bin/ffmpeg -hwaccel cuvid -c:v h264_cuvid -resize 1280x720 -probesize 5000000 -analyzeduration 100m -i /media/data1/dl/Video.File.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.tv.mkv -vcodec h264_nvenc -map 0:0 -field_order progressive -crf 23 -maxrate:v 4000k -bufsize 12000k -metadata:s:v BPS=4000000 -metadata:s:v BPS-eng=4000000 -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 BPS=256000 -metadata:s:a:0 BPS-eng=256000 -metadata:s:a:0 title=Stereo -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:a:1 ac3 -map 0:1 -ac:a:1 2 -b:a:1 256k -metadata:s:a:1 BPS=256000 -metadata:s:a:1 BPS-eng=256000 -filter:a:1 volume=5dB -metadata:s:a:1 title=Stereo -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y /media/data1/work/Video.File.tv.rokuize
It now processes the video file and completes in 2m 7s. The fastest time for this video file.
changed in my autoProcess.ini file following. from: preopts = -probesize,5000000,-analyzeduration,100m to: preopts = -hwaccel,cuvid,-c:v,h264_cuvid,-resize,1280x720,-probesize,5000000,-analyzeduration,100m
and left max-width = 1280 (as it was) Seems max-width has to have a value and can't be left blank?
With the changes above, your manual.py script completes without errors. Shouldn't the "-hwaccel,cuvid,-c:v,h264_cuvid" already added to the ffmpeg commandline with my settings in autoProcess.ini?
I've attached my current config file. autoProcess.ini.txt
At work so limited reply from phone
max-width is an integer value so it needs 0 if you want to disable it but for test this issue don’t disable
Your hwaccel-decoders should be h264_cuvid not h264_nvenc. That should then include the options that are being added in preopts and you should be able to remove them from preopts
Made the changes you suggested. Still getting the same error in the logs. Which are attached. What other option/configuration do I have selected that's keeping the hwacels/hwaccel-decoders from being added to preopts in the commandline?
[Converter] ffmpeg = ffmpeg ffprobe = ffprobe threads = 0 hwaccels = cuvid hwaccel-decoders = h264_cuvid output-directory = /media/data1/work output-format = mp4 output-extension = mp4 temp-extension = rokuize minimum-size = 50 ignored-extensions = nfo, ds_store copy-to = move-to = /media/data1/process delete-original = True sort-streams = True process-same-extensions = False force-convert = True post-process = False preopts = -probesize,5000000,-analyzeduration,100m postopts =
[Permissions] chmod = 0644 uid = -1 gid = -1
[Metadata] relocate-moov = True full-path-guess = True tag = True tag-language = eng download-artwork = False sanitize-disposition =
[Video] codec = h264_nvenc max-bitrate = 4000 crf = 23 crf-profiles = 0:23:4000k:12000k max-width = 1280 profile = max-level = 0.0 pix-fmt = yuv420p filter = force-filter = False
[HDR] space = bt2020nc transfer = smpte2084 primaries = bt2020 filter = force-filter = False sma.log.txt
Hm so it would appear the script isn't recognizing cuvid/h264_cuvid as a valid set of decoders for your build of FFMPEG
The way this check works is that it pulls the data from the ffmpeg -decoders
command and runs a regex against that list first for cuvid then checks if the source codec (h264) and the decoders (cuvid) have any matching pairs (in this case h264_cuvid).
If you run the ffmepg -decoders command can you post the output? That appears to be where the issue lies My FFMPEG build has this line
V..... h264_cuvid Nvidia CUVID H264 decoder (codec h264)
and the code gets injected like its supposed to
When I manually add to preopts = -hwaccel,cuvid,-c:v,h264_cuvid,-resize,1280x720,-probesize,5000000,-analyzeduration,100m. It runs just fine without any errors and it remuxes the files very fast.
It looks like its listed in the codecs.
xbmc@converter:~$ ffmpeg -codecs
ffmpeg version git-2020-06-22-44ce333 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --pkg-config-flags=--static --prefix=/home/xbmc/ffmpeg-build-static-binaries --bindir=/home/xbmc/ffmpeg-build-static-binaries/bin --extra-cflags='-I /home/xbmc/ffmpeg-build-static-binaries/include -I /usr/local/cuda/include/' --extra-ldflags='-L /home/xbmc/ffmpeg-build-static-binaries/lib -L /usr/local/cuda/lib64/' --extra-libs=-lpthread --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libnpp --enable-gpl --enable-libass --enable-libfdk-aac --enable-vaapi --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libaom --enable-nvenc
libavutil 56. 55.100 / 56. 55.100
libavcodec 58. 93.100 / 58. 93.100
libavformat 58. 47.100 / 58. 47.100
libavdevice 58. 11.100 / 58. 11.100
libavfilter 7. 86.100 / 7. 86.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Codecs:
D..... = Decoding supported
.E.... = Encoding supported
..V... = Video codec
..A... = Audio codec
..S... = Subtitle codec
...I.. = Intra frame-only codec
....L. = Lossy compression
.....S = Lossless compression
-------
D.VI.S 012v Uncompressed 4:2:2 10-bit
D.V.L. 4xm 4X Movie
D.VI.S 8bps QuickTime 8BPS video
.EVIL. a64_multi Multicolor charset for Commodore 64 (encoders: a64multi )
.EVIL. a64_multi5 Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )
D.V..S aasc Autodesk RLE
D.V.L. agm Amuse Graphics Movie
D.VIL. aic Apple Intermediate Codec
DEVI.S alias_pix Alias/Wavefront PIX image
DEVIL. amv AMV Video
D.V.L. anm Deluxe Paint Animation
D.V.L. ansi ASCII/ANSI art
DEV..S apng APNG (Animated Portable Network Graphics) image
D.V.L. arbc Gryphon's Anim Compressor
DEVIL. asv1 ASUS V1
DEVIL. asv2 ASUS V2
D.VIL. aura Auravision AURA
D.VIL. aura2 Auravision Aura 2
DEV.L. av1 Alliance for Open Media AV1 (decoders: libaom-av1 ) (encoders: libaom-av1 )
D.V... avrn Avid AVI Codec
DEVI.S avrp Avid 1:1 10-bit RGB Packer
D.V.L. avs AVS (Audio Video Standard) video
..V.L. avs2 AVS2-P2/IEEE1857.4
DEVI.S avui Avid Meridien Uncompressed
DEVI.S ayuv Uncompressed packed MS 4:4:4:4
D.V.L. bethsoftvid Bethesda VID video
D.V.L. bfi Brute Force & Ignorance
D.V.L. binkvideo Bink video
D.VI.. bintext Binary text
D.VI.S bitpacked Bitpacked
DEVI.S bmp BMP (Windows and OS/2 bitmap)
D.V..S bmv_video Discworld II BMV video
D.VI.S brender_pix BRender PIX image
D.V.L. c93 Interplay C93
D.V.L. cavs Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
D.V.L. cdgraphics CD Graphics video
D.V..S cdtoons CDToons video
D.VIL. cdxl Commodore CDXL video
D.V.L. cfhd Cineform HD
DEV.L. cinepak Cinepak
D.V.L. clearvideo Iterated Systems ClearVideo
DEVIL. cljr Cirrus Logic AccuPak
D.VI.S cllc Canopus Lossless Codec
D.V.L. cmv Electronic Arts CMV video (decoders: eacmv )
D.V... cpia CPiA video format
D.V..S cscd CamStudio (decoders: camstudio )
D.VIL. cyuv Creative YUV (CYUV)
..V.LS daala Daala
D.VILS dds DirectDraw Surface image decoder
D.V.L. dfa Chronomaster DFA
DEV.LS dirac Dirac (encoders: vc2 )
DEVIL. dnxhd VC3/DNxHD
DEVI.S dpx DPX (Digital Picture Exchange) image
D.V.L. dsicinvideo Delphine Software International CIN video
DEVIL. dvvideo DV (Digital Video)
D.V..S dxa Feeble Files/ScummVM DXA
D.VI.S dxtory Dxtory
D.VIL. dxv Resolume DXV
D.V.L. escape124 Escape 124
D.V.L. escape130 Escape 130
D.VILS exr OpenEXR image
DEV..S ffv1 FFmpeg video codec #1
DEVI.S ffvhuff Huffyuv FFmpeg variant
D.V.L. fic Mirillis FIC
DEVI.S fits FITS (Flexible Image Transport System)
DEV..S flashsv Flash Screen Video v1
DEV.L. flashsv2 Flash Screen Video v2
D.V..S flic Autodesk Animator Flic video
DEV.L. flv1 FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (decoders: flv ) (encoders: flv )
D.V..S fmvc FM Screen Capture Codec
D.VI.S fraps Fraps
D.VI.S frwu Forward Uncompressed
D.V.L. g2m Go2Meeting
D.V.L. gdv Gremlin Digital Video
DEV..S gif CompuServe GIF (Graphics Interchange Format)
DEV.L. h261 H.261
**DEV.L. h263 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2 (decoders: h263 h263_v4l2m2m ) (encoders: h263 h263_v4l2m2m )**
D.V.L. h263i Intel H.263
DEV.L. h263p H.263+ / H.263-1998 / H.263 version 2
DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_cuvid ) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )
D.VIL. hap Vidvox Hap
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_cuvid ) (encoders: libx265 nvenc_hevc hevc_nvenc hevc_vaapi )
D.V.L. hnm4video HNM 4 video
D.VIL. hq_hqa Canopus HQ/HQA
D.VIL. hqx Canopus HQX
DEVI.S huffyuv HuffYUV
D.VI.S hymt HuffYUV MT
D.V.L. idcin id Quake II CIN video (decoders: idcinvideo )
D.VI.. idf iCEDraw text
D.V.L. iff_ilbm IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN (decoders: iff )
D.V.L. imm4 Infinity IMM4
D.V.L. imm5 Infinity IMM5
D.V.L. indeo2 Intel Indeo 2
D.V.L. indeo3 Intel Indeo 3
D.V.L. indeo4 Intel Indeo Video Interactive 4
D.V.L. indeo5 Intel Indeo Video Interactive 5
D.V.L. interplayvideo Interplay MVE video
DEVILS jpeg2000 JPEG 2000
DEVILS jpegls JPEG-LS
D.VIL. jv Bitmap Brothers JV video
D.V.L. kgv1 Kega Game Video
D.V.L. kmvc Karl Morton's video codec
D.VI.S lagarith Lagarith lossless
.EVI.S ljpeg Lossless JPEG
D.VI.S loco LOCO
D.V.L. lscr LEAD Screen Capture
D.VI.S m101 Matrox Uncompressed SD
D.V.L. mad Electronic Arts Madcow Video (decoders: eamad )
DEVI.S magicyuv MagicYUV video
D.VIL. mdec Sony PlayStation MDEC (Motion DECoder)
D.V.L. mimic Mimic
DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid ) (encoders: mjpeg mjpeg_vaapi )
D.VIL. mjpegb Apple MJPEG-B
D.V.L. mmvideo American Laser Games MM Video
D.V.L. motionpixels Motion Pixels video
DEV.L. mpeg1video MPEG-1 video (decoders: mpeg1video mpeg1_v4l2m2m mpeg1_cuvid )
DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid ) (encoders: mpeg2video mpeg2_vaapi )
DEV.L. mpeg4 MPEG-4 part 2 (decoders: mpeg4 mpeg4_v4l2m2m mpeg4_cuvid ) (encoders: mpeg4 mpeg4_v4l2m2m )
D.V.L. msa1 MS ATC Screen
D.VI.S mscc Mandsoft Screen Capture Codec
D.V.L. msmpeg4v1 MPEG-4 part 2 Microsoft variant version 1
DEV.L. msmpeg4v2 MPEG-4 part 2 Microsoft variant version 2
DEV.L. msmpeg4v3 MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
D.V..S msrle Microsoft RLE
D.V.L. mss1 MS Screen 1
D.VIL. mss2 MS Windows Media Video V9 Screen
DEV.L. msvideo1 Microsoft Video 1
D.VI.S mszh LCL (LossLess Codec Library) MSZH
D.V.L. mts2 MS Expression Encoder Screen
D.V.L. mv30 MidiVid 3.0
D.VIL. mvc1 Silicon Graphics Motion Video Compressor 1
D.VIL. mvc2 Silicon Graphics Motion Video Compressor 2
D.V.L. mvdv MidiVid VQ
D.VIL. mvha MidiVid Archive Codec
D.V..S mwsc MatchWare Screen Capture Codec
D.V.L. mxpeg Mobotix MxPEG video
D.VIL. notchlc NotchLC
D.V.L. nuv NuppelVideo/RTJPEG
D.V.L. paf_video Amazing Studio Packed Animation File Video
DEVI.S pam PAM (Portable AnyMap) image
DEVI.S pbm PBM (Portable BitMap) image
DEVI.S pcx PC Paintbrush PCX image
D.VI.S pfm PFM (Portable FloatMap) image
DEVI.S pgm PGM (Portable GrayMap) image
DEVI.S pgmyuv PGMYUV (Portable GrayMap YUV) image
D.VIL. pictor Pictor/PC Paint
D.VIL. pixlet Apple Pixlet
DEV..S png PNG (Portable Network Graphics) image
DEVI.S ppm PPM (Portable PixelMap) image
DEVIL. prores Apple ProRes (iCodec Pro) (encoders: prores prores_aw prores_ks )
D.VIL. prosumer Brooktree ProSumer Video
D.VI.S psd Photoshop PSD file
D.VIL. ptx V.Flash PTX image
D.VI.S qdraw Apple QuickDraw
D.V.L. qpeg Q-team QPEG
DEV..S qtrle QuickTime Animation (RLE) video
DEVI.S r10k AJA Kona 10-bit RGB Codec
DEVI.S r210 Uncompressed RGB 10-bit
D.V.L. rasc RemotelyAnywhere Screen Capture
DEVI.S rawvideo raw video
D.VIL. rl2 RL2 video
DEV.L. roq id RoQ video (decoders: roqvideo ) (encoders: roqvideo )
D.V.L. rpza QuickTime video (RPZA)
D.V..S rscc innoHeim/Rsupport Screen Capture Codec
DEV.L. rv10 RealVideo 1.0
DEV.L. rv20 RealVideo 2.0
D.V.L. rv30 RealVideo 3.0
D.V.L. rv40 RealVideo 4.0
D.V.L. sanm LucasArts SANM/SMUSH video
D.V.LS scpr ScreenPressor
D.V..S screenpresso Screenpresso
DEVI.S sgi SGI image
D.VI.S sgirle SGI RLE 8-bit
D.VI.S sheervideo BitJazz SheerVideo
D.V.L. smackvideo Smacker video (decoders: smackvid )
D.V.L. smc QuickTime Graphics (SMC)
D.V... smvjpeg Sigmatel Motion Video
DEV.LS snow Snow
D.VIL. sp5x Sunplus JPEG (SP5X)
D.VIL. speedhq NewTek SpeedHQ
D.VI.S srgc Screen Recorder Gold Codec
DEVI.S sunrast Sun Rasterfile image
..V..S svg Scalable Vector Graphics
DEV.L. svq1 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
D.V.L. svq3 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
DEVI.S targa Truevision Targa image
D.VI.S targa_y216 Pinnacle TARGA CineWave YUV16
D.V.L. tdsc TDSC
D.V.L. tgq Electronic Arts TGQ video (decoders: eatgq )
D.V.L. tgv Electronic Arts TGV video (decoders: eatgv )
DEV.L. theora Theora (encoders: libtheora )
D.VIL. thp Nintendo Gamecube THP video
D.V.L. tiertexseqvideo Tiertex Limited SEQ video
DEVI.S tiff TIFF image
D.VIL. tmv 8088flex TMV
D.V.L. tqi Electronic Arts TQI video (decoders: eatqi )
D.V.L. truemotion1 Duck TrueMotion 1.0
D.V.L. truemotion2 Duck TrueMotion 2.0
D.VIL. truemotion2rt Duck TrueMotion 2.0 Real Time
D.V..S tscc TechSmith Screen Capture Codec (decoders: camtasia )
D.V.L. tscc2 TechSmith Screen Codec 2
D.VIL. txd Renderware TXD (TeXture Dictionary) image
D.V.L. ulti IBM UltiMotion (decoders: ultimotion )
DEVI.S utvideo Ut Video
DEVI.S v210 Uncompressed 4:2:2 10-bit
D.VI.S v210x Uncompressed 4:2:2 10-bit
DEVI.S v308 Uncompressed packed 4:4:4
DEVI.S v408 Uncompressed packed QT 4:4:4:4
DEVI.S v410 Uncompressed 4:4:4 10-bit
D.V.L. vb Beam Software VB
D.VI.S vble VBLE Lossless Codec
D.V.L. vc1 SMPTE VC-1 (decoders: vc1 vc1_v4l2m2m vc1_cuvid )
D.V.L. vc1image Windows Media Video 9 Image v2
D.VIL. vcr1 ATI VCR1
D.VIL. vixl Miro VideoXL (decoders: xl )
D.V.L. vmdvideo Sierra VMD video
D.V..S vmnc VMware Screen Codec / VMware Video
D.V.L. vp3 On2 VP3
D.V.L. vp4 On2 VP4
D.V.L. vp5 On2 VP5
D.V.L. vp6 On2 VP6
D.V.L. vp6a On2 VP6 (Flash version, with alpha channel)
D.V.L. vp6f On2 VP6 (Flash version)
D.V.L. vp7 On2 VP7
DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid ) (encoders: libvpx vp8_v4l2m2m vp8_vaapi )
DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid ) (encoders: libvpx-vp9 vp9_vaapi )
D.V..S wcmv WinCAM Motion Video
D.VILS webp WebP
DEV.L. wmv1 Windows Media Video 7
DEV.L. wmv2 Windows Media Video 8
D.V.L. wmv3 Windows Media Video 9
D.V.L. wmv3image Windows Media Video 9 Image
D.VIL. wnv1 Winnov WNV1
DEV..S wrapped_avframe AVFrame to AVPacket passthrough
D.V.L. ws_vqa Westwood Studios VQA (Vector Quantized Animation) video (decoders: vqavideo )
D.V.L. xan_wc3 Wing Commander III / Xan
D.V.L. xan_wc4 Wing Commander IV / Xxan
D.VI.. xbin eXtended BINary text
DEVI.S xbm XBM (X BitMap) image
DEVIL. xface X-face image
D.VI.S xpm XPM (X PixMap) image
DEVI.S xwd XWD (X Window Dump) image
DEVI.S y41p Uncompressed YUV 4:1:1 12-bit
D.VI.S ylc YUY2 Lossless Codec
D.V.L. yop Psygnosis YOP Video
DEVI.S yuv4 Uncompressed packed 4:2:0
D.V..S zerocodec ZeroCodec Lossless Video
DEVI.S zlib LCL (LossLess Codec Library) ZLIB
DEV..S zmbv Zip Motion Blocks Video
..AIL. 4gv 4GV (Fourth Generation Vocoder)
D.AIL. 8svx_exp 8SVX exponential
D.AIL. 8svx_fib 8SVX fibonacci
DEAIL. aac AAC (Advanced Audio Coding) (decoders: aac aac_fixed libfdk_aac ) (encoders: aac libfdk_aac )
D.AIL. aac_latm AAC LATM (Advanced Audio Coding LATM syntax)
DEAIL. ac3 ATSC A/52A (AC-3) (decoders: ac3 ac3_fixed ) (encoders: ac3 ac3_fixed )
D.AIL. acelp.kelvin Sipro ACELP.KELVIN
D.AIL. adpcm_4xm ADPCM 4X Movie
DEAIL. adpcm_adx SEGA CRI ADX ADPCM
D.AIL. adpcm_afc ADPCM Nintendo Gamecube AFC
D.AIL. adpcm_agm ADPCM AmuseGraphics Movie AGM
D.AIL. adpcm_aica ADPCM Yamaha AICA
D.AIL. adpcm_argo ADPCM Argonaut Games
D.AIL. adpcm_ct ADPCM Creative Technology
D.AIL. adpcm_dtk ADPCM Nintendo Gamecube DTK
D.AIL. adpcm_ea ADPCM Electronic Arts
D.AIL. adpcm_ea_maxis_xa ADPCM Electronic Arts Maxis CDROM XA
D.AIL. adpcm_ea_r1 ADPCM Electronic Arts R1
D.AIL. adpcm_ea_r2 ADPCM Electronic Arts R2
D.AIL. adpcm_ea_r3 ADPCM Electronic Arts R3
D.AIL. adpcm_ea_xas ADPCM Electronic Arts XAS
DEAIL. adpcm_g722 G.722 ADPCM (decoders: g722 ) (encoders: g722 )
DEAIL. adpcm_g726 G.726 ADPCM (decoders: g726 ) (encoders: g726 )
DEAIL. adpcm_g726le G.726 ADPCM little-endian (decoders: g726le ) (encoders: g726le )
D.AIL. adpcm_ima_alp ADPCM IMA High Voltage Software ALP
D.AIL. adpcm_ima_amv ADPCM IMA AMV
D.AIL. adpcm_ima_apc ADPCM IMA CRYO APC
D.AIL. adpcm_ima_apm ADPCM IMA Ubisoft APM
D.AIL. adpcm_ima_cunning ADPCM IMA Cunning Developments
D.AIL. adpcm_ima_dat4 ADPCM IMA Eurocom DAT4
D.AIL. adpcm_ima_dk3 ADPCM IMA Duck DK3
D.AIL. adpcm_ima_dk4 ADPCM IMA Duck DK4
D.AIL. adpcm_ima_ea_eacs ADPCM IMA Electronic Arts EACS
D.AIL. adpcm_ima_ea_sead ADPCM IMA Electronic Arts SEAD
D.AIL. adpcm_ima_iss ADPCM IMA Funcom ISS
D.AIL. adpcm_ima_mtf ADPCM IMA Capcom's MT Framework
D.AIL. adpcm_ima_oki ADPCM IMA Dialogic OKI
DEAIL. adpcm_ima_qt ADPCM IMA QuickTime
D.AIL. adpcm_ima_rad ADPCM IMA Radical
D.AIL. adpcm_ima_smjpeg ADPCM IMA Loki SDL MJPEG
DEAIL. adpcm_ima_ssi ADPCM IMA Simon & Schuster Interactive
DEAIL. adpcm_ima_wav ADPCM IMA WAV
D.AIL. adpcm_ima_ws ADPCM IMA Westwood
DEAIL. adpcm_ms ADPCM Microsoft
D.AIL. adpcm_mtaf ADPCM MTAF
D.AIL. adpcm_psx ADPCM Playstation
D.AIL. adpcm_sbpro_2 ADPCM Sound Blaster Pro 2-bit
D.AIL. adpcm_sbpro_3 ADPCM Sound Blaster Pro 2.6-bit
D.AIL. adpcm_sbpro_4 ADPCM Sound Blaster Pro 4-bit
DEAIL. adpcm_swf ADPCM Shockwave Flash
D.AIL. adpcm_thp ADPCM Nintendo THP
D.AIL. adpcm_thp_le ADPCM Nintendo THP (Little-Endian)
D.AIL. adpcm_vima LucasArts VIMA audio
D.AIL. adpcm_xa ADPCM CDROM XA
DEAIL. adpcm_yamaha ADPCM Yamaha
D.AIL. adpcm_zork ADPCM Zork
DEAI.S alac ALAC (Apple Lossless Audio Codec)
D.AIL. amr_nb AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb )
D.AIL. amr_wb AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb )
D.AI.S ape Monkey's Audio
DEAIL. aptx aptX (Audio Processing Technology for Bluetooth)
DEAIL. aptx_hd aptX HD (Audio Processing Technology for Bluetooth)
D.AIL. atrac1 ATRAC1 (Adaptive TRansform Acoustic Coding)
D.AIL. atrac3 ATRAC3 (Adaptive TRansform Acoustic Coding 3)
D.AI.S atrac3al ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)
D.AIL. atrac3p ATRAC3+ (Adaptive TRansform Acoustic Coding 3+) (decoders: atrac3plus )
D.AI.S atrac3pal ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless) (decoders: atrac3plusal )
D.AIL. atrac9 ATRAC9 (Adaptive TRansform Acoustic Coding 9)
D.AIL. avc On2 Audio for Video Codec (decoders: on2avc )
D.AIL. binkaudio_dct Bink Audio (DCT)
D.AIL. binkaudio_rdft Bink Audio (RDFT)
D.AIL. bmv_audio Discworld II BMV audio
..AIL. celt Constrained Energy Lapped Transform (CELT)
..AIL. codec2 codec2 (very low bitrate speech codec)
DEAIL. comfortnoise RFC 3389 Comfort Noise
D.AIL. cook Cook / Cooker / Gecko (RealAudio G2)
D.AIL. derf_dpcm DPCM Xilam DERF
D.AIL. dolby_e Dolby E
D.AIL. dsd_lsbf DSD (Direct Stream Digital), least significant bit first
D.AIL. dsd_lsbf_planar DSD (Direct Stream Digital), least significant bit first, planar
D.AIL. dsd_msbf DSD (Direct Stream Digital), most significant bit first
D.AIL. dsd_msbf_planar DSD (Direct Stream Digital), most significant bit first, planar
D.AIL. dsicinaudio Delphine Software International CIN audio
D.AIL. dss_sp Digital Speech Standard - Standard Play mode (DSS SP)
D.AI.S dst DST (Direct Stream Transfer)
DEAILS dts DCA (DTS Coherent Acoustics) (decoders: dca ) (encoders: dca )
D.AIL. dvaudio DV audio
DEAIL. eac3 ATSC A/52B (AC-3, E-AC-3)
D.AIL. evrc EVRC (Enhanced Variable Rate Codec)
DEAI.S flac FLAC (Free Lossless Audio Codec)
DEAIL. g723_1 G.723.1
D.AIL. g729 G.729
D.AIL. gremlin_dpcm DPCM Gremlin
D.AIL. gsm GSM
D.AIL. gsm_ms GSM Microsoft variant
D.AIL. hca CRI HCA
D.AIL. hcom HCOM Audio
D.AIL. iac IAC (Indeo Audio Coder)
D.AIL. ilbc iLBC (Internet Low Bitrate Codec)
D.AIL. imc IMC (Intel Music Coder)
D.AIL. interplay_dpcm DPCM Interplay
D.AIL. interplayacm Interplay ACM
D.AIL. mace3 MACE (Macintosh Audio Compression/Expansion) 3:1
D.AIL. mace6 MACE (Macintosh Audio Compression/Expansion) 6:1
D.AIL. metasound Voxware MetaSound
DEAI.S mlp MLP (Meridian Lossless Packing)
D.AIL. mp1 MP1 (MPEG audio layer 1) (decoders: mp1 mp1float )
DEAIL. mp2 MP2 (MPEG audio layer 2) (decoders: mp2 mp2float ) (encoders: mp2 mp2fixed )
DEAIL. mp3 MP3 (MPEG audio layer 3) (decoders: mp3float mp3 ) (encoders: libmp3lame )
D.AIL. mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adufloat mp3adu )
D.AIL. mp3on4 MP3onMP4 (decoders: mp3on4float mp3on4 )
D.AI.S mp4als MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
..A.L. mpegh_3d_audio MPEG-H 3D Audio
D.AIL. musepack7 Musepack SV7 (decoders: mpc7 )
D.AIL. musepack8 Musepack SV8 (decoders: mpc8 )
DEAIL. nellymoser Nellymoser Asao
DEAIL. opus Opus (Opus Interactive Audio Codec) (decoders: opus libopus ) (encoders: opus libopus )
D.AIL. paf_audio Amazing Studio Packed Animation File Audio
DEAIL. pcm_alaw PCM A-law / G.711 A-law
D.AI.S pcm_bluray PCM signed 16|20|24-bit big-endian for Blu-ray media
DEAI.S pcm_dvd PCM signed 20|24-bit big-endian
D.AI.S pcm_f16le PCM 16.8 floating point little-endian
D.AI.S pcm_f24le PCM 24.0 floating point little-endian
DEAI.S pcm_f32be PCM 32-bit floating point big-endian
DEAI.S pcm_f32le PCM 32-bit floating point little-endian
DEAI.S pcm_f64be PCM 64-bit floating point big-endian
DEAI.S pcm_f64le PCM 64-bit floating point little-endian
D.AI.S pcm_lxf PCM signed 20-bit little-endian planar
DEAIL. pcm_mulaw PCM mu-law / G.711 mu-law
DEAI.S pcm_s16be PCM signed 16-bit big-endian
DEAI.S pcm_s16be_planar PCM signed 16-bit big-endian planar
DEAI.S pcm_s16le PCM signed 16-bit little-endian
DEAI.S pcm_s16le_planar PCM signed 16-bit little-endian planar
DEAI.S pcm_s24be PCM signed 24-bit big-endian
DEAI.S pcm_s24daud PCM D-Cinema audio signed 24-bit
DEAI.S pcm_s24le PCM signed 24-bit little-endian
DEAI.S pcm_s24le_planar PCM signed 24-bit little-endian planar
DEAI.S pcm_s32be PCM signed 32-bit big-endian
DEAI.S pcm_s32le PCM signed 32-bit little-endian
DEAI.S pcm_s32le_planar PCM signed 32-bit little-endian planar
DEAI.S pcm_s64be PCM signed 64-bit big-endian
DEAI.S pcm_s64le PCM signed 64-bit little-endian
DEAI.S pcm_s8 PCM signed 8-bit
DEAI.S pcm_s8_planar PCM signed 8-bit planar
DEAI.S pcm_u16be PCM unsigned 16-bit big-endian
DEAI.S pcm_u16le PCM unsigned 16-bit little-endian
DEAI.S pcm_u24be PCM unsigned 24-bit big-endian
DEAI.S pcm_u24le PCM unsigned 24-bit little-endian
DEAI.S pcm_u32be PCM unsigned 32-bit big-endian
DEAI.S pcm_u32le PCM unsigned 32-bit little-endian
DEAI.S pcm_u8 PCM unsigned 8-bit
DEAIL. pcm_vidc PCM Archimedes VIDC
D.AIL. qcelp QCELP / PureVoice
D.AIL. qdm2 QDesign Music Codec 2
D.AIL. qdmc QDesign Music
DEAIL. ra_144 RealAudio 1.0 (14.4K) (decoders: real_144 ) (encoders: real_144 )
D.AIL. ra_288 RealAudio 2.0 (28.8K) (decoders: real_288 )
D.AI.S ralf RealAudio Lossless
DEAIL. roq_dpcm DPCM id RoQ
DEAI.S s302m SMPTE 302M
DEAIL. sbc SBC (low-complexity subband codec)
D.AIL. sdx2_dpcm DPCM Squareroot-Delta-Exact
D.AI.S shorten Shorten
D.AIL. sipr RealAudio SIPR / ACELP.NET
D.AIL. siren Siren
D.AIL. smackaudio Smacker audio (decoders: smackaud )
..AIL. smv SMV (Selectable Mode Vocoder)
D.AIL. sol_dpcm DPCM Sol
DEAI.. sonic Sonic
.EAI.. sonicls Sonic lossless
..AIL. speex Speex
D.AI.S tak TAK (Tom's lossless Audio Kompressor)
DEA..S truehd TrueHD
D.AIL. truespeech DSP Group TrueSpeech
DEAI.S tta TTA (True Audio)
D.AIL. twinvq VQF TwinVQ
D.AIL. vmdaudio Sierra VMD audio
DEAIL. vorbis Vorbis (decoders: vorbis libvorbis ) (encoders: vorbis libvorbis )
D.AI.. wavesynth Wave synthesis pseudo-codec
DEAILS wavpack WavPack
D.AIL. westwood_snd1 Westwood Audio (SND1) (decoders: ws_snd1 )
D.AI.S wmalossless Windows Media Audio Lossless
D.AIL. wmapro Windows Media Audio 9 Professional
DEAIL. wmav1 Windows Media Audio 1
DEAIL. wmav2 Windows Media Audio 2
D.AIL. wmavoice Windows Media Audio Voice
D.AIL. xan_dpcm DPCM Xan
D.AIL. xma1 Xbox Media Audio 1
D.AIL. xma2 Xbox Media Audio 2
..D... bin_data binary data
..D... dvd_nav_packet DVD Nav packet
..D... epg Electronic Program Guide
..D... klv SMPTE 336M Key-Length-Value (KLV) metadata
..D... otf OpenType font
..D... scte_35 SCTE 35 Message Queue
..D... timed_id3 timed ID3 metadata
..D... ttf TrueType font
..S... arib_caption ARIB STD-B24 caption
DES... ass ASS (Advanced SSA) subtitle (decoders: ssa ass ) (encoders: ssa ass )
DES... dvb_subtitle DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )
..S... dvb_teletext DVB teletext
DES... dvd_subtitle DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )
D.S... eia_608 EIA-608 closed captions (decoders: cc_dec )
D.S... hdmv_pgs_subtitle HDMV Presentation Graphic Stream subtitles (decoders: pgssub )
..S... hdmv_text_subtitle HDMV Text subtitle
D.S... jacosub JACOsub subtitle
D.S... microdvd MicroDVD subtitle
DES... mov_text MOV text
D.S... mpl2 MPL2 subtitle
D.S... pjs PJS (Phoenix Japanimation Society) subtitle
D.S... realtext RealText subtitle
D.S... sami SAMI subtitle
..S... srt SubRip subtitle with embedded timing
..S... ssa SSA (SubStation Alpha) subtitle
D.S... stl Spruce subtitle format
DES... subrip SubRip subtitle (decoders: srt subrip ) (encoders: srt subrip )
D.S... subviewer SubViewer subtitle
D.S... subviewer1 SubViewer v1 subtitle
DES... text raw UTF-8 text
..S... ttml Timed Text Markup Language
D.S... vplayer VPlayer subtitle
DES... webvtt WebVTT subtitle
DES... xsub XSUB
xbmc@converter:~$
-codecs isn't helpful, I need the ffmpeg -decoders
parameter since that's what its checking against. I do see its listed in parenthesizes there but that's not where the check is taking place so its doesn't tell me anything. Please post the decoders output
Sorry. Try this.
xbmc@converter:~$ ffmpeg -decoders
ffmpeg version git-2020-06-22-44ce333 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --pkg-config-flags=--static --prefix=/home/xbmc/ffmpeg-build-static-binaries --bindir=/home/xbmc/ffmpeg-build-static-binaries/bin --extra-cflags='-I /home/xbmc/ffmpeg-build-static-binaries/include -I /usr/local/cuda/include/' --extra-ldflags='-L /home/xbmc/ffmpeg-build-static-binaries/lib -L /usr/local/cuda/lib64/' --extra-libs=-lpthread --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libnpp --enable-gpl --enable-libass --enable-libfdk-aac --enable-vaapi --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libaom --enable-nvenc
libavutil 56. 55.100 / 56. 55.100
libavcodec 58. 93.100 / 58. 93.100
libavformat 58. 47.100 / 58. 47.100
libavdevice 58. 11.100 / 58. 11.100
libavfilter 7. 86.100 / 7. 86.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Decoders:
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....D 012v Uncompressed 4:2:2 10-bit
V....D 4xm 4X Movie
V....D 8bps QuickTime 8BPS video
V....D aasc Autodesk RLE
V....D agm Amuse Graphics Movie
VF...D aic Apple Intermediate Codec
V....D alias_pix Alias/Wavefront PIX image
V....D amv AMV Video
V....D anm Deluxe Paint Animation
V....D ansi ASCII/ANSI art
VF...D apng APNG (Animated Portable Network Graphics) image
V....D arbc Gryphon's Anim Compressor
V....D asv1 ASUS V1
V....D asv2 ASUS V2
V....D aura Auravision AURA
V....D aura2 Auravision Aura 2
V....D libaom-av1 libaom AV1 (codec av1)
V..... avrn Avid AVI Codec
V....D avrp Avid 1:1 10-bit RGB Packer
V....D avs AVS (Audio Video Standard) video
V....D avui Avid Meridien Uncompressed
V....D ayuv Uncompressed packed MS 4:4:4:4
V....D bethsoftvid Bethesda VID video
V....D bfi Brute Force & Ignorance
V....D binkvideo Bink video
V....D bintext Binary text
V..X.. bitpacked Bitpacked
V....D bmp BMP (Windows and OS/2 bitmap)
V....D bmv_video Discworld II BMV video
V....D brender_pix BRender PIX image
V....D c93 Interplay C93
V....D cavs Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
V....D cdgraphics CD Graphics video
V....D cdtoons CDToons video
V....D cdxl Commodore CDXL video
VF...D cfhd Cineform HD
V....D cinepak Cinepak
V....D clearvideo Iterated Systems ClearVideo
V....D cljr Cirrus Logic AccuPak
VF...D cllc Canopus Lossless Codec
V....D eacmv Electronic Arts CMV video (codec cmv)
V....D cpia CPiA video format
V....D camstudio CamStudio (codec cscd)
V....D cyuv Creative YUV (CYUV)
V.S..D dds DirectDraw Surface image decoder
V....D dfa Chronomaster DFA
V.S..D dirac BBC Dirac VC-2
VFS..D dnxhd VC3/DNxHD
V....D dpx DPX (Digital Picture Exchange) image
V....D dsicinvideo Delphine Software International CIN video
VFS..D dvvideo DV (Digital Video)
V....D dxa Feeble Files/ScummVM DXA
V....D dxtory Dxtory
VFS..D dxv Resolume DXV
V....D escape124 Escape 124
V....D escape130 Escape 130
VFS..D exr OpenEXR image
VFS..D ffv1 FFmpeg video codec #1
VF..BD ffvhuff Huffyuv FFmpeg variant
V.S..D fic Mirillis FIC
V....D fits Flexible Image Transport System
V....D flashsv Flash Screen Video v1
V....D flashsv2 Flash Screen Video v2
V....D flic Autodesk Animator Flic video
V...BD flv FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (codec flv1)
V....D fmvc FM Screen Capture Codec
VF...D fraps Fraps
V....D frwu Forward Uncompressed
V....D g2m Go2Meeting
V....D gdv Gremlin Digital Video
V....D gif GIF (Graphics Interchange Format)
V....D h261 H.261
V...BD h263 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
V..... h263_v4l2m2m V4L2 mem2mem H.263 decoder wrapper (codec h263)
V...BD h263i Intel H.263
V...BD h263p H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
VFS..D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
V..... h264_v4l2m2m V4L2 mem2mem H.264 decoder wrapper (codec h264)
V..... h264_cuvid Nvidia CUVID H264 decoder (codec h264)
VFS..D hap Vidvox Hap
VFS..D hevc HEVC (High Efficiency Video Coding)
V..... hevc_cuvid Nvidia CUVID HEVC decoder (codec hevc)
V....D hnm4video HNM 4 video
V....D hq_hqa Canopus HQ/HQA
VFS..D hqx Canopus HQX
VF..BD huffyuv Huffyuv / HuffYUV
VF..BD hymt HuffYUV MT
V....D idcinvideo id Quake II CIN video (codec idcin)
V....D idf iCEDraw text
V....D iff IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN (codec iff_ilbm)
V....D imm4 Infinity IMM4
V..... imm5 Infinity IMM5
V....D indeo2 Intel Indeo 2
V....D indeo3 Intel Indeo 3
V....D indeo4 Intel Indeo Video Interactive 4
V....D indeo5 Intel Indeo Video Interactive 5
V....D interplayvideo Interplay MVE video
VFS..D jpeg2000 JPEG 2000
V....D jpegls JPEG-LS
V....D jv Bitmap Brothers JV video
V....D kgv1 Kega Game Video
V....D kmvc Karl Morton's video codec
VF...D lagarith Lagarith lossless
V....D loco LOCO
V....D lscr LEAD Screen Capture
V....D m101 Matrox Uncompressed SD
V....D eamad Electronic Arts Madcow Video (codec mad)
VFS..D magicyuv MagicYUV video
VF...D mdec Sony PlayStation MDEC (Motion DECoder)
VF...D mimic Mimic
V....D mjpeg MJPEG (Motion JPEG)
V..... mjpeg_cuvid Nvidia CUVID MJPEG decoder (codec mjpeg)
V....D mjpegb Apple MJPEG-B
V....D mmvideo American Laser Games MM Video
V....D motionpixels Motion Pixels video
V.S.BD mpeg1video MPEG-1 video
V..... mpeg1_v4l2m2m V4L2 mem2mem MPEG1 decoder wrapper (codec mpeg1video)
V..... mpeg1_cuvid Nvidia CUVID MPEG1VIDEO decoder (codec mpeg1video)
V.S.BD mpeg2video MPEG-2 video
V.S.BD mpegvideo MPEG-1 video (codec mpeg2video)
V..... mpeg2_v4l2m2m V4L2 mem2mem MPEG2 decoder wrapper (codec mpeg2video)
V..... mpeg2_cuvid Nvidia CUVID MPEG2VIDEO decoder (codec mpeg2video)
VF..BD mpeg4 MPEG-4 part 2
V..... mpeg4_v4l2m2m V4L2 mem2mem MPEG4 decoder wrapper (codec mpeg4)
V..... mpeg4_cuvid Nvidia CUVID MPEG4 decoder (codec mpeg4)
V....D msa1 MS ATC Screen
V....D mscc Mandsoft Screen Capture Codec
V...BD msmpeg4v1 MPEG-4 part 2 Microsoft variant version 1
V...BD msmpeg4v2 MPEG-4 part 2 Microsoft variant version 2
V...BD msmpeg4 MPEG-4 part 2 Microsoft variant version 3 (codec msmpeg4v3)
V....D msrle Microsoft RLE
V....D mss1 MS Screen 1
V....D mss2 MS Windows Media Video V9 Screen
V....D msvideo1 Microsoft Video 1
VF...D mszh LCL (LossLess Codec Library) MSZH
V....D mts2 MS Expression Encoder Screen
V....D mv30 MidiVid 3.0
V....D mvc1 Silicon Graphics Motion Video Compressor 1
V....D mvc2 Silicon Graphics Motion Video Compressor 2
V....D mvdv MidiVid VQ
V....D mvha MidiVid Archive Codec
V....D mwsc MatchWare Screen Capture Codec
V....D mxpeg Mobotix MxPEG video
VF...D notchlc NotchLC
V....D nuv NuppelVideo/RTJPEG
V....D paf_video Amazing Studio Packed Animation File Video
V....D pam PAM (Portable AnyMap) image
V....D pbm PBM (Portable BitMap) image
V....D pcx PC Paintbrush PCX image
V....D pfm PFM (Portable FloatMap) image
V....D pgm PGM (Portable GrayMap) image
V....D pgmyuv PGMYUV (Portable GrayMap YUV) image
V....D pictor Pictor/PC Paint
VF...D pixlet Apple Pixlet
VF...D png PNG (Portable Network Graphics) image
V....D ppm PPM (Portable PixelMap) image
VFS..D prores ProRes (iCodec Pro)
V....D prosumer Brooktree ProSumer Video
VF...D psd Photoshop PSD file
V....D ptx V.Flash PTX image
V....D qdraw Apple QuickDraw
V....D qpeg Q-team QPEG
V....D qtrle QuickTime Animation (RLE) video
V....D r10k AJA Kona 10-bit RGB Codec
V....D r210 Uncompressed RGB 10-bit
V....D rasc RemotelyAnywhere Screen Capture
V..... rawvideo raw video
V....D rl2 RL2 video
V....D roqvideo id RoQ video (codec roq)
V....D rpza QuickTime video (RPZA)
V....D rscc innoHeim/Rsupport Screen Capture Codec
V....D rv10 RealVideo 1.0
V....D rv20 RealVideo 2.0
VF...D rv30 RealVideo 3.0
VF...D rv40 RealVideo 4.0
V....D sanm LucasArts SANM/Smush video
V....D scpr ScreenPressor
V....D screenpresso Screenpresso
V....D sgi SGI image
V....D sgirle Silicon Graphics RLE 8-bit video
VF...D sheervideo BitJazz SheerVideo
V....D smackvid Smacker video (codec smackvideo)
V....D smc QuickTime Graphics (SMC)
V..... smvjpeg SMV JPEG
V....D snow Snow
V....D sp5x Sunplus JPEG (SP5X)
V....D speedhq NewTek SpeedHQ
V....D srgc Screen Recorder Gold Codec
V....D sunrast Sun Rasterfile image
V....D svq1 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
V...BD svq3 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
V....D targa Truevision Targa image
V....D targa_y216 Pinnacle TARGA CineWave YUV16
V....D tdsc TDSC
V....D eatgq Electronic Arts TGQ video (codec tgq)
V....D eatgv Electronic Arts TGV video (codec tgv)
VF..BD theora Theora
V....D thp Nintendo Gamecube THP video
V....D tiertexseqvideo Tiertex Limited SEQ video
VF...D tiff TIFF image
V....D tmv 8088flex TMV
V....D eatqi Electronic Arts TQI Video (codec tqi)
V....D truemotion1 Duck TrueMotion 1.0
V....D truemotion2 Duck TrueMotion 2.0
V....D truemotion2rt Duck TrueMotion 2.0 Real Time
V....D camtasia TechSmith Screen Capture Codec (codec tscc)
V....D tscc2 TechSmith Screen Codec 2
V....D txd Renderware TXD (TeXture Dictionary) image
V....D ultimotion IBM UltiMotion (codec ulti)
VF...D utvideo Ut Video
VFS..D v210 Uncompressed 4:2:2 10-bit
V....D v210x Uncompressed 4:2:2 10-bit
V....D v308 Uncompressed packed 4:4:4
V....D v408 Uncompressed packed QT 4:4:4:4
VFS..D v410 Uncompressed 4:4:4 10-bit
V....D vb Beam Software VB
VF...D vble VBLE Lossless Codec
V....D vc1 SMPTE VC-1
V..... vc1_v4l2m2m V4L2 mem2mem VC1 decoder wrapper (codec vc1)
V..... vc1_cuvid Nvidia CUVID VC1 decoder (codec vc1)
V....D vc1image Windows Media Video 9 Image v2
V....D vcr1 ATI VCR1
V....D xl Miro VideoXL (codec vixl)
V....D vmdvideo Sierra VMD video
V....D vmnc VMware Screen Codec / VMware Video
VF..BD vp3 On2 VP3
VF..BD vp4 On2 VP4
V....D vp5 On2 VP5
V....D vp6 On2 VP6
V.S..D vp6a On2 VP6 (Flash version, with alpha channel)
V....D vp6f On2 VP6 (Flash version)
V....D vp7 On2 VP7
VFS..D vp8 On2 VP8
V..... vp8_v4l2m2m V4L2 mem2mem VP8 decoder wrapper (codec vp8)
V....D libvpx libvpx VP8 (codec vp8)
V..... vp8_cuvid Nvidia CUVID VP8 decoder (codec vp8)
VFS..D vp9 Google VP9
V..... vp9_v4l2m2m V4L2 mem2mem VP9 decoder wrapper (codec vp9)
V..... libvpx-vp9 libvpx VP9 (codec vp9)
V..... vp9_cuvid Nvidia CUVID VP9 decoder (codec vp9)
V....D wcmv WinCAM Motion Video
VF...D webp WebP image
V...BD wmv1 Windows Media Video 7
V...BD wmv2 Windows Media Video 8
V....D wmv3 Windows Media Video 9
V....D wmv3image Windows Media Video 9 Image
V....D wnv1 Winnov WNV1
V..... wrapped_avframe AVPacket to AVFrame passthrough
V....D vqavideo Westwood Studios VQA (Vector Quantized Animation) video (codec ws_vqa)
V....D xan_wc3 Wing Commander III / Xan
V....D xan_wc4 Wing Commander IV / Xxan
V....D xbin eXtended BINary text
V....D xbm XBM (X BitMap) image
V..... xface X-face image
V....D xpm XPM (X PixMap) image
V....D xwd XWD (X Window Dump) image
V....D y41p Uncompressed YUV 4:1:1 12-bit
VF...D ylc YUY2 Lossless Codec
V..... yop Psygnosis YOP Video
V....D yuv4 Uncompressed packed 4:2:0
V....D zerocodec ZeroCodec Lossless Video
VF...D zlib LCL (LossLess Codec Library) ZLIB
V....D zmbv Zip Motion Blocks Video
A....D 8svx_exp 8SVX exponential
A....D 8svx_fib 8SVX fibonacci
A....D aac AAC (Advanced Audio Coding)
A....D aac_fixed AAC (Advanced Audio Coding) (codec aac)
A....D libfdk_aac Fraunhofer FDK AAC (codec aac)
A....D aac_latm AAC LATM (Advanced Audio Coding LATM syntax)
A....D ac3 ATSC A/52A (AC-3)
A....D ac3_fixed ATSC A/52A (AC-3) (codec ac3)
A....D acelp.kelvin Sipro ACELP.KELVIN
A....D adpcm_4xm ADPCM 4X Movie
A....D adpcm_adx SEGA CRI ADX ADPCM
A....D adpcm_afc ADPCM Nintendo Gamecube AFC
A....D adpcm_agm ADPCM AmuseGraphics Movie
A....D adpcm_aica ADPCM Yamaha AICA
A....D adpcm_argo ADPCM Argonaut Games
A....D adpcm_ct ADPCM Creative Technology
A....D adpcm_dtk ADPCM Nintendo Gamecube DTK
A....D adpcm_ea ADPCM Electronic Arts
A....D adpcm_ea_maxis_xa ADPCM Electronic Arts Maxis CDROM XA
A....D adpcm_ea_r1 ADPCM Electronic Arts R1
A....D adpcm_ea_r2 ADPCM Electronic Arts R2
A....D adpcm_ea_r3 ADPCM Electronic Arts R3
A....D adpcm_ea_xas ADPCM Electronic Arts XAS
A....D g722 G.722 ADPCM (codec adpcm_g722)
A....D g726 G.726 ADPCM (codec adpcm_g726)
A....D g726le G.726 ADPCM little-endian (codec adpcm_g726le)
A....D adpcm_ima_alp ADPCM IMA High Voltage Software ALP
A....D adpcm_ima_amv ADPCM IMA AMV
A....D adpcm_ima_apc ADPCM IMA CRYO APC
A....D adpcm_ima_apm ADPCM IMA Ubisoft APM
A....D adpcm_ima_cunning ADPCM IMA Cunning Developments
A....D adpcm_ima_dat4 ADPCM IMA Eurocom DAT4
A....D adpcm_ima_dk3 ADPCM IMA Duck DK3
A....D adpcm_ima_dk4 ADPCM IMA Duck DK4
A....D adpcm_ima_ea_eacs ADPCM IMA Electronic Arts EACS
A....D adpcm_ima_ea_sead ADPCM IMA Electronic Arts SEAD
A....D adpcm_ima_iss ADPCM IMA Funcom ISS
A....D adpcm_ima_mtf ADPCM IMA Capcom's MT Framework
A....D adpcm_ima_oki ADPCM IMA Dialogic OKI
A....D adpcm_ima_qt ADPCM IMA QuickTime
A....D adpcm_ima_rad ADPCM IMA Radical
A....D adpcm_ima_smjpeg ADPCM IMA Loki SDL MJPEG
A....D adpcm_ima_ssi ADPCM IMA Simon & Schuster Interactive
A....D adpcm_ima_wav ADPCM IMA WAV
A....D adpcm_ima_ws ADPCM IMA Westwood
A....D adpcm_ms ADPCM Microsoft
A....D adpcm_mtaf ADPCM MTAF
A....D adpcm_psx ADPCM Playstation
A....D adpcm_sbpro_2 ADPCM Sound Blaster Pro 2-bit
A....D adpcm_sbpro_3 ADPCM Sound Blaster Pro 2.6-bit
A....D adpcm_sbpro_4 ADPCM Sound Blaster Pro 4-bit
A....D adpcm_swf ADPCM Shockwave Flash
A....D adpcm_thp ADPCM Nintendo THP
A....D adpcm_thp_le ADPCM Nintendo THP (little-endian)
A....D adpcm_vima LucasArts VIMA audio
A....D adpcm_xa ADPCM CDROM XA
A....D adpcm_yamaha ADPCM Yamaha
A....D adpcm_zork ADPCM Zork
AF...D alac ALAC (Apple Lossless Audio Codec)
A....D amrnb AMR-NB (Adaptive Multi-Rate NarrowBand) (codec amr_nb)
A....D amrwb AMR-WB (Adaptive Multi-Rate WideBand) (codec amr_wb)
A....D ape Monkey's Audio
A....D aptx aptX (Audio Processing Technology for Bluetooth)
A....D aptx_hd aptX HD (Audio Processing Technology for Bluetooth)
A....D atrac1 ATRAC1 (Adaptive TRansform Acoustic Coding)
A....D atrac3 ATRAC3 (Adaptive TRansform Acoustic Coding 3)
A....D atrac3al ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)
A....D atrac3plus ATRAC3+ (Adaptive TRansform Acoustic Coding 3+) (codec atrac3p)
A....D atrac3plusal ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless) (codec atrac3pal)
A....D atrac9 ATRAC9 (Adaptive TRansform Acoustic Coding 9)
A....D on2avc On2 Audio for Video Codec (codec avc)
A....D binkaudio_dct Bink Audio (DCT)
A....D binkaudio_rdft Bink Audio (RDFT)
A....D bmv_audio Discworld II BMV audio
A....D comfortnoise RFC 3389 comfort noise generator
A....D cook Cook / Cooker / Gecko (RealAudio G2)
A....D derf_dpcm DPCM Xilam DERF
A....D dolby_e Dolby E
A.S..D dsd_lsbf DSD (Direct Stream Digital), least significant bit first
A.S..D dsd_lsbf_planar DSD (Direct Stream Digital), least significant bit first, planar
A.S..D dsd_msbf DSD (Direct Stream Digital), most significant bit first
A.S..D dsd_msbf_planar DSD (Direct Stream Digital), most significant bit first, planar
A....D dsicinaudio Delphine Software International CIN audio
A....D dss_sp Digital Speech Standard - Standard Play mode (DSS SP)
A....D dst DST (Digital Stream Transfer)
A....D dca DCA (DTS Coherent Acoustics) (codec dts)
A....D dvaudio Ulead DV Audio
A....D eac3 ATSC A/52B (AC-3, E-AC-3)
A....D evrc EVRC (Enhanced Variable Rate Codec)
AF...D flac FLAC (Free Lossless Audio Codec)
A....D g723_1 G.723.1
A....D g729 G.729
A....D gremlin_dpcm DPCM Gremlin
A....D gsm GSM
A....D gsm_ms GSM Microsoft variant
A....D hca CRI HCA
A....D hcom HCOM Audio
A....D iac IAC (Indeo Audio Coder)
A....D ilbc iLBC (Internet Low Bitrate Codec)
A....D imc IMC (Intel Music Coder)
A....D interplay_dpcm DPCM Interplay
A....D interplayacm Interplay ACM
A....D mace3 MACE (Macintosh Audio Compression/Expansion) 3:1
A....D mace6 MACE (Macintosh Audio Compression/Expansion) 6:1
A....D metasound Voxware MetaSound
A....D mlp MLP (Meridian Lossless Packing)
A....D mp1 MP1 (MPEG audio layer 1)
A....D mp1float MP1 (MPEG audio layer 1) (codec mp1)
A....D mp2 MP2 (MPEG audio layer 2)
A....D mp2float MP2 (MPEG audio layer 2) (codec mp2)
A....D mp3float MP3 (MPEG audio layer 3) (codec mp3)
A....D mp3 MP3 (MPEG audio layer 3)
A....D mp3adufloat ADU (Application Data Unit) MP3 (MPEG audio layer 3) (codec mp3adu)
A....D mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3)
A....D mp3on4float MP3onMP4 (codec mp3on4)
A....D mp3on4 MP3onMP4
A....D als MPEG-4 Audio Lossless Coding (ALS) (codec mp4als)
A....D mpc7 Musepack SV7 (codec musepack7)
A....D mpc8 Musepack SV8 (codec musepack8)
A....D nellymoser Nellymoser Asao
A....D opus Opus
A....D libopus libopus Opus (codec opus)
A....D paf_audio Amazing Studio Packed Animation File Audio
A....D pcm_alaw PCM A-law / G.711 A-law
A....D pcm_bluray PCM signed 16|20|24-bit big-endian for Blu-ray media
A....D pcm_dvd PCM signed 16|20|24-bit big-endian for DVD media
A....D pcm_f16le PCM 16.8 floating point little-endian
A....D pcm_f24le PCM 24.0 floating point little-endian
A....D pcm_f32be PCM 32-bit floating point big-endian
A....D pcm_f32le PCM 32-bit floating point little-endian
A....D pcm_f64be PCM 64-bit floating point big-endian
A....D pcm_f64le PCM 64-bit floating point little-endian
A....D pcm_lxf PCM signed 20-bit little-endian planar
A....D pcm_mulaw PCM mu-law / G.711 mu-law
A....D pcm_s16be PCM signed 16-bit big-endian
A....D pcm_s16be_planar PCM signed 16-bit big-endian planar
A....D pcm_s16le PCM signed 16-bit little-endian
A....D pcm_s16le_planar PCM signed 16-bit little-endian planar
A....D pcm_s24be PCM signed 24-bit big-endian
A....D pcm_s24daud PCM D-Cinema audio signed 24-bit
A....D pcm_s24le PCM signed 24-bit little-endian
A....D pcm_s24le_planar PCM signed 24-bit little-endian planar
A....D pcm_s32be PCM signed 32-bit big-endian
A....D pcm_s32le PCM signed 32-bit little-endian
A....D pcm_s32le_planar PCM signed 32-bit little-endian planar
A....D pcm_s64be PCM signed 64-bit big-endian
A....D pcm_s64le PCM signed 64-bit little-endian
A....D pcm_s8 PCM signed 8-bit
A....D pcm_s8_planar PCM signed 8-bit planar
A....D pcm_u16be PCM unsigned 16-bit big-endian
A....D pcm_u16le PCM unsigned 16-bit little-endian
A....D pcm_u24be PCM unsigned 24-bit big-endian
A....D pcm_u24le PCM unsigned 24-bit little-endian
A....D pcm_u32be PCM unsigned 32-bit big-endian
A....D pcm_u32le PCM unsigned 32-bit little-endian
A....D pcm_u8 PCM unsigned 8-bit
A....D pcm_vidc PCM Archimedes VIDC
A....D qcelp QCELP / PureVoice
A....D qdm2 QDesign Music Codec 2
A....D qdmc QDesign Music Codec 1
A....D real_144 RealAudio 1.0 (14.4K) (codec ra_144)
A....D real_288 RealAudio 2.0 (28.8K) (codec ra_288)
A....D ralf RealAudio Lossless
A....D roq_dpcm DPCM id RoQ
A....D s302m SMPTE 302M
A....D sbc SBC (low-complexity subband codec)
A....D sdx2_dpcm DPCM Squareroot-Delta-Exact
A....D shorten Shorten
A....D sipr RealAudio SIPR / ACELP.NET
A....D siren Siren
A....D smackaud Smacker audio (codec smackaudio)
A....D sol_dpcm DPCM Sol
A..X.D sonic Sonic
AF...D tak TAK (Tom's lossless Audio Kompressor)
A....D truehd TrueHD
A....D truespeech DSP Group TrueSpeech
AF...D tta TTA (True Audio)
A....D twinvq VQF TwinVQ
A....D vmdaudio Sierra VMD audio
A....D vorbis Vorbis
A..... libvorbis libvorbis (codec vorbis)
A....D wavesynth Wave synthesis pseudo-codec
AFS..D wavpack WavPack
A....D ws_snd1 Westwood Audio (SND1) (codec westwood_snd1)
A....D wmalossless Windows Media Audio Lossless
A....D wmapro Windows Media Audio 9 Professional
A....D wmav1 Windows Media Audio 1
A....D wmav2 Windows Media Audio 2
A....D wmavoice Windows Media Audio Voice
A....D xan_dpcm DPCM Xan
A....D xma1 Xbox Media Audio 1
A....D xma2 Xbox Media Audio 2
S..... ssa ASS (Advanced SubStation Alpha) subtitle (codec ass)
S..... ass ASS (Advanced SubStation Alpha) subtitle
S..... dvbsub DVB subtitles (codec dvb_subtitle)
S..... dvdsub DVD subtitles (codec dvd_subtitle)
S..... cc_dec Closed Caption (EIA-608 / CEA-708) (codec eia_608)
S..... pgssub HDMV Presentation Graphic Stream subtitles (codec hdmv_pgs_subtitle)
S..... jacosub JACOsub subtitle
S..... microdvd MicroDVD subtitle
S..... mov_text 3GPP Timed Text subtitle
S..... mpl2 MPL2 subtitle
S..... pjs PJS subtitle
S..... realtext RealText subtitle
S..... sami SAMI subtitle
S..... stl Spruce subtitle format
S..... srt SubRip subtitle (codec subrip)
S..... subrip SubRip subtitle
S..... subviewer SubViewer subtitle
S..... subviewer1 SubViewer1 subtitle
S..... text Raw text subtitle
S..... vplayer VPlayer subtitle
S..... webvtt WebVTT subtitle
S..... xsub XSUB
xbmc@converter:~$
Hm it's all there and looks good. Not sure why that check is failing
65ff727daa11a20c3cc127443531bfd82418920e
I added an update with some additional debug logging that can hopefully provide some insight. Please update and post another log of the conversion failing with the hwaccel and hwaccel-decoder options
Downloaded and installed your changes. Here's my latest log file.
Ah ok! Getting somewhere
This is failing because it appears your FFMPEG build isn't reporting cuvid as a hwaccel format it supports
If you run ffmpeg -hwaccels
I'm guessing it will be missing from that list, double check that though
Why its missing I'm not sure, it looks like your build is missing --enable-nvdec
which might be required though I can't say for sure
I wrote a little python script to show flags my build has that yours doesn't and got this output for things I have that you don't
'--enable-libmysofa', '--enable-libshine', '--enable-libxml2', '--enable-libsoxr', '--enable-libtwolame', '--enable-libdav1d', '--enable-lzma', '--enable-libspeex', '--enable-libvidstab', '--enable-iconv', '--enable-libmfx', '--enable-libvo-amrwbenc', '--enable-dxva2', '--enable-libbluray', '--enable-d3d11va', '--enable-version3', '--enable-ffnvcodec', '--enable-libopencore-amrwb', '--enable-libwavpack', '--enable-nvdec', '--enable-libopenjpeg', '--enable-amf', '--enable-libsnappy', '--enable-libopenmpt', '--enable-gnutls', '--enable-fontconfig', '--enable-gmp', '--enable-sdl2', '--enable-libzimg', '--enable-libwebp', '--enable-libxvid', '--enable-avisynth', '--enable-zlib', '--enable-libopencore-amrnb'
I'm back looking at this tonight. I'll review my ffmpeg build and let you know what I find.
What I got when I ran ffmpeg -hwaccels
I have some of my notes from my ffmpeg build, but the modified build files, etc, are all gone. I must have deleted them at some point. Its going to take me some time re-build my ffmpeg enabling the features we need..
ffmpeg version git-2020-06-22-44ce333 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --pkg-config-flags=--static --prefix=/home/xbmc/ffmpeg-build-static-binaries --bindir=/home/xbmc/ffmpeg-build-static-binaries/bin --extra-cflags='-I /home/xbmc/ffmpeg-build-static-binaries/include -I /usr/local/cuda/include/' --extra-ldflags='-L /home/xbmc/ffmpeg-build-static-binaries/lib -L /usr/local/cuda/lib64/' --extra-libs=-lpthread --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libnpp --enable-gpl --enable-libass --enable-libfdk-aac --enable-vaapi --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libaom --enable-nvenc libavutil 56. 55.100 / 56. 55.100 libavcodec 58. 93.100 / 58. 93.100 libavformat 58. 47.100 / 58. 47.100 libavdevice 58. 11.100 / 58. 11.100 libavfilter 7. 86.100 / 7. 86.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Hardware acceleration methods: vdpau cuda vaapi
For testing purposes you could try to find a precompiled binary
Also I don't know if you use docker at all but there are a few nice containers that will automate FFMPEG building and you can just extract the binary
After all the hours I spent building my ffmpeg binary. I suppose to be an IT professional, I cannot believe I didn't backup it up after I was done. And before I wiped and restarted the creation of my latest Linux box. Its a physical computer, not a docker. I'll take a look at the link you provided. At least for now if I add the preopts to the config file, your script works great. I've been using a script I created to call your manual.py script.
I'm about done with the testing phase and comfortable with my configuration settings and how its working in the manual mode. Now I need to adjust it to just run automatically with my applications.
Thanks for all your help. I'm sure you'll be hearing back from me.
Gonna close reopen with issues
Still working with just the manual.py script. Much appreciate your assistance. I'm using h256_nvenc for hardware acceleration. I have my video max-width = 1280. This combination create the following ffmpeg error.
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0' see sma-error.log attached
From research I found the following information, https://trac.ffmpeg.org/ticket/5587.
I took the outputted commandline from your script and changed the video format syntax from -vf scale_npp=1280:720 to -vf hwupload_cuda,scale_npp=1280:720,hwdownload
The video file was processed without errors in 7m24s. Interesting when I change the video format to just: -vf scale=1280:720 it processed the video file in 5m43s. Without using hardware for scaling.
I've attached supporting files. autoProcess.ini.txt sma-error.log.txt sma-with-edits.log.txt
Separate question. When I was processing video files with my own script. I was using -vf scale=-2:720. My understanding using this syntax produces proper proportional scaling. Is that true and could the scale parameter in your script be changed?