Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#21 | Link | |
Registered User
Join Date: Dec 2011
Posts: 192
|
Quote:
Last edited by vdcrim; 3rd July 2013 at 12:56. Reason: updated link to the final version |
|
![]() |
![]() |
![]() |
#22 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
thank you for demo
![]() Quote:
And the author said: "Conversion from a different input fps to output fps is not accurate" and I'm working on a lot of sources, most of them have output fps =\= input fps (Whether vfr or cfr) So I think I can create the chapter by vfr.py and then convert the chapter to qpfile Because whatever the input fps different from the output fps, the chapter is Time Stats So when I convert it to qpfile, I can choose the new fps for new video as I want Thank you in advance Last edited by real.finder; 1st July 2013 at 05:20. |
|
![]() |
![]() |
![]() |
#23 | Link |
Registered User
Join Date: Dec 2011
Posts: 192
|
From what I see the frame numbers are corrected before writing them to the qpfile when the output fps is different from the input. That means that vfr.py and the macro above should produce the same result if all is correct.
To avoid that possible inaccuracy the readme talks about you can instead add a new line of contiguous Trims at the bottom of the script, and then use the --ofps value as --fps and drop the former from the command line, and add --reverse as well. Last edited by vdcrim; 2nd July 2013 at 03:28. |
![]() |
![]() |
![]() |
#24 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
I see, so I have to write new trims line after the new fps
![]() In this case it will not differentiate much than I wrote qpfile manually Also, vfr.py work from the trims only, it is not convert chapter to qpfile anyway, thank you |
![]() |
![]() |
![]() |
#25 | Link |
Registered User
Join Date: Dec 2011
Posts: 192
|
I've never used vfr.py's fps convertion option and can't really talk about its possible inaccuracy, but anyway as the chapter file and the qpfile are created from the same corrected frames/times the frames in the qpfile should match the chapter starting times. If I understand well the thing that could be not completely exact is those starting times. So you would still have to write new trims anyway. Better try asking RiCON/wiiaboo about this.
|
![]() |
![]() |
![]() |
#28 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
from vfr.py Thread
"Can output a qpfile with converted frames meant to be used for an ivtc'd encode using non-ivtc'd frames (feature inspired by automkvchapters) (not completely accurate, obviously);" and like I say, I need a chapter to qpfile converter Because I work on sources not need to trim and have a chapter already thank you again |
![]() |
![]() |
![]() |
#29 | Link | ||
Registered User
Join Date: Dec 2011
Posts: 192
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#33 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
hi, I have two mod
Insert Trims from bookmarks MOD (single-line).py to make a full trims line from 1 bookmark or more --------- QP file from Matroska chapter file (IDR).py same as "QP file from Matroska chapter file" but the qp file will be I (IDR) instead of k, useful for open-gop, more details here ---- edit: another mod macros https://forum.doom9.org/showthread.p...49#post1770449 Last edited by real.finder; 2nd July 2017 at 04:58. |
![]() |
![]() |
![]() |
#34 | Link | |
Registered User
Join Date: Dec 2011
Posts: 192
|
Quote:
|
|
![]() |
![]() |
![]() |
#35 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
I did't notice anything, but for more safety, and good place to cut without re-encoding
__________________
See My Avisynth Stuff |
![]() |
![]() |
![]() |
#36 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
hi
I did some edit, in "time2ms" and make "QP file from Matroska chapter file" work with mp4 chapters too, I change the name to "QP file from chapter file" edit: added .ogm too mod 3 for fix some float cases github https://github.com/realfinder/AvsP-macros
__________________
See My Avisynth Stuff Last edited by real.finder; 5th March 2020 at 00:36. |
![]() |
![]() |
![]() |
#38 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,549
|
I did try to make this https://github.com/realfinder/AvsP-m...%20Subtitle.py
it work but sometimes it not accurate, I already try random fix but I think there are something missing, maybe peoples who has knowledge in vsfilter or libass can explain how to correctly convert subtitle time to frames edit: I get an answer in irc.libera.chat/#libass, ceil(start timestamp in seconds * frames per second)
__________________
See My Avisynth Stuff Last edited by real.finder; 28th May 2021 at 17:40. |
![]() |
![]() |
![]() |
Tags |
avisynth, avsp, ordered chapters, subtitles |
Thread Tools | Search this Thread |
Display Modes | |
|
|