The converttoyv12() is superfluous but acts as a no-op if the source is already in this format. It's not harmful to have it there.
The addborders, spline16resize and MCJMFPS (this is the motion compensation; I did advise earlier to deselect it from the preferences
and choose one of the other hard frame rate conversion routines) I don't know why they're there. Provide me the FLV source and the avs script
you're using and and I'll take a look.
I can find this https://www.youtube.com/watch?v=mnauDzs-WJA
but this gave a WEBM file when I downloaded with youtube-dl
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 43 of 43
Thread
-
-
-
I wanted to mention that my log does not contain as much info as the OP's log,
for example the AVSscript1 section. I'm wondering if a debug mode has been turned on somewhere.
Edit - this is the reason the addborders and resize were in the script - you did not correct the bad aspect ratio.
I recreated it with one of my test scripts
The best things to do would be to upgrade to the 289 alpha and delete this key from the registry before running it -
then it will be clean (you'll have to add/check your path preference but it should not take long)
HKEY_CURRENT_USER\Software\AVStoDVD
BY the way, you can see from the script another technique that A2D can do. Instead of using pulldown
to convert 25 > 29.97, it can slow down the frame rate to 23.976, sync the audio, and do pulldown to 29.97 in HCenc.
This is useful for PAL movies if you want to remove the typical 4% speedup when converting to NTSCLast edited by davexnet; 2nd Feb 2020 at 21:47.
-
The converttoyv12() is superfluous but acts as a no-op if the source is already in this format.
EDIT : Alright, this was answered by “jagabo” above.
The FLV video I used (attached file) is longer (7m12s), and no longer available (it was downloaded in 2011, YouTube's management of video formats has changed a lot in the mean time, and how downloading utilities deal with them must have changed as well). For all the others I could re-download a slightly better quality stream in WEBM with 48kHz audio (so no re-sampling necessary). With youtube-dl, the -F switch (upper-case "F") displays all the available formats for a given URL. For this one you found, MP4 and WEBM are available up to 480x360. By default youtube-dl chooses the one it identifies as the “best”, which is not always actually the best one. But it's possible to select either one, or a combination of one video stream and one audio stream, with the -f switch (lower case "f"). As a test I downloaded 4 different streams and noted the parameters as identified by MediaInfo :
Code:youtube-dl -f 43+251 https://www.youtube.com/watch?v=mnauDzs-WJA -o "YT - %(title)s [%(id)s -f 43+251].webm"
Code:youtube-dl -f 134+140 https://www.youtube.com/watch?v=mnauDzs-WJA -o "YT - %(title)s [%(id)s -f 134+140].mp4"
Code:youtube-dl -f 243+251 https://www.youtube.com/watch?v=mnauDzs-WJA -o "YT - %(title)s [%(id)s -f 243+251].webm"
Code:youtube-dl -f 18 https://www.youtube.com/watch?v=mnauDzs-WJA -o "YT - %(title)s [%(id)s -f 18].mp4"
But, surprisingly, the WEBM video here (first one) is in much better quality than the FLV one I have, despite being in lower resolution.
480x360 WEBM resized to 640x480
720x480 FLV resized to 640x480
So I'd be interested in having the complete sequence in this quality...
Somewhat related question : I know that video downloaded from YouTube are bound to be in low quality anyway, and I don't expect to get a pristine result, but one in particular has quite egregious blocking artifacts :
Is there any kind of filtering that could improve this ? (I made that conversion from the WEBM stream in 352x288 which is the best one available now. The former conversion had been made from a MP4 stream in the same resolution but slightly blurrier, with Magix Video Deluxe and its included MainConcept encoder rather than Avisynth + HCEnc ; I'm wondering if the extra sharpness is a good thing in this case, as it makes those artifacts more conspicuous overall. Perhaps using BilinearResize rather than Lanczos4Resize would slightly improve the outcome.)Last edited by abolibibelot; 2nd Feb 2020 at 22:17.
-
Edit - this is the reason the addborders and resize were in the script - you did not correct the bad aspect ratio.
The best things to do would be to upgrade to the 289 alpha and delete this key from the registry before running it -
then it will be clean (you'll have to add/check your path preference but it should not take long) -
If your video has macroblock artifacts use a deblocking filter before sharpening. Like deblock_qed().
-
The alpha is stable:
Version history / Release notes / Changelog
AVStoDVD release 2.8.9 Alpha 190616 (June 16th, 2019)
- Some bugs fixed
- Added support to PGS BluRay subtitles
- Added handling and display of MediaInfo BitDepth video tag
- Added support to 8 channels audio source (Downmix.avsi script file updated)
- Improved Muxing routine: better errors handling and switch to FFmpeg (instead of Mplex) when no audio source is present
- Improved usage of FFMS2: now YV12 colorspace is always specified (A2DSource external AviSynth function updated as well)
- Improved AviSynth program info retrieving routine (now using AVSMeter)
- LAV Filters updated to release 0.74.1
- AVSMeter updated to 2.6.5.1 (2.6.5 modded release to improve reading speed)
Since you're going to upgrade, best get rid of the old registry key and start fresh - only have to do it once.
I noticed the Wendy Williams clip from Youtube was surprising clean - try and use it.
The O'Reilly clip is really poor, I doubt if there is much you can do. You could try deblock, you can turn it on in A2d
title edit/avisynth/enhance tab
There are some members of the forum who excel in this kind of restoration (jagabo,manono, etc,etc)
but this clip is really poor and I would not expect too much -
So, with AVStoDVD 2.8.9 and after deleting that registry key, same problem, I still can't correct the aspect ratio... é_è
Oh wait... It doesn't work with "1.33", but it does work with "1,33", despite the fact that the default value was displayed as "1.5" ! è_é (But it still doesn't work with "4:3" or "4/3" which are more accurate...)
And I still get those unnecessary lines :
Code:Video = Video.ConvertToYV12() Video = Video.AddBorders(0,30,0,30) Video = Video.Spline16Resize(720,480) Video = Video.MCJMFPS(29.97)
I noticed the Wendy Williams clip from Youtube was surprising clean - try and use it.
The O'Reilly clip is really poor, I doubt if there is much you can do. You could try deblock, you can turn it on in A2d
Tried Deblock, it does nothing at the default quant=25 value, blurs the artefacts with higher values like quant=40 but then the whole frame gets blurred and it loses detail, of which there's isn't much to begin with. What are the aOffset / bOffset supposed to change ? Even at the maximum value they seem to do nothing. And deblock_qed() doesn't do better, it even seems less efficient, despite the higher number of parameters. Isn't there a way to apply such filtering on moving portions only ?
Well, at least the audio is decent... é_è
If your video has macroblock artifacts use a deblocking filter before sharpening. Like deblock_qed().
Noone has any clue regarding the subtitles issue ?
It's very weird because if I watch the individual VOB, the subtitles are displayed normally, but if I open the whole DVD folder and watch the same sequence from there, they appear in dark gray as shown earlier. What could possibly explain this ? Is there something wrong in the IFO files which could somehow reduce the number of colors of the bitmap images on playback, or replace a color with another ?
EDIT : If I open the VOBs in DVDSubEdit, I see this :
Apparently, all the available colors are black or dark gray. Why is that ? How can I fix that ?
Then I tried "use automatic CLUT", which improves the aspect although it's still not right :
If I set this to "use IFO CLUT", I get the wrong color.
What exactly is "CLUT", and how come the colors are being changed between the VOBs and the DVD ?Last edited by abolibibelot; 3rd Feb 2020 at 03:53.
-
So according to this :
“Try to specify subtitles.rgb from subdirectory "data" as Palette in title properties.”
And according to this :
“You have to use a palette. In the DATA subdirectory of DVDStyler there are two palettes files (colors16.rgb, subtitles.rgb).
Alternatively you may edit the color of the ISO with DVDSubEdit.”
Alright then... But how to create a “palette” in the right / expected format ? SubtitleCreator can export a palette in three formats : .ifo, .mxp, .clb ; only the .mxp one is in plain text. In it I can see this :
Code:Section=Settings { Item=Palette { Name=DefaultPalette Color 0=0, 48, 250 Color 1=252, 0, 0 Color 2=0, 0, 0 Color 3=255, 255, 255 Color 4=1, 253, 2 Color 5=254, 0, 253 Color 6=253, 206, 3 Color 7=0, 122, 121 Color 8=123, 123, 123 Color 9=224, 224, 224 Color 10=122, 0, 5 Color 11=0, 123, 4 Color 12=0, 23, 118 Color 13=219, 0, 251 Color 14=219, 122, 4 Color 15=123, 0, 126 } }
Code:000000 FFFFFF 000000 FFFFFF 000000 FFFFFF 000000 FFFFFF 000000 FFFFFF 000000 FFFFFF 000000 FFFFFF 000000
And again, how can I get DVDStyler to enable the subtitles by default ? -
Is this about the best that can be done with DVD subtitles ?
https://sourceforge.net/p/dvdstyler/discussion/318795/thread/e4ab351e/
I find those nice looking and while other programs can produce nice looking subtitle EasySUP is the only program that I know of that supports the ass tags needed for the subtitles in the link above.
How could this be explained, and fixed ?
https://www.youtube.com/watch?v=TdRcJeIFzHM -
For DVDStyler I prefer to use .ass subtitles and convert them to idx/vobsub using EasySUP and mux them with the video using MKVToolnix. .ass subtitles offers much more formatting options than .srt subtitles.
About your black subtitles you need to use a palette. See here @2:30
And then how to make sure that the subtitles will be enabled by default ? Is VLC Media Player reliable to assess how an actual DVD player will behave in that regard ? -
And again, how can I get DVDStyler to enable the subtitles by default ?
Under "Action" for a button you select which subtitle track to use. Notice subtitle and audio is to be selected in the Titleset domain not the VMGM domain. (It's part of the specification for a video-DVD)
[Attachment 51827 - Click to enlarge]
Use a pre-command for the title like subtitle=64;. See p 14 here https://www.dvdstyler.org/docs/dvd_styler_guide.pdfLast edited by videobruger; 3rd Feb 2020 at 06:19. Reason: Missed image
-
Under "Action" for a button you select which subtitle track to use. Notice subtitle and audio is to be selected in the Titleset domain not the VMGM domain. (It's part of the specification for a video-DVD)
In this case there's a button on the main menu which leads to the main video (Title 1) ; then a second button which leads to a secondary menu with a selection of six extra videos (titles 2 to 7) ; then a third button which leads to another secondary menu with a selection of audio tracks.
Does it mean that if I set the “action” for the first button in the main menu (which is under “VMGM”) it won't work ? Or am I completely confused ? Well, indeed, I just tried, I get a warning : “Please use titleset menu to select subtitle track.” But what exactly is the titleset menu ?
And I don't quite understand this either (from the PDF guide) : “Still, adding 64 to the stream number shows all subtitles in tracks with non-forced subtitles. Track 64 shows everything in stream 0. Track 62 disables subtitles, and track 63 finds the viewer's default language tag (with stream 0 default).” I don't know how I could have guessed “add ‘subtitle=64;’ as a pre-command” from this...
Last edited by abolibibelot; 3rd Feb 2020 at 06:38.
Similar Threads
-
How should I convert 1080p 30fps to 29.97fps
By VideoFanatic in forum RestorationReplies: 17Last Post: 21st Oct 2020, 07:48 -
Recommended way to convert interlaced MPEG2 to MP4
By alinescoo in forum Video ConversionReplies: 11Last Post: 6th Dec 2018, 15:38 -
Quick way to convert 720p 30FPS H.264 to Blu-Ray compliant video?
By 87th-E in forum Video ConversionReplies: 5Last Post: 18th Nov 2018, 12:28 -
Is it possible to convert a 60fps DTV stream to 30fps for DVD authoring?
By Xoanon in forum Video ConversionReplies: 13Last Post: 9th Nov 2015, 22:24 -
Need to convert MP4 to FLV format and can't seem to be able to :-(
By shauniedawn in forum Newbie / General discussionsReplies: 11Last Post: 20th May 2015, 10:51