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. |
18th July 2008, 01:45 | #1161 | Link |
Registered User
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
|
I don't know for sure, but the best seek method (seekmode=0) is alot more accurate than DirectShow.
Unfortunately, the method that is done is much slower than DGAVCDec. It's also full of other codecs and stuff that have nothing to do with H264. I would prefer MP4 support from DGAVCDec over FFMPEGsource. EDIT Here are the seekmodes as described in the FFMPEGSource manual Code:
seekmode: Force how seeking is handled, has no effect on matroska files which always use the equivalent of seekmode=1 -1: linear access without rewind, will throw an error if each successive requested frame number isn't bigger than the last one, only intended for opening images but might work on well with some obscure video format 0: linear access, the definition of slow but should make some formats "usable" 1: safe normal, bases seeking decisions on the reported keyframe positions 2: unsafe normal, same as 1 but no error will be thrown if the exact destination has to be guessed 3: aggressive, seek in the forward direction even if no closer keyframe is known to exist, only useful for testing and containers where avformat doesn't report keyframes properly
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake? Curly: Burned at the stake! Moe: Why? Curly: A hot steak is always better than a cold chop. Last edited by Revgen; 18th July 2008 at 02:01. |
20th July 2008, 09:11 | #1162 | Link | |
Registered User
Join Date: Apr 2002
Posts: 279
|
Quote:
http://blog.monogram.sk/janos/2008/0...-decoder-0930/ Thanks Update: When priorities permit just being able to output AAC-HE LATM/LOAS in its native stream would be good. We can find tools to process it after it comes out. Thanks Last edited by lchiu7; 22nd July 2008 at 11:36. |
|
20th July 2008, 09:22 | #1163 | Link | |
Registered User
Join Date: Apr 2002
Posts: 279
|
Quote:
Winamp reports the right length in time but as soon as I press play it stops. Are you able to try your process on files on this page and report your experiences? http://www.geekzone.co.nz/Fossie/4877 Thanks |
|
20th July 2008, 11:26 | #1164 | Link |
Registered User
Join Date: Oct 2002
Posts: 92
|
I used Alpha 26 with success on many DVB S2-TS streams.
Since Alpha 28 I have always a audio delay after muxing the new encoded video. If I save a project, the audio delay on the demuxed ac3/mp2-file is the same with both versions (listed in the file name, for example "DELAY -1152"), but only the demuxed audio file from Alpha 26 is in synch with the new encoded video. |
20th July 2008, 19:20 | #1165 | Link | |
Registered User
Join Date: Apr 2007
Location: Lithuania
Posts: 120
|
Quote:
Address libavcodec deficiencies would be most important for me. Also Audio delay support in avs template One more future i would like to see: is possibility to specify location of libavcodec.dll in dga file for portability reasons. i like to keep my all avisynth plugins and other tools in tools directory: Code:
loadplugin("tools\DGAVCDecode.dll") loadplugin("tools\NicAudio.dll") thank you |
|
20th July 2008, 19:34 | #1166 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Me too...
Especially as MPEG-4 AVC video and the .MP4 container derive from the ISO/IEC 14496 specification.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
20th July 2008, 23:45 | #1168 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
|
|
21st July 2008, 15:08 | #1169 | Link | |
Registered User
Join Date: Oct 2003
Location: Germany
Posts: 91
|
Quote:
@Ichiu7: I am using Tsremux to demux the aac-stream which is indicated as "MPEG audio stream" by Tsremux even though it is an AAC-HE-stream. Using Winamp version 5.5 I am able to decode all but one of the indicated HD-sample streams. The sample-clip called "Freeview HD sample" is corrupt an cannot be remuxed or played by any programme I have tried. Looking at the hex code of this ts-file also no recognizable stream flags can be found. May be you just attempted to open this file. Nevertheless the only programme which is able to play these AAC-files is Winamp. Schmendrick |
|
21st July 2008, 22:30 | #1171 | Link | |
Registered User
Join Date: Apr 2002
Posts: 279
|
Quote:
But after renaming the file to aac suffix, playing it in winamp to get a wav file and converting it to AC-3 when muxed back with the video dgavcindex created in the first step, there was a 1s delay in the audio. When I inserted 1s as the delay in the mux back step the resultant file played fine. Need to do further testing to see if this is a consistent delay or variable based on the file. It certainly wasn't related to the delay as noted in the filename. Happy to provide or link to samples for testing |
|
22nd July 2008, 04:43 | #1172 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,339
|
I'm voting for addressing issues with libavcodec. Lots of AVCHD owners out there unable to send their newborn's first burp video to the in-laws because of the more recent file formats. (Not completely the case - they can use DirectShowSource instead)
Last edited by Pookie; 22nd July 2008 at 04:47. |
22nd July 2008, 10:25 | #1173 | Link | |
Registered User
Join Date: Oct 2002
Posts: 92
|
Quote:
There are 3 audio streams - use "40". I demuxed it with Alpha 26 and Alpha 28 and made an Xvid video out of both. The video from Alpha 26 is in synch. The video from Alpha 28 is out of synch (+400 ms ?). I know this is a bad sample (a dancing scene) - but watch at 00:43 between a scene change. The last word of the woman ends before the scene changes (encoded Alpha 26-video). In the Alpha 28-video the last word can be heard over the next scene. Both versions are reporting the same delay but only Alpha 26 is in synch. Last edited by amango; 22nd July 2008 at 10:30. |
|
22nd July 2008, 13:37 | #1174 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
I tried both versions on audio ID 40. They both served 3220 frames starting with the same frame via the Avisynth script, and the demuxed audio files were bit-for-bit identical. Are you sure you used the same script and encoding for both cases? If so, give me your script. I'm thinking you must have forgot to adjust for the audio delay when using alpha 28. |
|
22nd July 2008, 14:56 | #1175 | Link |
Registered User
Join Date: Oct 2002
Posts: 92
|
This is my script:
Code:
avcsource("%source_file%",deblock=true) LanczosResize(720,576) Assumetff().SeparateFields().SelectEvery(4, 0, 3).Weave() tdeint() degrainmedian() undot() Limiter() Every video I tried gives me a delay with Alpha 28, but not with Alpha 26. Don't know why. |
22nd July 2008, 15:00 | #1176 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Where are you adjusting for the audio delay?
Do what I did: Make the project with both versions. Then serve the AVS script into VirtualDub and check that the starting frame and number of frames is the same for both. Then compare the audio files to see if they are identical. You'll see that the video and audio are identical coming out of both versions. Therefore, it must be something in your subsequent process that is going wrong. |
22nd July 2008, 15:07 | #1177 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Regarding your script:
The sample is progressive with every frame duplicated. So you can just do: SelectEven() I don't understand the point of your script. You're resizing before deinterlacing and the Assumetff().SeparateFields().SelectEvery(4, 0, 3).Weave() line makes no sense to me for this sample. That's generally used when reinterlacing after bobbing. |
22nd July 2008, 15:12 | #1178 | Link |
Registered User
Join Date: Oct 2002
Posts: 92
|
I just copied this script from one user from videohelp.com who wanted to convert 720p50 to SD.
I really don't know why. I am using "DVX" (from Stax) for years now. Usually I do this all the time to encode videos: I start DGIndex or DGAVCDec - Save a project. Then I drop the index file from your programs to DVX. DVX recognites the delay from the audio file name. I cut the video and start the encoding process. DVX uses Besweet and starts VirtualDubMod to mux the video. Soon after I updated to Alpha 28, I got this delays in my files. Reverting back to Alpha 26, they were all in synch again. I will try it again manually as you said. Last edited by amango; 22nd July 2008 at 15:16. |
22nd July 2008, 15:30 | #1179 | Link | |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
Quote:
720p50, are you shure it is 720p50 ? If so, try to load the clip plainly (only with the AVCSource-line) into VDub. Slowly walk through a reasonable portion of the clip, and find out it there a frame-duplicates (and)or frame-blends. If the original (unblended/unduplicated) frames occur on the even frames use "SelectEven()" use SelectOdd() when those frames occur on the odd-ones. Then put the line "AssumeFPS (25,1,True)" and see if the whole clip still syncs with your audio. |
|
24th July 2008, 03:23 | #1180 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Version 1.0.0 alpha 29
1. Implemented project range selection, i.e., the [ and ] buttons are now functional.
2. Revised popup error/warning handling so that individual error types can be selectively suppressed. http://neuron2.net/dgavcdec/dgavcdec.html Currently, only a single range is supported, as in DGIndex. I want to get feedback on that before attempting to support multiple ranges, which is very difficult. Note there are bugs in the Windows trackbar for themed desktops. To work around it, I enabled the ticks bar as well. Either the ticks bar or the main trackbar will show your selection range, depending on your OS and desktop settings. I haven't yet found a clean solution, short of implementing my own trackbar (as Avery does in VirtualDub; I'm not that masochistic ). Last edited by Guest; 24th July 2008 at 03:32. |
Thread Tools | Search this Thread |
Display Modes | |
|
|