Hello, How should be done 10 bit encoding? 1. By selecting -profile main10 or others like * main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra or by selecting 2. pixel profile as yuv422 10le etc.. In either way it does not work. best regards, George Nistor
On Thu, Dec 07, 2017 at 20:41:01 +0000, George Nistor wrote:
In either way it does not work.
That's not a very descriptive error. What did you try, what did you expect, what was the actual result? We kindly ask you to provide the actual command line and its complete, uncut console output.
How should be done 10 bit encoding? 1. By selecting -profile main10 or others like
* main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra
or by selecting 2. pixel profile as yuv422 10le etc..
I guess 1. or both. Since you didn't provide any info, I can only guess you are using x264. Or are you using x265? For x264, ffmpeg needs a specially compiled version of that library, and needs to link against this version. (And then no longer supports 8-bit encoding. This whole hassle may change in the future, depending on x264's progress on this.) Check this thread (though I have seen better instructions, which I can't find right now): https://lists.ffmpeg.org/pipermail/ffmpeg-user/2012-June/007064.html Cheers, Moritz
I am using x265, here is my log: As you can see the parameter profile is not supported. Unknown option profile. Also it does not work when selecting 10bit pixel profile , it gives incompatible pixel format. Sorry for the screen shot instead of log..does not work during encoding to copy from the log window. [cid:part1.D0790787.4F90F3E5@live.com] George On 12/7/2017 22:54, Moritz Barsnick wrote: On Thu, Dec 07, 2017 at 20:41:01 +0000, George Nistor wrote: In either way it does not work. That's not a very descriptive error. What did you try, what did you expect, what was the actual result? We kindly ask you to provide the actual command line and its complete, uncut console output. How should be done 10 bit encoding? 1. By selecting -profile main10 or others like * main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra or by selecting 2. pixel profile as yuv422 10le etc.. I guess 1. or both. Since you didn't provide any info, I can only guess you are using x264. Or are you using x265? For x264, ffmpeg needs a specially compiled version of that library, and needs to link against this version. (And then no longer supports 8-bit encoding. This whole hassle may change in the future, depending on x264's progress on this.) Check this thread (though I have seen better instructions, which I can't find right now): https://lists.ffmpeg.org/pipermail/ffmpeg-user/2012-June/007064.html Cheers, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org<mailto:ffmpeg-user@ffmpeg.org> http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org<mailto:ffmpeg-user-request@ffmpeg.org> with subject "unsubscribe".
On Thu, Dec 7, 2017, at 12:13 PM, George Nistor wrote:
I am using x265, here is my log: [Inline image] + onhefpdkecjhpigp.png 442k (image/png)
For future reference please copy and paste the text of your command and the console output instead of making an image of the text.
Ok , I will put text log in few minutes. George On 12/7/2017 23:17, Lou Logan wrote:
I am using x265, here is my log: [Inline image] + onhefpdkecjhpigp.png 442k (image/png) For future reference please copy and paste the text of your command and
On Thu, Dec 7, 2017, at 12:13 PM, George Nistor wrote: the console output instead of making an image of the text. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
see [libx265 @ 000001b5d6f11480] Unknown option: profile. here is my log: "C:\Users\georg\AppData\Roaming\myFFmpeg\ffmpeg.exe" -probesize 50M -analyzeduration 100M -i "E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts" -map 0:0 -map 0:1 -c:a copy -async 1 -c:v libx265 -b:v 4500k -minrate 4500k -maxrate 4500k -bufsize 1125k -r 24000/1001 -s 1920x1080 -aspect 16:9 -preset ultrafast -tune fastdecode -x265-params profile=main10:me=umh:qcomp=0.5:scenecut=40:bframes=3:rc-lookahead=40:b-adapt=1:min-keyint=24:keyint=240 -sws_flags fast_bilinear -qmin 3 -qmax 51 -metadata creation_time=now -sn -y "G:\in____work\RISEN.theatrical.mp4" ffmpeg version N-89395-g71421f382f Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx libavutil 56. 5.100 / 56. 5.100 libavcodec 58. 6.102 / 58. 6.102 libavformat 58. 2.103 / 58. 2.103 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 6.100 / 7. 6.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 Input #0, mpegts, from 'E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts': Duration: 01:47:38.29, start: 11.650667, bitrate: 28588 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [libx265 @ 000001b5d6f11480] Unknown option: profile. x265 [info]: HEVC encoder version 2.6+5-b1dfa312234e x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(34 rows) x265 [info]: Coding QT: max CU size, min CU size : 32 / 16 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : umh / 57 / 0 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 40 / 3 / 1 x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0 x265 [info]: References / ref-limit cu / depth : 1 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-4500 kbps / 0.50 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 [mp4 @ 000001b5d7806960] track 1: codec frame size is not set Output #0, mp4, to 'G:\in____work\RISEN.theatrical.mp4': Metadata: creation_time : now encoder : Lavf58.2.103 Stream #0:0: Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=3-51, 4500 kb/s, 23.98 fps, 24k tbn, 23.98 tbc Metadata: encoder : Lavc58.6.102 libx265 Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 Hz, 5.1(side), s16p frame= 46 fps=0.0 q=0.0 size= 0kB time=00:00:01.40 bitrate= 0.0kbits/s speed=2.56x frame= 68 fps= 64 q=-0.0 size= 0kB time=00:00:02.32 bitrate= 0.2kbits/s speed=2.19x frame= 88 fps= 55 q=-0.0 size= 768kB time=00:00:03.16 bitrate=1986.1kbits/s speed= 2x On 12/7/2017 23:17, Lou Logan wrote:
I am using x265, here is my log: [Inline image] + onhefpdkecjhpigp.png 442k (image/png) For future reference please copy and paste the text of your command and
On Thu, Dec 7, 2017, at 12:13 PM, George Nistor wrote: the console output instead of making an image of the text. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
and here is the log when I have selected YUV420p10le see Incompatible pixel format 'yuv420p10le' for codec 'libx265', auto-selecting format 'yuv420p' [libx265 @ 00000175d59c4220] Unknown option: profile. ----------------------------------------------------------------------------------------------- "C:\Users\georg\AppData\Roaming\myFFmpeg\ffmpeg.exe" -probesize 50M -analyzeduration 100M -i "E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts" -map 0:0 -map 0:1 -c:a copy -async 1 -c:v libx265 -b:v 4500k -minrate 4500k -maxrate 4500k -bufsize 1125k -r 24000/1001 -s 1920x1080 -aspect 16:9 -pix_fmt yuv420p10le -preset ultrafast -tune fastdecode -x265-params profile=main10:me=umh:qcomp=0.5:scenecut=40:bframes=3:rc-lookahead=40:b-adapt=1:min-keyint=24:keyint=240 -sws_flags fast_bilinear -qmin 3 -qmax 51 -metadata creation_time=now -sn -y "G:\in____work\RISEN.theatrical.mp4" ffmpeg version N-89395-g71421f382f Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx libavutil 56. 5.100 / 56. 5.100 libavcodec 58. 6.102 / 58. 6.102 libavformat 58. 2.103 / 58. 2.103 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 6.100 / 7. 6.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 Input #0, mpegts, from 'E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts': Duration: 01:47:38.29, start: 11.650667, bitrate: 28588 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help Incompatible pixel format 'yuv420p10le' for codec 'libx265', auto-selecting format 'yuv420p' [libx265 @ 00000175d59c4220] Unknown option: profile. x265 [info]: HEVC encoder version 2.6+5-b1dfa312234e x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(34 rows) x265 [info]: Coding QT: max CU size, min CU size : 32 / 16 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : umh / 57 / 0 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 40 / 3 / 1 x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0 x265 [info]: References / ref-limit cu / depth : 1 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-4500 kbps / 0.50 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 [mp4 @ 00000175d77e08a0] track 1: codec frame size is not set Output #0, mp4, to 'G:\in____work\RISEN.theatrical.mp4': Metadata: creation_time : now encoder : Lavf58.2.103 Stream #0:0: Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=3-51, 4500 kb/s, 23.98 fps, 24k tbn, 23.98 tbc Metadata: encoder : Lavc58.6.102 libx265 Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 Hz, 5.1(side), s16p frame= 30 fps=0.0 q=0.0 size= 0kB time=00:00:00.74 bitrate= 0.0kbits/s speed=1.49x frame= 46 fps= 14 q=0.0 size= 0kB time=00:00:01.40 bitrate= 0.0kbits/s speed=0.43x frame= 51 fps= 10 q=-0.0 size= 0kB time=00:00:01.62 bitrate= 0.2kbits/s speed=0.328x frame= 55 fps=9.7 q=-0.0 size= 0kB time=00:00:01.79 bitrate= 0.2kbits/s speed=0.315x frame= 57 fps=8.7 q=-0.0 size= 0kB time=00:00:01.86 bitrate= 0.2kbits/s speed=0.284x On 12/7/2017 23:17, Lou Logan wrote:
I am using x265, here is my log: [Inline image] + onhefpdkecjhpigp.png 442k (image/png) For future reference please copy and paste the text of your command and
On Thu, Dec 7, 2017, at 12:13 PM, George Nistor wrote: the console output instead of making an image of the text. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
2017-12-07 22:30 GMT+01:00 George Nistor <georgenistor@live.com>:
Incompatible pixel format 'yuv420p10le' for codec 'libx265', auto-selecting format 'yuv420p'
Your x265 encoding library was compiled without 10-bit support, this cannot be fixed within FFmpeg. Carl Eugen
2017-12-07 21:41 GMT+01:00 George Nistor <georgenistor@live.com>:
How should be done 10 bit encoding? 1. By selecting -profile main10 or others like
* main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra
or by selecting 2. pixel profile as yuv422 10le etc..
The second option works here if libx265 supports 10-bit encoding (this has to be selected at build-time). For x264, you have to choose if you link against 8, 10 or 12-bit. The first option cannot work reliably with FFmpeg for several reasons imo. Carl Eugen
is any way to get a ffmpeg static with 10bit support? Thanks George On 12/8/2017 02:26, Carl Eugen Hoyos wrote:
2017-12-07 21:41 GMT+01:00 George Nistor <georgenistor@live.com>:
How should be done 10 bit encoding? 1. By selecting -profile main10 or others like
* main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra
or by selecting 2. pixel profile as yuv422 10le etc.. The second option works here if libx265 supports 10-bit encoding (this has to be selected at build-time). For x264, you have to choose if you link against 8, 10 or 12-bit.
The first option cannot work reliably with FFmpeg for several reasons imo.
Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
I am still a little bit confused Does Zeranoe static build support x265 (HEVC) 10 bit encoding? or I have to build myself to support it? If so can you provide me with the option for configure? I would like to build with mingw, looks more simple. George Nistor On 12/8/2017 02:26, Carl Eugen Hoyos wrote: 2017-12-07 21:41 GMT+01:00 George Nistor <georgenistor@live.com><mailto:georgenistor@live.com>: How should be done 10 bit encoding? 1. By selecting -profile main10 or others like * main10, main10-intra * main422-10, main422-10-intra * main444-10, main444-10-intra or by selecting 2. pixel profile as yuv422 10le etc.. The second option works here if libx265 supports 10-bit encoding (this has to be selected at build-time). For x264, you have to choose if you link against 8, 10 or 12-bit. The first option cannot work reliably with FFmpeg for several reasons imo. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org<mailto:ffmpeg-user@ffmpeg.org> http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org<mailto:ffmpeg-user-request@ffmpeg.org> with subject "unsubscribe".
2017-12-08 18:44 GMT+01:00 George Nistor <georgenistor@live.com>:
I am still a little bit confused Does Zeranoe static build support x265 (HEVC) 10 bit encoding?
I don't know.
or I have to build myself to support it?
This is always an alternative.
If so can you provide me with the option for configure?
No, because the libx265 build process (that is relevant for 10bit hevc encoding) is very different from the FFmpeg build process, I don't think there is an "option", there is a GUI where you select multi-bit encoding iirc. Please do not top-post here, please fix your quoting, Carl Eugen
participants (4)
-
Carl Eugen Hoyos -
George Nistor -
Lou Logan -
Moritz Barsnick