Avidemux, Imx264, AviSynth257, .ssa .. Crash T_T

If you have questions about compression/encoding/converting look here.
Locked
User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Avidemux, Imx264, AviSynth257, .ssa .. Crash T_T

Post by post-it » Mon Dec 24, 2007 3:07 pm

.. a few questions began to pop-up while trying to correct a current series in MKv format "the sub's won't display" and now I'm wondering if I'm doing this right???

MeGui to seporate the .264 & .aac files ... plus extracted the .ass and converted it to a useful .ssa file.

Avidemux should have had no problem with just adding the .ssa file to the mix in Copy mode ( using the GTK+ pack ) .. and .. then .. the problems started!

As of 14 hours ago, I've tryed everything I can understand to re-built this file ( MKv or MP4; I don't care which at this point .. anything but Xvid >_< ) and it just won't re-combine without crashing T_T !!!

Lmx264 is not co-operating either .. any idea's on a script or a tutorial that can help me recombine this nightmare ... PLEASE!!!!

PS.. how the heck do they get their captured video's to look soo nice ?? I'm yet to figure that out also T_T .. maybe some New kind of Editor that no ones ever heard of before .. a script that keeps colors from gradiating ....

:oops:

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Post by post-it » Mon Dec 24, 2007 3:27 pm

.. Oh, one other question; is there an Editor that works with .h264 files ???

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Mon Dec 24, 2007 4:54 pm

Instead of messing with the MKV, just tell VSFilter to not pre-buffer the subs (i.e. uncheck the 'Pre-buffer subpictures' option in the config). That tends to fix the problem of subs not showing up. Also make sure that it isn't a case where the default subtitle stream is actually a dummy so that the real subs don't show automatically and annoy the user - although this would be more relevant to AMVs (currently, this is how I treat subtitles in my own videos, and Bakadeshi used this tactic on his most recent release as well; I'm not aware of other instances of it, though), fansubs wouldn't really apply here.

Otherwise, extract the subtitle stream (and leave it in ASS format), then use:

Code: Select all

[source loader; DirectShowSource or FFmpegSource with MKV file]
TextSub("subtitles.ass")
Which will hardcode the subs to the video. Use of TextSub requires a copy of VSFilter.dll to be in AviSynth's plugins directory or loaded with LoadPlugin.


PS.. how the heck do they get their captured video's to look soo nice ?? I'm yet to figure that out also T_T .. maybe some New kind of Editor that no ones ever heard of before .. a script that keeps colors from gradiating ....
gradfun2db is a debanding filter. Insanely-high quality encodes tend to be the product of the encoder using similarly high-quality sources, and for recent shows, more than likely taking an aggressive IVTC measure (very sensitive TFM/TDecimate settings or something completely insane like using YATTA to do it manually) but otherwise simply doing light filtering elsewhere so as not to overfilter the source.

The actual RAWs probably originated either from A) R2 DVD rips which were obtained the way most groups get their RAWs, B) the few true high-def series that have aired (in which case, the source is usually downsampled to standard-def resolutions from the high-def RAW), or C) R2 DVDs themselves which are in the encoder's physical possession.

Using higher bitrates also doesn't hurt (and is actually the instance where using gradfun2db will be the most use - heavy compression will negate the benefit, but on high-bitrate encodes that would retain fine details like that instead of creating them, it helps).

For instance, this is my script when working with rather clean DVD footage (which I use as a template script for DGIndex, hence the __vid__ part):

Code: Select all

MPEG2Source("__vid__", ipp=true, cpu=4)
deint = TDeint(mode=2, mtnmode=3, blim=100)
TFM(order=-1,mode=5,PP=7,field=-1,slow=2, clip2=deint)
TDecimate(mode=1)
AssumeFPS(24)
deen("w3d",2,8,8,8,8)
gradfun2db(2.0)
ConvertToRGB24()
The AssumeFPS and ConvertToRGB24 lines are only in there because of Premiere. Afterwards, I use a pretty much maxed-out encoding profile in MeGUI, and use crf - aka Constant Quality - 18 (although I can see the benefit of using that as a rough first pass and then using 3-pass to refine it, but I'm not that masochistic).

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Mon Dec 24, 2007 4:58 pm

Qyot27 wrote:The actual HQ RAWs probably originated either from A) R2 DVD rips which were obtained the way most groups get their RAWs, B) the few true high-def series that have aired (in which case, the source is usually downsampled to standard-def resolutions from the high-def RAW), or C) R2 DVDs themselves which are in the encoder's physical possession.
Fixed, and also, there is the possibility the one obtaining the RAW for the group is doing so by stream dumping the original Japanese broadcast, in which case the group is working with an MPEG-2 stream (as I don't know if Japan has started using H.264 for broadcasts yet or not, Europe is starting to or plans on switching to it soon). This - and the case of having the physical DVD to work with - are the only times the group's encoder will probably have to use TFM/TDecimate at all, as the other options should already be progressive.

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Post by post-it » Tue Dec 25, 2007 8:55 am

.. THx ^_^ .. I already used to use a Spatial Smoother but it took ~forever~
this should speed me up nicely ^_^

.. I talked with the encoders of those series and they said that everything is done in AviSynth.
[example of their settings:]
Image
.. needless to say; I was shocked to find that they were using the same filters and arrangements as I us .. however òó the settings were quite different òó mu-haha!
[example of combining my settings with theirs:]
Image
.. now THAT's what I've been hunting for .. turned-out pretty good Aeh!??

hmm .. the left side of her hair still doesn't look right >_< now what filter is that messing-up X_X ???

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Post by post-it » Tue Dec 25, 2007 10:46 am

.. never mind ^^ my bad ....

Thanks again ^_^

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Post by post-it » Sun Dec 30, 2007 9:05 pm

.. update:

.. ok, I admit defeat here!
Image
.. on the left side of the picture, where the Purple mixxes with the black line in her hair, I am stumped!!!
.. I've tryed DeRainbow, deen, a color alignment filter from MSU to rebuild color smiring, even Ghosting repairs with [ another program ] and still not luck!

..what am I missing here ?? some kind of quick release filter for Toons ??

Locked

Return to “Conversion / Encoding Help”