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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd July 2024, 09:19   #201  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Hum, no. But it seems strange to convert from 23.976 fps to 60. Are you sure that SVP converts really to 60 fps without time stretch? That should require to insert frames in addition to duplicated frames. IMO, to avoid this problem, it woulld be better to convert to 47.952 or 71.928 (2 or 3 times the original frame rate).
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 2nd July 2024, 09:44   #202  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 639
I don't know how the framerateconversion is done, but I can imagine it's based on a 24fps --> 60fps grid. Possibly the resulting runtime is a bit shorter since the resulting video is authored to run slightly faster (23.976fps --> 24fps).
When speeding up 23.976fps video, obviously audio also needs to be sped-up to stay in sync.

[EDIT] r0lZ, you beat me to it by seconds :-)
von Suppé is offline   Reply With Quote
Old 2nd July 2024, 09:47   #203  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Or it may be sufficient to specify 60/1.001 (or 59.94) fps instead of 60 ? At least, the mux should be in sync.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 4th July 2024, 07:35   #204  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
I've been using SVP for years with BD3D2MK3D 3D conversions but I run it in real-time, not transcoding.
Enet47 is offline   Reply With Quote
Old 8th July 2024, 19:24   #205  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
Quote:
Originally Posted by r0lZ View Post
Or it may be sufficient to specify 60/1.001 (or 59.94) fps instead of 60 ? At least, the mux should be in sync.
I want to be able to manually fix an MKV file with some AVS code. I was able to do this before by manually splitting it into left and right the modifying the movie.avs file. But this time I just want to run an avisynth commands like "selectevery" on an SBS MKV file.

What tool do you use to convert the file into x264 and MVC? Basically how do you get the files, framecounts etc for x264.exe. I would rather not use x264 but I assume it would be easier for you to answer if it's about a method you are already using. Thanks.

Last edited by Enet47; 8th July 2024 at 19:33.
Enet47 is offline   Reply With Quote
Old 10th July 2024, 10:00   #206  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
Quote:
Originally Posted by r0lZ View Post
Or
Any help on my request?
Enet47 is offline   Reply With Quote
Old 10th July 2024, 16:14   #207  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Not sure I understand what you mean. BD3D2MK3D doesn't convert TO x264 (AVC) and MVC. It takes the AVC and MVC streams from the BD and combine them to SBS. The two video (and audio and subtitles) streams are extracted from the BD with tsMuxeR. The other information, such as the chapters, the frame count and frame rate are extracted from the MPLS with a MPLS parser I have written myself (but some info can also be extracted with tsMuxeR).

Of course, if your input is a MKV created with MakeMKV, things are different. In that case, the streams can be extracted from the MKV with mkvextract. The characteristics of the file can be extracted with tsMuxeR.

Note that usually, a 3D BD is always made of a 16:9 image (usually 1920x1080 or very rarely 1280x720) at 23.976 (more precisely 24/1.001) fps.

The avisynth script is used to convert the elementary video streams to SBS, with the help of the FRIMSource plugin (that can decode the MVC stream).

