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. |
20th May 2015, 03:10 | #381 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
This is important too for an implementer:
"Every 30 frames, this function is called to write to stdout" and "progr is an int 0-100 indicating the percent completed. The caller determines the percent complete from the ratio of the current file position and the size of the file. That way you don't need to know the number of frames in the file." |
30th May 2015, 04:44 | #385 | Link |
Registered User
Join Date: Feb 2014
Posts: 355
|
First, many thanks for L-SMASH works . Second, would someone please help me understand why I can't index this with LSW? I've tried demuxing-remuxing it as a .ts, .m2ts, .mp4, and a fresh .mkv, all of which result in flashbacks when viewing the preview window in MeGUI . FFMS2 and DGAvcIndex index the file without any issues. Thanks for your time.
|
3rd June 2015, 03:35 | #387 | Link |
Registered User
Join Date: Feb 2014
Posts: 355
|
Thanks for your help (and patience), Selur, and for not simply shouting "10 BIT!", not that I would've known what to do even if I'd noticed . Both methods did the job (although the first was three-times faster), so now I've now a new trick for my bag . In your opinion, is there a three-times improvement in quality? I can't see any difference, but my "monitor" is a 14" laptop screen.
|
4th June 2015, 00:34 | #389 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
ffms2 & lsmash leave it default, where SWScale uses a very fast, basic fixed 8x8 pattern grid for >8-bit to 8-bit YUV. For processing & encoding that's good enough. It uses a nicer Floyd-Steinburg noise diffusion for all yuv->rgb.
|
9th June 2015, 22:56 | #394 | Link |
Registered User
Join Date: Jun 2012
Posts: 75
|
Thanks for the info. In fact Ive just checked again and now it works Looks like I had some weird behaviour in AVSPmod. It would say "Access Violation" on MKV files no matter which one I selected. After selecting a .ts file, it seems to handle all MKVs again.
Again thanks for clarifying LSMASH is the only source I use for HD stuff, pretty stable and precise. Not saying its not recommended for SD stuff, I just think DGdecode is more suited for mpeg2 stuff (DVDs). |
10th June 2015, 02:58 | #395 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
To avoid anyone misinterpreting this, I point out that DGDecNV handles AVC, MPEG2, and VC1 in the same frame-accurate manner; there is no special sauce for MPEG2 streams. It handles HD perfectly fine. And finally, it is not buggy for MKVs as you said you experienced with LSMASH. In no way is it specialized for MPEG2 or DVDs.
I would be very surprised if LSMASH didn't also work perfectly fine for MPEG2 and DVDs. Did you experience any issues? Last edited by videoh; 10th June 2015 at 04:11. |
10th June 2015, 08:31 | #396 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
L-SMASH Works will probably not support a set of VOB segments as easily as DGMPGDec did. It will prefer one contiguous source file instead.
But as long as the source is not corrupt, it should handle all supported container and content formats really well. Last edited by LigH; 10th June 2015 at 08:33. |
11th June 2015, 18:20 | #397 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Is there a technical reason why MP4 files can be opened directly without indexing but not MKV files?
Quote:
Last edited by stax76; 11th June 2015 at 18:28. |
|
11th June 2015, 18:56 | #398 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
L-SMASH Works contains two demultiplexers: libavformat and L-SMASH.
The L-SMASH demultiplexer supports only "ISO Media" containers and relies on media file internal index chunks. So it does not need to create an own, but fails if one is missing in the media file or is corrupt. The libavformat demultiplexer does not rely on any media file internal index, therefore it supports also containers which do not even have an internal key frame index; but that means that it must create its own. To support MKV containers while relying on their internal key frame index, it would have to support a third demultiplexer, probably. |
13th June 2015, 10:31 | #399 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
I seem to be getting a weird grey color flash at the beginning of one of my encodes when using L-Smash and MVTools2. It doesn't seem to happen when using FFMS2.
Code:
# Set DAR in encoder to 16 : 9. The following line is for automatic signalling global MeGUI_darx = 16 global MeGUI_dary = 9 LoadPlugin("D:\MEGUI\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("H:\Above The Law (1988) (1)-001.mkv") #crop super = MSuper(pel=2, sharp=1) backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4) backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4) forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4) forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4) MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400) I've tested with Avisynth (2.6final), Avisynth+ (r1825), MVTool2 (v2.6.0.5) and L-Smash works (v785). SAMPLE
__________________
A Man Eating Duck Last edited by AMED; 13th June 2015 at 10:36. |
24th July 2015, 22:01 | #400 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Quote:
Why is it I can successfully index an MKV containing MagicYUV video with MeGUI and ffms2, but when I save the script and try to open it in MPC-HC, it displays an error about not being able to find a video stream. It displays normally in MeGUI's preview. Is it a splitter thing? L-Smash kind of works the same way, except when indexing it creates the index file, then complains about not being able to find the video stream, but if I open MeGUI's Script Creator and load the index file as the input video it works just as ffms2 does. If I save the script and try to load it for encoding though, it's back to the "can't find the video" error. A pic of MeGUI's Script Creator opening an MKV containing MagicYUV video via LWLibavVideoSource. In the background is the Script Creator preview happily displaying the video. If I save the script (keeping the script creator and preview open for the screenshot below) and try to load it for encoding, the result is the error message being displayed in the foreground. I'm curious as to how that'd work....... |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|