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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th September 2024, 16:09   #21  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,518
Quote:
Originally Posted by jay123210599 View Post
How do I remux a mkv file?

Use mkvtoolnix-gui, add the file, push "start multiplexing"


Quote:
Originally Posted by jay123210599 View Post
How do I use that for my vspreview script?

add the line to your script after the source filter . It will look like something like this


Code:
clip = core.ffms2.Source(path to video)
clip = core.text.ClipInfo(clip)
clip.set_output()
poisondeathray is offline   Reply With Quote
Old 27th September 2024, 14:27   #22  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 178
Quote:
Originally Posted by poisondeathray View Post
What does

Code:
clip = core.text.ClipInfo(clip)
say about the length (frame count), and fps ?
@poisondeathray When using ffsm2. the length is 30926 frames and the fps is 24000/1001 (23.976024).
jay123210599 is offline   Reply With Quote
Old 27th September 2024, 15:32   #23  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,518
Quote:
Originally Posted by jay123210599 View Post
@poisondeathray When using ffsm2. the length is 30926 frames and the fps is 24000/1001 (23.976024).

30926 frames @ 24000/1001 CFR should be 21:29.871. Neither 23 minutes, or 18 minutes. Where are you getting 18 minutes from ?

Something might be wrong with that specific video - do the other source filters lsmash and bestsource give same result ?

If you check another random video, is it ok? Is problem only this specific video?


Did you try remuxing and testing again ?

When you open this video in vdub2 directly, what is the framecount and duration ?

What is the audio duration ?

Where is the full mediainfo report ? What other streams are there ? File size is 160MB, but video stream is only 105MB .
poisondeathray is offline   Reply With Quote
Old 28th September 2024, 23:54   #24  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 178
Quote:
Originally Posted by poisondeathray View Post
30926 frames @ 24000/1001 CFR should be 21:29.871. Neither 23 minutes, or 18 minutes. Where are you getting 18 minutes from ?

Something might be wrong with that specific video - do the other source filters lsmash and bestsource give same result ?

If you check another random video, is it ok? Is problem only this specific video?


Did you try remuxing and testing again ?

When you open this video in vdub2 directly, what is the framecount and duration ?

What is the audio duration ?

Where is the full mediainfo report ? What other streams are there ? File size is 160MB, but video stream is only 105MB .
Wait, I get it now. My video has two audio streams, one that last for 23 minutes and one that last for 21.

Last edited by jay123210599; 29th September 2024 at 00:26.
jay123210599 is offline   Reply With Quote
Old 8th October 2024, 08:52   #25  |  Link
LightArrowsEXE
Mt. Fuji Encoding Alumni
 
LightArrowsEXE's Avatar
 
Join Date: Nov 2016
Location: Netherlands
Posts: 13
Quote:
Originally Posted by jay123210599 View Post
"WARNING: Video Node 1: Had to assume these props which were unspecified or non-valid for preview <"_Matrix, _Primaries, _Transfer>"
Quote:
Originally Posted by _Al_ View Post
That is vspreview warning most likely because like any other previewer, it has to change vs.VideoNode (your clip) into rgb. So if those values are not in props (they were not read from a source plugin) it has to guess and default.
Bit late of a response, but this is correct. I've made this warning a bit clearer, so hopefully it should be easier to understand should you run into it again.

Code:
2024-10-08 09:52:06.681: root: WARNING: Video Node 1: The following frame properties had to be assumed for previewing: <_Matrix=6 (SMPTE ST 170m), _Primaries=6 (SMPTE ST 170m), _Transfer=6 (BT.601)>
You may want to set explicit frame properties instead. See https://www.vapoursynth.com/doc/apireference.html#reserved-frame-properties for more information.

Last edited by LightArrowsEXE; 8th October 2024 at 09:01.
LightArrowsEXE is offline   Reply With Quote
Reply

Tags
vapoursynth, video comparison, video player

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.