2009-03-05, 00:08 | Link #302 |
Senior Member
Author
Join Date: Jul 2007
Location: Virginia Tech
|
I'm not sure if this is the right place to ask, but it was the closest I could find.
How exactly can you get an AT-X transport stream audio in synch with the video? I analyzed it, and the decrypted AAC alone is 1 minute longer (26:30) than the one just playing back the stream (25:30). Is there something special about it that makes it do that? Or is there a guide someone on how to handle it? I tried researching, but I couldn't find anything about it anywhere...
__________________
|
2009-03-05, 08:35 | Link #305 | |
Senior Member
Author
Join Date: Jul 2007
Location: Virginia Tech
|
Quote:
jfs: The audio playback starts at 0:02, and then ends at 25:25 when I play it back. The .ts starts at 0:02, and ends at 24:55. By ends, I mean that the same sound heard on playback of the .ts at 24:55 is heard at 25:25. So it's not adding 30 seconds of junk data, surprisingly.
__________________
|
|
2009-03-05, 16:42 | Link #306 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
That doesn't look like framerate problems. I was going to suggest audio sampelrate, but it wouldn't match with any common samplerates either (eg. 44100 vs. 48000). It's about 2% slowdown... well check the audio samplerate, but I don't have any further suggestions.
__________________
|
2009-03-05, 17:39 | Link #307 |
Senior Member
Author
Join Date: Jul 2007
Location: Virginia Tech
|
From MediaInfo on the .ts itself:
Code:
General ID : 7100 Complete name : C:\Downloads\ATX09.m2ts Format : BDAV Format/Info : BluRay Video File size : 1.25 GiB Duration : 25mn 3s Overall bit rate : 7 154 Kbps Maximum Overall bit rate : 26.6 Mbps Video ID : 4099 (0x1003) Menu ID : 333 (0x14D) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, Matrix : Default Duration : 25mn 1s Bit rate mode : Constant Bit rate : 6 611 Kbps Nominal bit rate : 8 000 Kbps Width : 720 pixels Height : 480 pixels Display aspect ratio : 4/3 Frame rate : 29.970 fps Standard : NTSC Colorimetry : 4:2:0 Scan type : Interlaced Scan order : Top Field First Bits/(Pixel*Frame) : 0.772 Audio ID : 4355 (0x1103) Menu ID : 333 (0x14D) Format : AAC Format/Info : Advanced Audio Codec Format version : Version 2 Format profile : LC Muxing mode : ADTS Duration : 25mn 3s Bit rate mode : Constant Bit rate : 251 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Resolution : 16 bits Video delay : -277ms Code:
General Complete name : C:\Downloads\ATX09 AAC PID 1103 DELAY 93ms.aac Format : ADTS Format/Info : Audio Data Transport Stream File size : 45.9 MiB Duration : 25mn 30s Overall bit rate : 251 Kbps Audio Format : AAC Format/Info : Advanced Audio Codec Format version : Version 2 Format profile : LC Muxing mode : ADTS Bit rate mode : Constant Bit rate : 251 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Resolution : 16 bits
__________________
|
2009-04-05, 22:03 | Link #310 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Yes and no... if the DVD doesn't have CSS coding etc. you can index the VOB files on it directly with DVD2AVI or DGIndex, but you probably don't want to do that for performance reasons.
If it's because you don't have harddrive space to copy the files over to, you have a much bigger problem to solve first.
__________________
|
2009-04-05, 22:12 | Link #311 | |
Member
Join Date: Jun 2008
|
Quote:
|
|
2009-04-06, 01:04 | Link #312 |
Member
Join Date: Aug 2008
|
Can a 1440x810 source somewhow be successfully deblocked with some cropping or resizing to a mod8 resolution of the same aspect ratio like 1280x720 or is there no hope for deblocking in avisynth ? Deblock() is doing *something* but every deblocker says to not crop or resize beforehand and I can't tell if it's smoothing in all the wrong places without knowing how a mod8 source would have looked like, so...
thanks Last edited by guest0815; 2009-04-06 at 02:10. |
2009-04-06, 09:25 | Link #313 | |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Quote:
But every way of accessing DVD video through Avisynth (that I know of) requires the source to be indexed beforehand using a separate program, meaning you can never get a fully one-click script. Also, the index files contain the full path and filename of the source VOB files, meaning that if someone who has their DVD drive with a different drive letter than you, they'd have to fix up the index file. (And needless to say, an index file is made for one specific DVD.)
__________________
|
|
2009-04-07, 09:05 | Link #314 |
Member
|
Code:
DirectShowSource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Rozen Maiden Episode 09 (Dual).mkv",audio=true,fps=23.976,convertfps=true) Textsub("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\[Vi-Ani] Rozen Maden (subtitles Eng & Vie chapters and fonts)\Vietnamese Subtittles\[Vi-Ani] Rozen Maiden Episode 09.ass") LanczosResize(880,480) # Lanczos (Sharp) logo = imagesource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Credit pics\Credit pic 01.png", pixel_type="RGB32", end=120) logo = audiodub(logo, blankclip(last, length=120)) logo ++ last How to can i fix this error? Last edited by jofori89; 2009-04-07 at 09:26. |
2009-04-07, 09:08 | Link #315 |
makes no files now
Join Date: May 2006
|
I think you're trying to put together an RGB32 and YV12 clip. You should add ConverToYV12() for the logo... also set the framerate of the logo to be the same as of the main clip with AssumeFPS(last) or using ImageSource if it has an argument for it. Otherwise, are they of the same resolution?
__________________
|
2009-04-07, 09:25 | Link #316 |
Member
|
Code:
DirectShowSource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Rozen Maiden Episode 09 (Dual).mkv",audio=true,fps=23.976,convertfps=true) Textsub("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\[Vi-Ani] Rozen Maden (subtitles Eng & Vie chapters and fonts)\Vietnamese Subtittles\[Vi-Ani] Rozen Maiden Episode 09.ass") LanczosResize(880,480) # Lanczos (Sharp) logo = imagesource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Credit pics\Credit pic 01.png", pixel_type="RGB32", end=120) logo = audiodub(logo, blankclip(last, length=120)) insertsign(last, logo, 0, 120) #logo ++ last They are of the same resolution (880x480) Avisynth says there is error in this line logo ++ last Code:
logo = imagesource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Credit pics\Credit pic 01.png", pixel_type="RGB32", end=120).converttoyv12().assumefps(last) |
2009-04-07, 09:34 | Link #317 |
makes no files now
Join Date: May 2006
|
Uhmmm... what about my suggestion? Did it work or not?
for the lazy Code:
DirectShowSource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Rozen Maiden Episode 09 (Dual).mkv",audio=true,fps=23.976,convertfps=true) Textsub("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\[Vi-Ani] Rozen Maden (subtitles Eng & Vie chapters and fonts)\Vietnamese Subtittles\[Vi-Ani] Rozen Maiden Episode 09.ass") LanczosResize(880,480) # Lanczos (Sharp) logo = imagesource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Credit pics\Credit pic 01.png", pixel_type="RGB32", end=120, fps=23.976).ConvertToYV12() logo = audiodub(logo, blankclip(last, length=120)) logo ++ last
__________________
|
2009-04-08, 03:54 | Link #319 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
Code:
Overlay(clip, clip overlay, int ''x'', int ''y'', clip ''mask'', float ''opacity'', string ''mode'', bool ''greymask'', string ''output'', bool ''ignore_conditional'', bool ''pc_range'') Code:
int ''x'', int ''y''
__________________
|
|
2009-04-08, 10:08 | Link #320 |
Member
|
Code:
DirectShowSource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Rozen Maiden Episode 09 (Dual).mkv",audio=true,fps=23.976,convertfps=true) Textsub("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\[Vi-Ani] Rozen Maden (subtitles Eng & Vie chapters and fonts)\Vietnamese Subtittles\[Vi-Ani] Rozen Maiden Episode 09.ass") LanczosResize(880,480) # Lanczos (Sharp) logo = imagesource("D:\My documents\Anime\TV Series\_UnComplete\Rozen Maiden\Credit pics\Credit pic 01.png", pixel_type="RGB32", end=120, fps=23.976).ConvertToYV12() overlay(last, logo, int "320", int "200", clip ''mask'', float ''opacity'', string ''mode'', bool ''greymask'', string ''output'', bool ''ignore_conditional'', bool ''pc_range'', 0, 120) |
|
|