Posts: 11
Threads: 2
Joined: Jun 2017
1. How to get "yuv422p10le" parameter in Hybrid, when encoding with ffv1 codec?
2. How to get "lossless" parameter in Hybrid, when encoding with h265 codec?
2. I noticed that there is custom comman line addition in x265, where I can give parameter "lossless".
Posts: 10.981
Threads: 57
Joined: May 2017
Quote:How to get "lossless" parameter in Hybrid, when
encoding with h265 codec?
- set 'x265->Base->General Settings->Encoding mode' to 'constant quantizer (1-pass)'
- enable 'x265->Base->General Settings->Lossless'
Quote:How to get "yuv422p10le" parameter in Hybrid, when encoding with ffv1 codec?
Not sure I added support for that.
-> will check
Cu Selur
Posts: 10.981
Threads: 57
Joined: May 2017
Checked. Hybrid doesn't support 10bit FFV1 encoding atm., but it's easy to add would have send you a link to a dev version for testing which supports it, but got no clue what OS you use.
Cu Selur
Posts: 11
Threads: 2
Joined: Jun 2017
(08.11.2017, 19:17)Selur Wrote: Checked. Hybrid doesn't support 10bit FFV1 encoding atm., but it's easy to add would have send you a link to a dev version for testing which supports it, but got no clue what OS you use.
Cu Selur
I use Windows 10 and media-autobuild_suite (
https://github.com/jb-alvarado/media-autobuild_suite ), so latest ffmpeg is in use.
Posts: 10.981
Threads: 57
Joined: May 2017
Send you a link to a dev version which uses the input bit depth when FFV1 is used.
(simply extract the download into your Hybrid folder)
Cu Selur
Posts: 11
Threads: 2
Joined: Jun 2017
(08.11.2017, 19:37)Selur Wrote: Send you a link to a dev version which uses the input bit depth when FFV1 is used.
(simply extract the download into your Hybrid folder)
Cu Selur
ffmpeg version N-88612-gce52e430b2 Copyright © 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (Rev1, Built by MSYS2 project)
Posts: 11
Threads: 2
Joined: Jun 2017
Source
General
Complete name : D:\Rendatut\Rumakuru_uusi.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 128 GiB
Duration : 4 min 8 s
Overall bit rate : 4 426 Mb/s
Writing application : Lavf57.25.100
Video
ID : 1
Format : YUV
Codec ID : v210
Codec ID/Hint : AJA Video Systems Xena
Duration : 4 min 8 s
Bit rate mode : Constant
Bit rate : 4 424 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Compression mode : Lossless
Bits/(Pixel*Frame) : 21.333
Stream size : 128 GiB (100%)
Language : English
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : PCM
Format settings : Little / Signed
Codec ID : in24
Duration : 4 min 8 s
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 68.1 MiB (0%)
Language : English
Default : Yes
Alternate group : 1
Other
ID : 3
Type : Time code
Format : QuickTime TC
Duration : 4 min 8 s
Time code of first frame : 01:00:00:00
Time code, striped : Yes
Language : English
Default : No
Destination FFV1
General
Unique ID : 173793841397759339326556383450505425180 (0x82BF79F0BFFE4F4BA599FAEC3C80311C)
Complete name : D:\Rendatut\Rumakuru_uusi-archive.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 35.9 GiB
Duration : 4 min 8 s
Overall bit rate : 1 242 Mb/s
Encoded date : UTC 2017-11-08 18:42:43
Writing application : mkvmerge v12.0.0 ('Trust / Lust') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5 / Lavf58.2.100
Encoding Gui : Hybrid 2017.11.03.1
Video
ID : 1
Format : FFV1
Format version : Version 3.4
Format settings, GOP : N=1
Codec ID : V_MS/VFW/FOURCC / FFV1
Duration : 4 min 8 s
Bit rate : 1 238 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Compression mode : Lossless
Bits/(Pixel*Frame) : 5.969
Time code of first frame : 01:00:00:00
Time code source : Matroska tags
Stream size : 35.7 GiB (100%)
Writing library : Lavc58.1.100 ffv1
Language : English
Default : Yes
Forced : No
coder_type : Range Coder
MaxSlicesCount : 24
ErrorDetectionType : Per slice
Audio
ID : 2
Format : A_QUICKTIME
Codec ID : A_QUICKTIME
Duration : 4 min 8 s
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Stream size : 68.1 MiB (0%)
Language : English
Default : Yes
Forced : No
10-bits should be selectable, because not every files are 10-bit. I don't know if audio passthrough all is right way to straight copy, no sound is heard. The audio metadata is not moved to correctly.
Posts: 10.981
Threads: 57
Joined: May 2017
Quote:Audio
ID : 2
Format : PCM
Format settings : Little / Signed
Codec ID : in24
Duration : 4 min 8 s
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 68.1 MiB (0%)
Language : English
Default : Yes
Alternate group : 1
to
Quote:Audio
ID : 2
Format : A_QUICKTIME
Codec ID : A_QUICKTIME
Duration : 4 min 8 s
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Stream size : 68.1 MiB (0%)
Language : English
Default : Yes
Forced : No
seems like mkvmerge keeps the mov wrapper around the pcm stream.
Would need a (small) sample to play around to see if I can somehow convince it to not do that.
Quote:10-bits should be selectable, because not every files are 10-bit.
Since FFV1 is meant as a lossless codec I think it sticking with the input is normally the right way to go, but I'll think about it.
Posts: 11
Threads: 2
Joined: Jun 2017
I used to in second time pcm to audio encoding, 24bit Litlle Endian and it works now. Thanks!