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. |
|
|
Thread Tools | Search this Thread | Display Modes |
18th March 2010, 21:41 | #1 | Link |
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
Re - encode mpeg2 video track and preserve wierd flags
Anime DVDs usually have wierd flags (VFR or progressive flagged as interlaced or progressive + interlaced fades flagged as interlaced, OR progressive with interleced credits flagged as interlaced).
If i re-enocode the video track from a DVD (demuxed with dgindex) as interlaced on any encoder i will lose quality / eficience. If i encode as pulldown i will have a mess if interlacing / progressive patterns on the movie. My question: Is there any encoder able to re-encode detecting progressive - interlaced ON THE IMAGE and flag the stream correctly Or re-encode detecting the progressive - interlaced on the image and copy the original flags to the destination stream Or Remove those flags and encode detecting the interlaced - progressive on the image and then re-flag with other tool the resulting stream with the flags of the original? Yes this is a little confusing (for me). I dont know why they do that. Why not encode the film sections with the correct pulldown and the interlaced sections as interlaced? Then i could cut and encode each section with the appropiated settings. Thanks
__________________
So, it works or not??? |
20th March 2010, 01:46 | #2 | Link | |
HCenc author
Join Date: Nov 2003
Location: Netherlands
Posts: 570
|
Quote:
It scans every frame to see if it's interlaced or progressive and set the right flags.
__________________
HCenc at: http://hank315.nl |
|
22nd March 2010, 12:00 | #3 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
I do that sort of thing all the time, as long as there aren't too many switches along the way. Say there's a progressive 29.97fps opening, hard or soft telecined episode (to be IVTC'd and encoded as progressive 23.976fps with pulldown), interlaced 29.97fps credits and a hard or soft telecined preview. It's easy enough to split it into 4 sections, encode each as it should be encoded, and then join them with Muxman at the authoring stage.
|
22nd March 2010, 18:17 | #4 | Link |
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
Thanks both of you.
(now the user makes click on the hank315 signature and goes to download a new fresh version of HCE) Manono: DVD re-authoring is something unknow for me: What you use to substitute the original video track with the new you just encoded? (without affecting menus or audio or the DVD stucture) Or that is not possible?
__________________
So, it works or not??? |
23rd March 2010, 18:58 | #5 | Link | |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
Anyway, reencode the movie or episodes or whatever it is, author with Muxman, and then put it back into the original DVD, getting back the menus and anything else you're keeping. using the 'Replace' button of VobBlanker. The free version of DVD-Rebuilder also gives it back to you as originally - with all the original flags intact. If you haven't had encoding or authoring experience, it's a good way to accomplish what you want pretty easily. |
|
24th March 2010, 16:32 | #6 | Link |
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
MY question is what can i use for re-mux the new encoded video track on the dvd in place of the original video track:
VobBlanker + Muxman Yes i tested rebuilder, but i prefer do the encoding myself, and the DVDs i'm re-conding right now are flaged as interlaced but are 99% FILM and y prefer it that way because the encoder encode as progressive with 3:2 pulldown and because trimension works correctly on my old Windvd But i'm not sure if remuxing a video track with different flags (interlaced VS 3:2) will affect the dvd structure in some way (i think not, but i don't have any experience with this) To avoid creating a new thread: Using the tools you mention can i re-encode a PCM / DTS audio track as dolby or mp2 and use it in place of the original track? Or re-encode one (or two) 5.1 dolby track as stereo an remux in place the the original tracks (to save bit rate for the video)? And finally (yes, im abusing of your pacience I like trimension (faking it with avisynth does not look the same for me) Let's say the original DVD is already 4.37 GB so i dont need re-encode (like those anime DVDs with one or two chapters): Can i detect the Film / interlaced sections with a tool (like TIVTC in avisinth maybe) and "copy" the flags to the video stream without re-encoding? (so i can have the video stream flagged as film on the film sections) Thanks
__________________
So, it works or not??? |
25th March 2010, 10:35 | #7 | Link | |||||
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
27th March 2010, 01:17 | #8 | Link |
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
Thank you for your atention:
Trimension is something from Intervideo WinDVD (actually now it's Corel Windvd). It interpolates frames and make a telecined video (23.976) with 60 fps (yes ok, those are fake frames) but it looks VERY fluid (like video from a comon DV home camera or like sports footage). Using Avisynth and MVtools there are some tricks to simulate the effect (there was a disscusion about that right here on this forum), but for me it does not look the same. Read here first: http://en.wikipedia.org/wiki/Trimension If the DVD is FILM with the usual flags it will be detected by trimension and trimension will work. If the DVD is interlaced (real interlaced content) in wont work because is not needed (the bob deinterlacer of windvd will give the 60 fps and the fluid look) As far as i know (correct me if i'm wrong) Hard telecine is (as you say) the telecine encoded right on the video with out flags (DGindex wont report it as FILM). You can use detection on the image to restore the film frames (like many plugins on avisnth do). BUT: Many anime DVDs (i'm talking about japan anime right here, not usual animation like disney, those are ok) contains a mix of: Sections with FILM (23.976) Sections with 29.97 progressive CG effects or pannings Real interlaced fades or rolling credits at the end (you can bob those sections and the credits roll very smooth and the fades look very smooth too) All that flagged as interlaced ALL the time (Dgindex shows interlaced / VIDEO all the time) But if you use TFM (from tivtc) and Tdecimate you can recover the FILM / Progressive sections and well for the interlaced credits + fades do some trick. If you play a DVD like this one on WinDVD trimesion wont work because it "thinks" its a normal VIDEO movie and will use a simple Bob or maybe nothing. Doing some experiments with HCENC (re- encoding the DVD of course) and using the auto detect produces a stream with the Film sections flagged as FILM and the others, well as they should. And that stream will run on WinDVD with the Trimension working as it should (it auto-disables on non film sections and auto- enable on film sections) and looks good. But in the end i'm re-encoding the video. My question is if its possible scan the video (inspecting the frames) detecting the film / progressive / true interlaced sections and rewrite the flags for each section with out encoding the video bacause is not necesary. I have some anime DVDs i want to modify (add a new subtitle stream and replace one audio stream) and if i'm going to do that, well maybe do the reflag trick to make them work with trimension. Well thats all. I will upload a sample if you need it. Thanks for the help. Two more links: http://www.avsforum.com/avs-vb/showthread.php?t=1025800 http://forum.doom9.org/showthread.php?t=138305 (read here: Particularities of anime) Thanks
__________________
So, it works or not??? |
27th March 2010, 06:15 | #9 | Link | ||||
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
Quote:
Quote:
Quote:
|
||||
29th March 2010, 21:55 | #10 | Link | |||||
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
Quote:
Quote:
Quote:
Quote:
Yes, i understand why now. Soft telecine streams have 23.976 fps and hard telecine streams have 29.976 fps. Quote:
I think we both have a serious miss understanding of what im asking and what you think i'm asking. I'm not so obsessed with trimension (it works well with the R1 DVDs with soft telecine or PAL DVDs). If im going to mess with my anime DVDs to add subtitle / audio tracks, well why not reflag the hard telecine sections as soft telecine? But know i know is not possible without re-encoding. Yes you just answered my question. Thank you again for your patience and sorry for being so newbie. Have a nice day. (No sarcasm intended, i really wish you a good day).
__________________
So, it works or not??? |
|||||
30th March 2010, 00:51 | #11 | Link | |||||||
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by Guest; 30th March 2010 at 00:53. |
|||||||
31st March 2010, 15:45 | #12 | Link | ||||
ekTOMBE STUDIOS
Join Date: Dec 2005
Location: Cuba
Posts: 254
|
Quote:
I say yes, i know that. My orignal intention with TIVTC was using (for example) the matches output from TFM to identify each section on the video stream an rewrite the flags. Quote:
Quote:
Quote:
Annyway im not going to keep asking this. I know possitive now that is not possible, and HCenc does a good job with the auto option. Thanks
__________________
So, it works or not??? |
||||
Tags |
dvd, encoding, flags, hybrid, interlaced |
Thread Tools | Search this Thread |
Display Modes | |
|
|