hello guys,
sometimes ffmpeg doesn't seem to be able to convert 10bit or 16 bit sources to proper 8bits.
The x264 files seem to be only flagged as 8bits but are still recognised as 10bits by my authoring software (tmpeg authoring works)
Even if I apply an additional -vf "format=yuv420p" before the -pix_fmt yuv420p it's still not recognised compatible in my bluray authoring software. When I index it with avs and do ConvertBits(8).Converttoyv12() it works perfectly fine.
But indexing with AVS just for a simple ConvertBits seems a bit weird so me. I would rather just move files into my cmd batches.
Maybe its just a flag which has to be set in ffmpeg.
So I'm curious have you guys ever heard about an 8bit assurance command in ffmpeg? Which converts from 10 to 8 if necessary or if already 8 flags it properly as 8 if flagged wrong or not flagged at all.
I can't find anything except the posts which say -pix_fmt yuv420p always converts to 8 automatically but that is proven to be wrong
cheers
-Gwar
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
Media info doesn't show Bitdepth here.
When moved into commandline directly and encoded with
Code:-c:v libx264 -pix_fmt yuv420p -profile:v high -level:v 4.1 -preset veryslow -tune film -crf 16 -x264opts bluray-compat=1:force-cfr=1:keyint=24:me=umh:b-adapt=2:vbv-bufsize=20000:vbv-maxrate=35000:merange=24:slices=4:b-pyramid=none:colorprim=bt709:transfer=bt709:colormatrix=bt709:sar=1/1
When I do the same but index it with avs indexed as FFVideoSource(source).ConvertBits(8).ConverttoYV12 () and move the script into the commandline it's recognised by tmpg as compatible.
The mistake probably lies within Tmpeg but as I dont know what it is that bothers it, all I need as an additional 8bit flagger somehow integrated into the ffmpeg commandline to solve this weirdness
sample (YUV422P10.): https://workupload.com/file/vbZNN9YJZFJ -
it's flagged as regular YUV12 but when imported in Tmpgenc it's not recognised as compatible.
Adding "-map_metadata -1" to the command line removes it.
I attached the output from using:
Code:ffmpeg -i c:\Users\Selur\Desktop\test.mov -map_metadata -1 -c:v libx264 -pix_fmt yuv420p -profile:v high -level:v 4.1 -preset veryslow -tune film -crf 16 -x264opts bluray-compat=1:force-cfr=1:keyint=24:me=umh:b-adapt=2:vbv-bufsize=20000:vbv-maxrate=35000:merange=24:slices=4:b-pyramid=none:colorprim=bt709:transfer=bt709:colormatrix=bt709:sar=1/1 g:\Output\test.mp4
users currently on my ignore list: deadrats, Stears555 -
Encoded here with:
Code:-vf format=yuv420p -c:v libx264
Try this file.
If it's still not accepted by your Tmpgenc, change the profile level from 4 to 4.2 and then try again.
You can change the profile level without recoding with clever FFmpeg-GUI. -
thanks guys but both samples were not accepted as compatible by tmpeg . I also tested it with your samples
-
possibly a timestamp issue since the prores source is "23.976" , not 24000/1001 . Tbn is messed up (11988) and that might cause problems with TMPGEnc
selur's encode was also 23976 /1000, not 24000/1001 - Which is invalid for BD (ffmpeg probably just copied over the timestamps)
ffms2 assumes it to be 24000/1001, possibly that's why it works
For ffmpeg direct input you can try
Code:-vf fps=24000/1001
-
Nicely spotted!
users currently on my ignore list: deadrats, Stears555 -
Similar Threads
-
clever FFmpeg-GUI, small FFmpeg UI, fully portable, no installation.
By ProWo in forum Video ConversionReplies: 1237Last Post: 10th Nov 2024, 09:40 -
How to feed output of ffmpeg into another ffmpeg filter?
By BosseB in forum Video ConversionReplies: 3Last Post: 27th Mar 2024, 14:53 -
how do i add libx264 and hevc to ffmpeg when i compile ffmpeg for ubuntu 21
By oduodui in forum Newbie / General discussionsReplies: 2Last Post: 17th Jul 2021, 05:12 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 14th May 2021, 00:14 -
[FFMPEG] Is there a way to remove this part that FFMPEG puts in the meta?
By GEOLINK in forum Newbie / General discussionsReplies: 2Last Post: 1st Feb 2021, 18:51