Wierd conversion?

If you have questions about compression/encoding/converting look here.
Locked
Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Wierd conversion?

Post by Duelingk » Thu Sep 18, 2008 1:54 am

I converted a video from Mpg-4 to Avi. I used the ffmpegsource with vdubmod, but the output video is twice as fast. It's half the length of what it should be. I used the lossless codec. What did i do wrong?

User avatar
JaddziaDax
Crazy Cat Lady!
Joined: Tue Mar 16, 2004 6:25 am
Status: I live?
Location: Somewhere I think O.o
Contact:
Org Profile

Post by JaddziaDax » Thu Sep 18, 2008 2:34 am

sounds like you didn't set a framerate.... i think you have to do that with ffmpegsource

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

How?

Post by Duelingk » Thu Sep 18, 2008 12:43 pm

How do i set a framerate? I did everything that a previous topic said to do.

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 1:41 pm

Put this in your script after the line where you called the video file:

AssumeFPS(29.97)
... yea ...

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 1:43 pm

Correction: That was assuming your frame rate is, in fact, 29.97. If it should be something else, then change it to that.
... yea ...

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 1:45 pm

It says there is an open failure.

This is what the code says:
ffmpegsource("C:\Users\Owner\Desktop\Code Geass Hangyaku no Lelouch 24 DVD RAW (x264 704x480 AAC)[3B4B2245]")
AssumeFPS(29.97)

Or do i put it all in one line?
like this:
ffmpegsource("C:\Users\Owner\Desktop\Code Geass Hangyaku no Lelouch 24 DVD RAW (x264 704x480 AAC)[3B4B2245]") AssumeFPS(29.97)

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 1:46 pm

How do you know what your framerate should be?

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 1:53 pm

You can open the video file in VLC and then go to View > Stream and Media Info...

From there go to the advanced information tab. It'll tell you the frame rate.

If you don't have VLC, Media Player Classic will give it to under File > Properties > Details tab.
... yea ...

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 2:07 pm

I did that (VLC FTW!) but there still is an open error. It has something to do with the new code you told me to put in. I mus be writing it wrong. Can you show me an example script?

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 2:24 pm

Uh, I don't know what to tell you. That should work. All it has to be is:

Code: Select all

ffmpegsource("file_path.ext")
AssumeFPS(#)
That works perfectly fine for me.

Is that file path what's in your script? Usually the desktop would be through C:\Documents and Settings\User\Desktop.
... yea ...

Locked

Return to “Conversion / Encoding Help”