DivX footage in Premiere CS3 with AVIsynth plugin?

Discussion and help related to Adobe video software goes here. e.x. Premiere, After Effects, Photoshop, etc.
Locked
User avatar
dazza1008
Joined: Fri Jul 06, 2007 10:08 pm
Status: n00b-welcomer
Org Profile

DivX footage in Premiere CS3 with AVIsynth plugin?

Post by dazza1008 » Sat Dec 22, 2007 9:22 pm

Before I go further, yes I know that I shouldn't be using DivX footage directly in Premiere CS3, but I'm not sure of the capabilities of AVIsynth...

OK... I'm sure you smart people (and I really mean that) will grasp my problems immediately, whereas it's all a grey area to me...

I have DivX raws - some have dummy frames (120fps) which qyot27 excellently explained how to get rid of them with avi_tc in this thread
http://www.animemusicvideos.org/phpBB/v ... hp?t=84660
(since there is no sound I have to mux it in VirtualDub)

The other problem is that my raws aren't the same size... some are 740x396 and others are 640x480. Ideally I would like them all to be the smaller size so there's no real loss in quality.

Searched the forum, and found a topic which said the AVIsynth plugin works with Premiere CS3 (although I haven't tried anything yet).

Hard disk space is an issue (although 4 gigs per episode is OK - it just can't be 20gigs per episode).

~~~~~~~~~
I'd really appreciate some advice! I don't know exactly what to do, plus what is necessary and what's not...

Would you agree?

1) remove null frames using AVI_TC (output can be an avs file, so I guess I could copy the code?) btw the non-dummy-frame divX's have a frame rate of 23.96, and when all frames are removed I get 29fps. ???

2) convert divX file into another format (necessary???) (btw I want SOUND!!!! Premiere doesn't give sound with my divX's - but I can hear sound if opened with VLC player or VirtualDub - and I can get sound with WMV files opened in Premiere, and can import mp3 fine. As far as I can see the audio with these files is mp3 so I don't know what's wrong.)

3) somehow fluke and get a working AVS file to resize to 640x480 if necessary, 23.96 fps, and not have any negative effects that DivX files have on premiere.


So, I guess my question is, can I do all of this at once with AVIsynth?

Thanks in advance!

User avatar
dazza1008
Joined: Fri Jul 06, 2007 10:08 pm
Status: n00b-welcomer
Org Profile

Post by dazza1008 » Sat Dec 22, 2007 9:40 pm

Sorry for the double post, but I completely mucked up the sizes - it should be either 704x396 or 640x360
^^;

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Sun Dec 23, 2007 6:38 am

If you've used AviSynth before and are familiar with .AVS files, then you just need the Premiere AVS plugin which is included with the AMVapp. Then it's just a matter of creating an AVS file which loads the video you wish to import directly into Premiere, along with any filters you wish to add, like a resizer.

Here's the relevant section from EADFAG 3.0 beta: Getting Your Video: Editing Footage Directly.

A link to download AMVapp 3.0 beta is on that page.

Since I don't use Premiere, I'm not really sure if this is the same plugin. But I did find this: PremiereAVSPlugin version 1.9 (March 3, 2007)
Having trouble playing back videos? I recommend: Image

User avatar
dazza1008
Joined: Fri Jul 06, 2007 10:08 pm
Status: n00b-welcomer
Org Profile

Post by dazza1008 » Sun Dec 23, 2007 6:42 pm

Willen wrote:If you've used AviSynth before and are familiar with .AVS files, then you just need the Premiere AVS plugin which is included with the AMVapp. Then it's just a matter of creating an AVS file which loads the video you wish to import directly into Premiere, along with any filters you wish to add, like a resizer.

Here's the relevant section from EADFAG 3.0 beta: Getting Your Video: Editing Footage Directly.

A link to download AMVapp 3.0 beta is on that page.

Since I don't use Premiere, I'm not really sure if this is the same plugin. But I did find this: PremiereAVSPlugin version 1.9 (March 3, 2007)
Actually, I'm not familiar at all with AVIsynth! Thank you - that's the plugin I use.

If I could please give some examples...

Using AVI-tc to get rid of the dummy frames, it gave this as an avs script

Code: Select all

Avisource("C:\raw06.avi")
cfr000 = Trim(0,153409).SelectEvery(5,0).AssumeFPS(30000,1001)
cfr001 = Trim(153410,161129).SelectEvery(2,0).AssumeFPS(30000,1001)
cfr002 = Trim(161130,163569).SelectEvery(5,0).AssumeFPS(30000,1001)
cfr000+cfr001+cfr002
So I copied and pasted this code, which I assumes the same result as actually making an AVI file without dummy frames, into this

Code: Select all

aviSource("C:\Raws\Full Raws\06 [S^M] Death Note 06 RAW.avi")
cfr000 = Trim(0,153409).SelectEvery(5,0).AssumeFPS(30000,1001)
cfr001 = Trim(153410,161129).SelectEvery(2,0).AssumeFPS(30000,1001)
cfr002 = Trim(161130,163569).SelectEvery(5,0).AssumeFPS(30000,1001)
cfr000+cfr001+cfr002
BicubicResize(320,240)
ConvertToRGB32()
(yes, the source files are different, but the first was a renamed copy of this one)

I tried opening it in VirtualDub to test it, and there was an error message.

I just threw bicubic resize in there to test it - some would need to be converted to a smaller size.

I assume that the convert to rgb32 command at the end takes care of any problems that using divx footage could cause. If someone would please confirm that, that would be great.

Thanks!

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Post by BasharOfTheAges » Sun Dec 23, 2007 6:46 pm

dazza1008 wrote:I assume that the convert to rgb32 command at the end takes care of any problems that using divx footage could cause. If someone would please confirm that, that would be great.
Well, it doesn't take care of the fact that it's still lossy footage and most editing software will randomly break with lossy footage.
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

User avatar
dazza1008
Joined: Fri Jul 06, 2007 10:08 pm
Status: n00b-welcomer
Org Profile

Post by dazza1008 » Sun Dec 23, 2007 6:51 pm

BasharOfTheAges wrote:
dazza1008 wrote:I assume that the convert to rgb32 command at the end takes care of any problems that using divx footage could cause. If someone would please confirm that, that would be great.
Well, it doesn't take care of the fact that it's still lossy footage and most editing software will randomly break with lossy footage.
OK thanks... sounds like I'll just give up on the AVIsynth thing since I'm sure my computer won't like the extra processing power anyway...

I'll just remove dummy frames and resize, then convert to HuffYUV. Cheers!

Locked

Return to “Adobe Software”