View Full Version : HDDVD encode problem
satsujinkeni
12th June 2007, 06:11
I try to encode a HDDVD, this one is in VC-1 when use Sonic HD demuxer, frames here not good the movie of 1hour52 have frames to make a 3hours ones...
in Elecard MPEG demux i have the frames for 1hour43
the number of frame i got in evodemux is the right one and i have put it in my avs file, to be sure i have calculate, i got the same frames number and evodemux is correct...
well i have put this code in my avs :
Directshowsource("D:\br.GRF",fps=23.976,audio=false, framecount=161160)
LanczosResize(1280,720)
what can i do to have this problem of frames resolved ?
homerpez
12th June 2007, 08:46
I think I understand what you're saying...
If I understand correctly, the problem here is using Sonic Video as the decoder - it will result in unpredictable length video streams. The video length won't match your audio in a lot of cases.
If you use Haali Splitter --> FFDShow or WMV Video Decoder (the green codec in Graphedit) then the result should match EVOdemux's calculated frames.
The formula that seems to work for me:
Haali Splitter Source --> FFDShow Video Decoder (or WMV Video Decoder) for video
Orbitlee's DD+ Source --> Sonic Audio 4.2 Decoder for audio
This should make it so the video/audio streams should match up, at worst you may need to adjust the audio delay while muxing.
AVOID THE SONIC VIDEO FILTER AT ALL COSTS, this will cause a "stretching" effect where your video and audio streams will never be of the same length, sometimes a difference of several seconds.
satsujinkeni
12th June 2007, 15:16
sorry my english is bad, the problem i know the amount of frame of my movie, i know how long is the movie and with Sonic HD demuxer or Elecard mpeg demuxer the frames and the minutes don't macth, i will see if i can try your method :p
satsujinkeni
12th June 2007, 15:59
what is the version of wmv decoder or ffdshow i have to use ?
mine don't connect to halli spliter (this one is the last version)
satsujinkeni
12th June 2007, 17:21
great it's work with the last wmv decoder DMO tansk :p
ACrowley
13th June 2007, 17:10
I try to encode a HDDVD, this one is in VC-1 when use Sonic HD demuxer, frames here not good the movie of 1hour52 have frames to make a 3hours ones...
in Elecard MPEG demux i have the frames for 1hour43
the number of frame i got in evodemux is the right one and i have put it in my avs file, to be sure i have calculate, i got the same frames number and evodemux is correct...
well i have put this code in my avs :
Directshowsource("D:\br.GRF",fps=23.976,audio=false, framecount=161160)
LanczosResize(1280,720)
what can i do to have this problem of frames resolved ?
Encode only the demuxed VC1 from evodemux
Graph:
Filesource(async)-ElecardMpegDemutiplexer-SonicCinemasterVideoDecoder4.2
AVC Import
DirectShowSource("G:\youdemuxedvc1.GRF",audio=false,fps=23.976,framecount=161160)
This will give you a perfect Result with correct Frames
Encoding from EVO with Haali WMVideodecoderDMO(or ffdshwo) can cause wrong Frames etc
To encode with WMVideoDecoderDMO, you must remux the EVO in mkv first (gdsmux), then remux it again with mkvmerge and 23.976fps Timecode.
satsujinkeni
14th June 2007, 22:16
i want try your method MKV - WMV Decoder DMO but i can't open VC-1 with mkvmerge, i use the version in haali splitter,
the mkv merge GUI 2.0.2,
i want to prevent from the wrong frames,
any more help ? please :P
I try to hard with Sonic Video decoder and it's not seem to work with me
bluesk1d
15th June 2007, 21:39
i want try your method MKV - WMV Decoder DMO but i can't open VC-1 with mkvmerge, i use the version in haali splitter,
the mkv merge GUI 2.0.2,
i want to prevent from the wrong frames,
any more help ? please :P
I try to hard with Sonic Video decoder and it's not seem to work with me
I have encoded many HD DVDs into WMV and I have never run into the need to mux it into MKV first. Id suggest just using haali>WMV DMO on the evo until you run into some kind of problem (if you ever do).
satsujinkeni
16th June 2007, 21:57
Yeah i have figure that too, it's seem to be good for the frame with the two methods.
That's oki for the video, now it's the audio...
i tryed to google the things i needs,
dtsac3source-full.ax DTS/AC3/DD+ source filter or
Orbitlee's DD+ Source i can't find them...
You know a way to got them ?
ACrowley
17th June 2007, 12:53
i want try your method MKV - WMV Decoder DMO but i can't open VC-1 with mkvmerge, i use the version in haali splitter,
the mkv merge GUI 2.0.2,
i want to prevent from the wrong frames,
any more help ? please :P
I try to hard with Sonic Video decoder and it's not seem to work with me
MKV merge cant open VC1 Video.
Use HaaliMatroxkaMuxer first.
The Gui is gdsmux.exe. Located in C:\Program Files\Haali\MatroskaSplitter/gdsmux.exe
Mux it first with gdsmux, then remux it in mkvmerge with 23.976 timecode with SonicDecoder
The Reason for a proper Remux is simple.
A graph directly on the EVO with Haali-WMVideoDecpder outputs 29.97fps and not correct 23.976fps.
With fps=23.976 it runs on 23.976fps, but the Framecount/Runtime is still a little bit wrong what can cause Frameskips or wrong Frames .
EVO Container is a little bit Tricky.
On a m2ts from Bluray with VC1 Video, the grf (Haali-WMVideodecoderDMO) outputs the correct 23.976fps with correct Framecount/Runtime
The properly remuxed VC1 with mkvmerge 23.976 Timecode runs with 100% correct Frames and fps. So the Method is just totally safe and clean.
Thats all.
greets
satsujinkeni
18th June 2007, 06:58
Oki,
i have use gsdemux to be sure for the frame,
i have fond the DD+ source
all is solved now
tanks
HookedOnTV
21st June 2007, 18:26
I'm having some issues along the lines of this thread. I had been demuxing the evo with evodemux, creating an avs file using DirectShowSource, specifying the number of frames as calculated by evodemux. Graph uses the sonic decoder. Problem is that when you add the script to megui, opening the preview window you can scroll the frame position to the end and the movie isn't at the end. You end up with cutting the end of the movie off. I then tried using the evo file as the source with haali splitter and the wmv decoder. When previewing the end of the movie comes before the end of the frame position slider.
Then I found this thread. Used gdsmux on the evo to create a mkv with just a single video track. Then I used mkvmerge on this file with a timecode text file. The sonic decoder will connect to haali splitter on this file but when megui trys to preview it it errors out that the graph wouldn't start. Disconnect and connect the wmv decoder and it will preview and the end of the movie is at the end of the frame position slider but there are quite a few green spots throughout.
So, is that about all I can try? I got the impression a couple posts up acrowley was using the sonic decoder with the haali splitter??
ACrowley
27th June 2007, 16:36
@HookedOnTV
You cant seek the graph/avs with SonicDecoder..
Thats normal and no Problem for encoding. Encoded Output has a 100% corrrect Timeline
When you want seek your avs, you must mux evo into mkv like i described above
And no , i never used Haali-Sonic cause Sonic wont work with Haali
I always use this grf on the "demxued" vc1
Filesource(asnyc)-ElecardMPEGDemultiplexer-SonicCinemasterVideoDecoder4.2
Or i remux the full evo into mkv when i have to seek or Sonic produce Artefacts
HookedOnTV
7th July 2007, 03:30
Ok, I've put in the 'wrench time' and can't get a good encode using the Sonic decoder. One of many test subjects: Children of Men:
1. evodemux to create mpv and ddp files.
2. Build graph file: file source async->elecard demux->sonic video decoder
3. Create avs script:
DirectShowSource("video_sonic.grf",fps=23.976,framecount=133610,audio=false)
Crop(26,18,1868,1040)
LanczosResize(1280,720)
ConvertToYV12()
4. Encode to x264 via meGui, outputing mkv
5. Encode ddp file to ac3 using eac3to
6. Mux resulting files with mkvmerge
7. Watch
8. After 15 minutes or so audio starts to lose sync getting worse as it goes
9. Movie ends a couple minutes prematurely
Repeat using Sonic demux and smaller framesize/bitrate (for time sake) with the same result.
What worked?
1. evodemux to rebuild evo's to single evo
2. Build graph file: Haali->ffdshow
3. Create avs script:
DirectShowSource("haali_ffdshow.grf",fps=23.976,framecount=133610,audio=false)
Crop(26,18,1868,1040)
LanczosResize(240,128)
ConvertToYV12()
4. Encode to x264 with meGui.
5. Mux resulting files
6. Watch, fast forwarding to various points to check for lip sync.
7. Verify entire movie exists.
So, using ffdshow as the decoder I can get a successful encode. Using Sonic I can not. This same scenario happens with each title I run this comparison on. If interested I would be willing to run an encode on the same title with the same recipe.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.