View Single Post
Old 20th May 2019, 23:30   #9  |  Link
Nematocyst
Registered User
 
Join Date: May 2004
Location: Albuquerque, NM
Posts: 78
Quote:
Originally Posted by Lypheo View Post
You need to write the timecodes to a file and then mux them into the video.

Code:
vspipe --y4m <foo.vpy> --timecodes timecodes.txt - | ffmpeg -i pipe: -c:v libx265 -preset veryslow -crf 20 -vf "nlmeans=s=10" -y "outfoo.mkv"
Then:

Code:
mkvmerge --output finalfoo.mkv --timestamps 0:timecodes.txt outfoo.mkv
Thank you. I tried this method and it worked fine. I ended up with a video of 30.303030 according to vlc's codec information. But whatever, it looks and sounds right except the AR issue.

[edit]
Fixed the AR issue running:
Quote:
ffmpeg -i finalfoo.mkv -aspect 720:540 -c copy finalfoo2.mkv
I'm assuming adding "-aspect 720:540" in the encoder line (2nd stage) above would also work.

Last edited by Nematocyst; 20th May 2019 at 23:46. Reason: AR fix
Nematocyst is offline   Reply With Quote