View Single Post
Old 15th June 2017, 04:36   #3  |  Link
dooley2009
Registered User
 
Join Date: May 2017
Posts: 6
I have tried everything to get ffmpeg to output a 10 bit video but it wont.

Here is my code for that attempt. Always comes out 8 bit.

Code:
ffmpeg.exe -hwaccel auto -y -i "vid (8bit).mp4" -preset medium -crf 18 -c:a aac -b:a 192k -c:v libx265 -x265-params -format yuv420p10le "Vid (10bit).mp4"

And here is the result.

Code:
C:\Users>ffmpeg.exe -hwaccel auto -y -ss 00:26:45 -t 5 -i "vid (8bit).mp4" -preset medium -crf 18 -c:a aac -b:a 192k -c:v libx265_Main10 -x265-params -format yuv420p10le "vid (10bit).mp4"
ffmpeg version N-86383-g4705edb Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 63.100 / 55. 63.100
  libavcodec     57. 96.101 / 57. 96.101
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 91.100 /  6. 91.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\JDesktop\Desktop\Video Encoding\Test Video\vid.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
  Duration: 00:27:17.57, start: 0.000000, bitrate: 7001 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 6801 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[NULL @ 0000000003011520] Unable to find a suitable output format for 'yuv420p10le'
yuv420p10le: Invalid argument
Also I don't know how to go about processing the audio separately. Do you know how a place I can look for instructions?

Thanks for helping.
dooley2009 is offline   Reply With Quote