PDA

View Full Version : CCE reporting incorrect frames before encoding??


Naeko
8th February 2004, 09:36
Hey everyone,

Hope I posted this in the right spot. :)
I've encoded a number of movies, and while I wouldn't say that I'm a pro at it; I am fairly good. I've encountered a problem with CCE that I've never seen before.

After loading my most current .avs script into CCE for encoding I noticed that for some reason CCE is only reporting that the movie has 240 frames! Normally any regular length movie I've seen has anywhere in the neighborhood of 150,000 - 200,000 frames.

I haven't been able to track down why this is happening, nor any other threads that have discussed this. I'm working with CCE 2.67, but I also went back to 2.66 thinking that it could have been a problem with that particular version of CCE - no luck.

Just before attempting to encode this movie I joined what were two .avi files into one using VirtualDub. I have verified that the movie does play through completion and is just over 1,400 MB in size. I'm thinking at the moment that it may have something to do with the .avi file header information... as a test I tried to encode a seperate movie and that file is processing fine so far (on 3rd pass right now). That said it leads me to believe that the problem is limited to my first file. Has anyone ever experienced anything like this before?


Thanks in advance for any help you guys can provide. :)



-Naeko

RB
8th February 2004, 13:48
Read the FAQ. There is most likely an error in your AVS. Play it in MediaPlayer and I bet you'll actually see an AVISynth error message.

Naeko
8th February 2004, 19:48
Thanks for your quick reply RB!

I reviewed my .avs file a few times and then loaded it into media player to see what would happen. The file was written correctly, however you definitely did put me on the right track. I still did get an error when it tried to load:

"ACM failed to suggest a compatible PCM format"

A quick search in the forums here and I found a few articles dealing with this. If I understand the issue correctly it seems that CCE was unable to open (due to lack of proper audio codec??) the audio section of my file as it was a proper .ac3 stream. Most of the other videos I've done all had an Mpeg stream.

This is the thread where I found my answer (http://forum.doom9.org/showthread.php?threadid=52407&referrerid=27168)

Ultimately what the above thread said to do was essentially turn off the audio section of the file within the .avs script. Since we won't be using CCE for audio anyway there is no harm done. When you load your avi file with the "avisource" command all you need to do is add a "false" and the end of the line and it will omit the audio section of your file:

avisource("z:\The Italian Job.avi",false)

After doing that everything went fine. I'm about to encode the movie like normal!! :D Thanks everyone for a quick answer and a great community. As I learn more I hope that I can help out in some of these forums.


-Naeko