View Single Post
Old 9th January 2019, 04:14   #30  |  Link
FLX90
Registered User
 
Join Date: Nov 2018
Posts: 34
According to this I changed my command:

Quote:
NB: If your source file is not natively the correct framerate you will have to add the following settings (example for 23.976):

--fps 24000/1001 --force-cfr
I think I have found the perfect command for me:
Code:
x264-r2935-545de2f.exe --fps 24000/1001 --force-cfr --bitrate 17971 --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o tempx.264 LADY_VENGEANCE.Title0.mkv
x264-r2935-545de2f.exe --fps 24000/1001 --force-cfr --bitrate 17971 --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o temp.264 LADY_VENGEANCE.Title0.mkv

OT:
Another question. Don't want to open a new thread.

This is how my final muxing command looks like:
Code:
ffmpeg^
 -r 24000/1001 -i video -i SYMPATHYFORMRVENGEANCE.Title5.mkv -fix_sub_duration -i SYMPATHYFORMRVENGEANCE.Title5_german_forced.srt -i SYMPATHYFORMRVENGEANCE.Title5_german.srt^
 -map 0:0 -map 1:1 -map 1:2 -map 2:0 -map 3:0^
 -metadata:s:v:0 handler="AVC"^
 -metadata:s:a:0 language=deu -metadata:s:a:0 handler="DTS-HD Master Audio"^
 -metadata:s:a:1 language=kor -metadata:s:a:1 handler="DTS-HD Master Audio"^
 -metadata:s:s:0 language=ger -metadata:s:s:0 handler="Deutsch (forced)"^
 -metadata:s:s:1 language=ger -metadata:s:s:1 handler="Deutsch"^
 -movflags disable_chpl^
 -c:s mov_text -c:v copy -c:a alac -sample_fmt:a s16p^
 SYMPATHYFORMRVENGEANCE.m4v
I tried to force ffmpeg to read the correct cfr of the input with -r (-i video with raw 264 only for testing, because when I take the video stream from the mkv I get no error but vfr is still taken). But:
Code:
[ipod @ 0000000002fc1100] pts has no value
    Last message repeated 104 times
[ipod @ 0000000002fc1100] pts has no value time=00:02:38.19 bitrate= 715.9kbits/s speed= 307x
    Last message repeated 107 times
[ipod @ 0000000002fc1100] pts has no value time=00:02:38.19 bitrate=1312.4kbits/s speed= 154x
    Last message repeated 71 times
[...]
Does someone know a workaround?

Last edited by FLX90; 9th January 2019 at 04:16.
FLX90 is offline   Reply With Quote