x264 (or x265) is only used to encode the AVS script to the final h264 SBS stream. It has nothing to do with the resolution, frame rate or frame count. (However, you can pass the frame count as an argument to x264, to let it display accurately the remaining processing time or to stop the encoding before the end of the original video, but that's not absolutely necessary.)

Finally, mkvmerge is used to mux the final MKV.

I hope I have replied to your questions. I can't explain everything in details, as the whole process is very complex, but you can have a look at the produced files or to the source code to understand the principle.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 10th July 2024 at 16:26.
r0lZ is offline   Reply With Quote
Old 10th July 2024, 16:46   #208  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
Quote:
Originally Posted by r0lZ View Post
Not sure I understand what you mean. BD3D2MK3D doesn't convert TO x264 (AVC) and MVC. It takes the AVC and MVC streams from the BD and combine them to SBS. The two video (and audio and subtitles) streams are extracted from the BD with tsMuxeR. The other information, such as the chapters, the frame count and frame rate are extracted from the MPLS with a MPLS parser I have written myself (but some info can also be extracted with tsMuxeR).

Of course, if your input is a MKV created with MakeMKV, things are different. In that case, the streams can be extracted from the MKV with mkvextract. The characteristics of the file can be extracted with tsMuxeR.

Note that usually, a 3D BD is always made of a 16:9 image (usually 1920x1080 or very rarely 1280x720) at 23.976 (more precisely 24/1.001) fps.

The avisynth script is used to convert the elementary video streams to SBS, with the help of the FRIMSource plugin (that can decode the MVC stream).

x264 (or x265) is only used to encode the AVS script to the final h264 SBS stream. It has nothing to do with the resolution, frame rate or frame count. (However, you can pass the frame count as an argument to x264, to let it display accurately the remaining processing time or to stop the encoding before the end of the original video, but that's not absolutely necessary.)

Finally, mkvmerge is used to mux the final MKV.

I hope I have replied to your questions. I can't explain everything in details, as the whole process is very complex, but you can have a look at the produced files or to the source code to understand the principle.
Thanks for the description. I was looking at using X264 because I have an SBS MKV file that I want to run some Avisynth commands on. I could addthose commands in your movie.avs script. But my real problem is that I want to import the SBS file to be used by an Avisynth script like movie.avs. TSmuxer will give me the x264 file, but I can't get the MVC file because it's not a makemkv blu-ray or MKV. The other option will be to convert the SBS MKV to an MVC MKV which I've seen some others have done.

Last edited by Enet47; 10th July 2024 at 17:03.
Enet47 is offline   Reply With Quote
Old 10th July 2024, 17:19   #209  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
To open a MKV with avisynth, I use FFMpegSource2. But for this kind of questions, regarding avisynth and not directly BD3D2MK3D, please post in an avisynth forum. The answers will be more precise than here. Thanks.

Of course, in a SBS file, there is only one single x264 video stream, no MVC stream. If you need to process the two views independently, you must split the SBS view. It's easy. Refer to the avisynth doc.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 10th July 2024 at 17:21.
r0lZ is offline   Reply With Quote
Old 10th July 2024, 18:03   #210  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
Quote:
Originally Posted by r0lZ View Post
To open a MKV with avisynth, I use FFMpegSource2. But for this kind of questions, regarding avisynth and not directly BD3D2MK3D, please post in an avisynth forum. The answers will be more precise than here. Thanks.

Of course, in a SBS file, there is only one single x264 video stream, no MVC stream. If you need to process the two views independently, you must split the SBS view. It's easy. Refer to the avisynth doc.
I try not to bother busy people like yourself, especially when you have created such a useful tool. So I spent some time trying to get this working myself and was not able to do so. I don't need to process the views independently. I kind of already know how to do that with ffmpeg although in this case it fails I assume because of frame count. Anyway I'm trying with staxrip.
Enet47 is offline   Reply With Quote
Old 10th July 2024, 18:28   #211  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Install the FFMS2 plugin. (Put it in the plugins directory of your avisynth and it will be autoloaded, or put it anywhere else and use the LoadPlugin avisynth command to load it for your script only.)
Then, loading the MKV is very simple. Just use the FFMpegSource2 command. Example:

LoadPlugin("path\to\ffms2.dll")
FFMpegSource2("movie.mkv")
The rest is up to you.

You can use Info() to show the information about the MKV (including the number of frames).
I recommend to use AvsPMod (x64!) to check and edit the avisynth script.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 11th July 2024, 11:43   #212  |  Link
Enet47
Registered User
 
Join Date: Jun 2022
Posts: 50
Quote:
Originally Posted by r0lZ View Post
Install the FFMS2 plugin. (Put it in the plugins directory of your avisynth and it will be autoloaded, or put it anywhere else and use the LoadPlugin avisynth command to load it for your script only.)
Then, loading the MKV is very simple. Just use the FFMpegSource2 command. Example:

LoadPlugin("path\to\ffms2.dll")
FFMpegSource2("movie.mkv")
The rest is up to you.

You can use Info() to show the information about the MKV (including the number of frames).
I recommend to use AvsPMod (x64!) to check and edit the avisynth script.
Perfect. Thank you.
Enet47 is offline   Reply With Quote
Reply

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 00:38.


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