AnimeSuki Forums

Register Forum Rules FAQ Community Today's Posts Search

Go Back   AnimeSuki Forum > Anime Related Topics > General Anime > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2009-03-04, 18:20   Link #301
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 37
it's called anamorphic video and is extremely common, just google and you'll find a ton of decent explanations
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2009-03-05, 00:08   Link #302
Kristen
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...
__________________
Kristen is offline   Reply With Quote
Old 2009-03-05, 01:47   Link #303
neothe0ne
Senior Member
 
 
Join Date: Mar 2008
You ran the TS through DGIndex and its length doesn't match the AAC audio?

(I've never really dealt with TS sources but that doesn't sound right)
__________________
neothe0ne is offline   Reply With Quote
Old 2009-03-05, 02:20   Link #304
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
I'm guessing that the audio stream simply has too much data and you'll have to cut it at one of the ends or both.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2009-03-05, 08:35   Link #305
Kristen
Senior Member
*Author
 
 
Join Date: Jul 2007
Location: Virginia Tech
Quote:
Originally Posted by neothe0ne View Post
You ran the TS through DGIndex and its length doesn't match the AAC audio?

(I've never really dealt with TS sources but that doesn't sound right)
Yep, that's exactly what I did.

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.
__________________
Kristen is offline   Reply With Quote
Old 2009-03-05, 16:42   Link #306
jfs
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.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2009-03-05, 17:39   Link #307
Kristen
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
When extracted:
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
__________________
Kristen is offline   Reply With Quote
Old 2009-04-05, 21:46   Link #308
Aporia
Member
 
Join Date: Jun 2008
Can an avisynth script read video directly off a DVD?
Aporia is offline   Reply With Quote
Old 2009-04-05, 21:56   Link #309
Meltingice
Klipsch
 
 
Join Date: Oct 2007
Location: Frontier
No, you need to rip it first with DVDDecrypter.
Meltingice is offline   Reply With Quote
Old 2009-04-05, 22:03   Link #310
jfs
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.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2009-04-05, 22:12   Link #311
Aporia
Member
 
Join Date: Jun 2008
Quote:
Originally Posted by jfs View Post
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.
Nope, disk space isn't the issue. I want to be able to give the script to other people who have the DVD and let them run it without having to rip it. How serious are those performance reasons you speak of?
Aporia is offline   Reply With Quote
Old 2009-04-06, 01:04   Link #312
guest0815
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.
guest0815 is offline   Reply With Quote
Old 2009-04-06, 09:25   Link #313
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
Quote:
Originally Posted by Aporia View Post
Nope, disk space isn't the issue. I want to be able to give the script to other people who have the DVD and let them run it without having to rip it. How serious are those performance reasons you speak of?
I don't know, haven't tried, only guessing.
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.)
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2009-04-07, 09:05   Link #314
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 34
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
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
There is some error, I can't insert picture before video start. When i play avs file by MPC, has error info "Splice: Video formats don't match, line 09"

How to can i fix this error?

Last edited by jofori89; 2009-04-07 at 09:26.
jofori89 is offline   Reply With Quote
Old 2009-04-07, 09:08   Link #315
martino
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?
__________________
"Light and shadow don't battle each other, because they're two sides of the same coin"
martino is offline   Reply With Quote
Old 2009-04-07, 09:25   Link #316
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 34
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
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
Like this it run.
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)
Like this, logo ran but insertsign doesn't run
jofori89 is offline   Reply With Quote
Old 2009-04-07, 09:34   Link #317
martino
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
EDIT: insertsign() takes a picture and not a clip.
__________________
"Light and shadow don't battle each other, because they're two sides of the same coin"
martino is offline   Reply With Quote
Old 2009-04-08, 03:53   Link #318
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 34
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
How to can i define location to overlay picture on screen? (Same pos(x,y) ?)
jofori89 is offline   Reply With Quote
Old 2009-04-08, 03:54   Link #319
TheFluff
Excessively jovial fellow
 
 
Join Date: Dec 2005
Location: ISDB-T
Age: 37
Quote:
Originally Posted by jofori89 View Post
How to can i define location to overlay picture on screen? (Same pos(x,y) ?)
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''
rtfm
__________________
| ffmpegsource
17:43:13 <~deculture> Also, TheFluff, you are so fucking slowpoke.jpg that people think we dropped the DVD's.
17:43:16 <~deculture> nice job, fag!

01:04:41 < Plorkyeran> it was annoying to typeset so it should be annoying to read
TheFluff is offline   Reply With Quote
Old 2009-04-08, 10:08   Link #320
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 34
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
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)
It not work, please tell me?
jofori89 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 21:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.