Burn in TimeCode

Questions and answers on how to get the most out of FFAStrans
fabrice
Posts: 21
Joined: Tue Dec 08, 2015 1:22 pm

Burn in TimeCode

Post by fabrice »

Hi

There is a "burn in TC" in your Filters, but the frames are displayed as 1000/s instead of frame.
Is there a way to burn a tc with frames ?

Best regards

Fabrice
admin
Site Admin
Posts: 1658
Joined: Sat Feb 08, 2014 10:39 pm

Re: Burn in TimeCode

Post by admin »

What fps are your source and can you please post a screenshot of what the tc looks like on video?

-steipal
fabrice
Posts: 21
Joined: Tue Dec 08, 2015 1:22 pm

Re: Burn in TimeCode

Post by fabrice »

Hi Steipal

We are working mainly with 23,98, 24, 25 fps.
The TC I have on the final video is something like 01:23:45:626 instead of 01:23:45:15
admin
Site Admin
Posts: 1658
Joined: Sat Feb 08, 2014 10:39 pm

Re: Burn in TimeCode

Post by admin »

I have found a bug concerning 23.98 fps video and it's fixed for the next release (0.7.3) . Thanks for reporting! :-) I guess you don't have the issue on 24 and 25 fps video?

-steipal
fabrice
Posts: 21
Joined: Tue Dec 08, 2015 1:22 pm

Re: Burn in TimeCode

Post by fabrice »

That's right. 24fps and 25fps work fine.
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Burn in TimeCode

Post by Mahmoud Rady »

Hi There, I'm using V0.9.4.0 and there is still an issue when burning the 23.976 FPS time codeon my clips. it 's not accurate.
admin
Site Admin
Posts: 1658
Joined: Sat Feb 08, 2014 10:39 pm

Re: Burn in TimeCode

Post by admin »

Hi Mahmoud Rady, thank you for using FFAStrans and welcome to the forum! :-)

Can you be a bit more specific? In what way is it not accurate?

-steinar
Mahmoud Rady
Posts: 29
Joined: Tue Sep 17, 2019 10:49 am

Re: Burn in TimeCode

Post by Mahmoud Rady »

Hi Steinar, would you please check the attached screen shots and let me know if this can be fixed?

on Premiere, the project frame rate is at 23.976
Project FPS.PNG
Project FPS.PNG (4.49 KiB) Viewed 9336 times
the project starts at 00:00:00:00
at 00:00:41:16 the clip jumps to 00:00:41:19 "2 frames skipped"
at 00:02:05:04 the clip jumps to 00:02:05:07 "2 frames skipped"

the source file is 23.976 and the timecode node is on the default setting.
Project FPS.PNG
Project FPS.PNG (4.49 KiB) Viewed 9336 times
after 3 minutes.PNG
after 3 minutes.PNG (363.47 KiB) Viewed 9336 times
Attachments
Start 00.PNG
Start 00.PNG (712.35 KiB) Viewed 9336 times
emcodem
Posts: 1631
Joined: Wed Sep 19, 2018 8:11 am

Re: Burn in TimeCode

Post by emcodem »

This is easily reproduceable for me: Just take a source file that has 23.976 Framerate and send it to a workflow that has AV Decode->Timecode->Encode->Deliver. Voila, right after 00:00:41:16 (Frame number 1000), the next 2 Frames are missing.

The error seems to come from the ShowSMPTE Function within Avisynth.

This avisynth command, which is generated by the ffastrans "Timecode" processer, will bring up the mentioned error at Frame 1000 (= timecode 00:41:16)

Code: Select all

m_clip = ShowSMPTE(m_clip, fps=23.976, offset="00:00:00:00", x=160, y=452, font="arial", size=53, text_color=$ffffff)
Whereas this command will not bring up the error (just the fps Argument is omitted):

Code: Select all

m_clip = ShowSMPTE(m_clip, offset="00:00:00:00", x=160, y=452, font="arial", size=53, text_color=$ffffff)
I propose to @admin as a solution, in the "Timecode" node, at the "Force FPS" Dropdown, when the value "None" is selected, then omit the "fps" Parameter for the ShowSMPTE function... at least for a short term solution.
Last edited by emcodem on Wed Sep 25, 2019 3:58 pm, edited 2 times in total.
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1631
Joined: Wed Sep 19, 2018 8:11 am

Re: Burn in TimeCode

Post by emcodem »

Mahmoud Rady wrote: Tue Sep 24, 2019 8:23 pm ...would you please check the attached screen shots and let me know if this can be fixed?
Hey Mahmoud,
a possible Workaround might be connected to what exactly your workflow is doing, will you explain or better upload your workflow please?
My first attempt would be to get rid of any avisynth nodes in the workflow and rebuild their functionality in a custom ffmpeg node...

Another attempt might be to replace the Timecode node by a custom avisynth processor and insert this code

m_clip = ShowSMPTE(m_clip, offset="00:00:00:00", x=160, y=452, font="arial", size=53, text_color=$ffffff)

thanks!
emcodem, wrapping since 2009 you got the rhyme?
Post Reply