User User name Password  
   
Wednesday 23.7.2025 / 11:24
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video to dvd > mpeg1 to mpeg2 in cce: odd behavior
Show topics
 
Forums
Forums
mpeg1 to mpeg2 in CCE: odd behavior
  Jump to:
 
Posted Message
Grafdude
Newbie
_
1. February 2005 @ 16:38 _ Link to this message    Send private message to this user   
I have a couple of mpeg1 files that I wish to re-encode into mpeg2 streams, for DVD authoring. I also wish to use CCE and not TMPGenc since CCE, as far as I know, is superior at mpeg2 encoding, while TMPGenc is superior for mpeg1 encoding. Also, CCE is way faster than TMPGenc, especially when frameserving with AviSynth, which is what I do.

Here's the problem: For example I add an mpeg1 file into CCE via avs script, and this mpeg1 file has a duration of 10m46s, but CCE tells me that the video is 5m23s, exactly half the time of the true duration of the movie.

I tried encoding anyways, but I end up with a 5m23s movie, which is bad! It does the same thing to all my other mpeg1 movies, CCE will only encode/detect half the video. Very odd...

Here's my very basic avisynth script (tested it in Windows media player and has no errors obviously!):
LoadPlugin("MPEGDecoder.dll")
MPEGSource("movie.mpg")
BicubicResize(588,480,0,0.5)
AddBorders(66, 0, 66, 0)

What I use:
CCE SP retail v2.67.00.27
AviSynth v2.08
MPEGDecoder v2.03a by Nic

Any ideas?
Advertisement
_
__
Grafdude
Newbie
_
2. February 2005 @ 20:13 _ Link to this message    Send private message to this user   
Weird thing is this will only happen on mpeg1 streams... while mpeg2 streams encode just fine
Staff Member

2 product reviews
_
3. February 2005 @ 11:43 _ Link to this message    Send private message to this user   
You could try using DGIndex and DGDecode to load the video in AviSynth. As a last resort you could see what kind of video you get from DirectShowSource. Before trying any of that you should probably try viewing the AVS script in VirtualDub or Media Player Classic to see if the length is wrong.

Rich Fiscus
@Vurbal on Twitter
AfterDawn Staff Writer
Grafdude
Newbie
_
3. February 2005 @ 15:23 _ Link to this message    Send private message to this user   
I already checked the script via media player, and it has no errors, the video plays just fine.
Advertisement
_
__
 
_
Staff Member

2 product reviews
_
3. February 2005 @ 17:58 _ Link to this message    Send private message to this user   
Then I'd use DGIndex/DGDecode to load the video in AviSynth and also add ConvertToYUY2() to the end. If you don't do the conversion in your script you have to rely on some other program (probably Divx or Xvid) to do the conversion before CCE reads it.

Rich Fiscus
@Vurbal on Twitter
AfterDawn Staff Writer
afterdawn.com > forums > digital video > video to dvd > mpeg1 to mpeg2 in cce: odd behavior
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork