This forum is for users to exchange information and discuss with other users about a TMPGEnc product.
In case you need official support, please contact TMPG Inc.
Pegasys Products BBS [ Sorted by thread creation date ]
Hi everybody!! I'm trying to re-encode (transcode) a MPEG-2 PAL file (a .M2V file) to backup a DVD (just lowering its bitrate), & I've got into trouble. The resultant file has the same number of frames as the source one, but the new one [b]is DELAYED[/b]!! (as if some frames had been inserted every few seconds).
I haven't changed at all the frame rate, so I'm almost sure that the problem is related with the GOP structure of the original file, 'cause it seems (to me) a bit strange; this is an extract of it:
IBBPBBPBBPBB <-- this is the usual GOP (about 98% of them)
IBB <-- about 1% of GOPs are like this one
IBBPBB <-- also about 1% of GOPs
I've tried the ''[b]Force Picture[/b]'' (IfoEdit -> TmpgTemplate.txt) method as explained at http://www.doom9.org/mpg/tmpg-dvdencoding.htm , but I'm afraid that [b]TMPGEnc hangs[/b] at the process of loading the GOP template (I've waited for almost 1 hour: it IS definitively hanged).
I've managed to avoid the hang using the ''source range'' option to divide the transcoding in 4 processes (dividing the 2 hours film into 4 1/2 hours films), [b]BUT[/b] (& this is my main [b]question[/b]): [b]what should I do with the TmpgTemplate.txt GOP template??[/b]
...What I mean is this: Would it work if I just divide the template into 4 files (just cut & paste the GOP list, cutting at (I) frames, of course)?? Or should I also re-number the GOP list?? (You know, the first file would contain the GOPs from 0 to 38366, BUT the [b]second[/b] one would contain the GOPs from 38367 to 76728... should I subtract the number ''38367'' to each GOP number???)
The Delay has Absolutely Nothing to do with the Gop Structure or the Framerate, like you said they Both have the same amount of frames and the same Frame rate so that is Not the Problem..The Problem is the Audio, Depending on if you are Useing the Original demuxed audio from the Original DVD or if you are useing the decoded audio from the source..If you decoded the audio sometimes the audio length can change after it has been decoded, and if you are useing the Original demuxed audio then there is usually a Delay in the beginning of the audio with DVD"s.and Of cource the Gop structure will Be slightly different in the Source file than in the finnished File, scene detection inserts I frames (Instead of B or P frames) at scene changes and every encoder will detect scene changes differently but because the GOP is a Little Differant will have no bearing in the Length of the File or even the Quality of the file as Long as the amount of frames is the same .How are you encodeing this DVD??? and How are you extracting the audio?? I bet you if you load the audio into a Good audio editor you will find that the audio length is a little different than the Video length, or if you load the Vob files into DVD2AVI then demux the audio DVD2AVI will tell you the exact amount of delay there is in the Audio, then if you load the audio into "Headac3he" to decode it to say WAV it will compensat for the audio delay so the audio will sync up perfectly, I have done Literally Hundreds of DVD Backups and allmost every single sync Problem I ever had was due to the audio, if you are Just trying to do a Simple DVD Backup then Maybe look into a Program called "DVD2One" it can Transcode any DVD to that it will Fit on a Single DVD-R in a Matter of Minutes on a Fast CPU, I did a Whole Movie that was 7.5GB and it transcoded the whole movie down to 4.3GB in 12 minutes with Exelent Quality....
Well... THANKS A LOT, minion, BUT I'm afraid there's been a BIG MISUNDERSTANDING. When I mean "DELAYED", I'm referring just to the VIDEO FILE (the .M2V file), which has the same number of frames as the source one, BUT its last frame is not the last frame of the film (a studio logo): instead it's a frame of about 2 minutes earlier. We could say that the video has been ''stretched'' in some way. It's not the typical 0,080 sec. audio-video delay (I've faced that before & I know it), it's something more strange & serious.
...That's why I thought it was some kind of problem with the GOP structure, a problem that perhaps I could solve with that ''IfoEdit+Load (Force) GOP structure'' solution, IF TMPGEnc wouldn't hang in the process.
&, about DVD2One, I'd like to do it ''the hard way''; this time is just a simple backup, but I'm going to accomplish more complex matters sometimes, so I need to learn how to solve this kind of troubles (which I hadn't found with any other video file till now...).
It's nothing to do with your GOP structure. Like Minion says the change in the GOP structure is due to the scene change detection.
I still don't understand your problem. Is the movie in sync with the audio? Is it all there?
Are you saying your problem is that the movie finishes 2 minutes before it should yet has the same number of frames as the original?
Please be clearer this time and post the specs of both the source and output files and your encoding settings.
Well the Most compatible Frame server is Probably VFAPI, But VFAPI Only accepts certain File Types Like D2V and TPR and Mpeg2 Video if you have the M2V-VFP Plugin installed...The Next is Probably something like "Link2Tool" but it isn"t free and not very Flexable..Virtual Dub is Flexable and works with Tmpgenc ,you might need to do some tweaking though, and AVISynth is Very Flexable and is supported By Tmpgenc but you might need to do some Tweaking also.DVD2AVI is the Best Mpeg2 Frameserver for Tmpgenc..There is also a New Frameserver Plugin for Ulead Products that lets you export files from most Ulead Programs to Tmpgenc and other Encoders but it also isn"t free...So It depends on your Needs and the Type of Files you want to Frameserve....
Hi,
I have encoded about 70 divx/xvid to vcd over the last year, but recently with most of the newer divx/xvid i am unable to encode them. Following exactly the same steps as i normally would, mainly using the vcd template provided with TMPGenc. Once i load the movie into the template and begin encodeding, before it encodes the first frame and error apears, "Error initialising ACM". Thinking it was a audio problem i removed the audio with VirtuaDUB and tried again, but before it encoded the first frame i recieved a different error, "Invalid pointer operation". Can any one HELP???
Trying it 2 or 3 times does not help the sitation :(
Framserve the Xvid or Divx file through VitualDUB with
- Full Audio Processing and,
- Full Video Processing
Then open the signpost file in TMPG and encode as per usual and,
IT WORKS!
Furball's opinion: This problem i believe occurs because the people who originally encoded the Divx/Xvid did a sh** poor job of it, or used hacked or poor codecs.
Let me know if it works for you though, thanx for your input Carnifex!
Hi every body. I've been having some problems as of late with TMPGnc. Basically I'm converting Div-X'ed anime to SVCD for view on my DVD player. Unfortunately as of late I'm having the following frame skiping problems. At certain points thoughout the ep the video skips a few frames (the sound stops for a second to), and the sound gos all out of sync. I have no idea why it is doing this. Its been happening lately with all episodes of series I've tried to encode to SVCD (or even any mpg, as I've tried VCD, and also other random options). I've also gone back to some of the earlyer episodes that I've watched fine and again encoded them to SVCD and they're fine. Which kind of points to the Div-X files themselves. However I can see nothing wrong with the Div-X's themselves though. I can detect no skip where the MPG encodes usely skip. I've tried div fixing them (no errors detected), and I've tried running Virtual Dubs error detection thingy (again no errors with the Div-X's). Also its a bit weird it does this on 4 seperate episodes.
So does any one have ANY idea to why this is going on and how I can fix it? TMPGnc has been fine so far, but I hate to think its going to start being a pain now... :/
What is Happening is that you are Experienceing Bitrate spikes and the Bitrate is spikeing higher than your DVD Player can handle..I have experienced this Many Times with files encoded by Tmpgenc cuz Tmpgenc does not have very good Bitrate controll actually it is really bad bitrate controll so the Bitrate goes a lot higher at times than the bitrate that you specify, This is one of the Reasons that I do not use Tmpgenc for SVCD"s anymore..All you can really do is try Lowering the Bitrate a little or if you usually use VBR then try CBR instead, this is a Very Frustrateing Problem cuz you never know when it will happen ........
I forgot to mention I've viewing all my mpgs on Pc right now (checking them before they go onto cd as SVCD). I'm getting the sound video/sound problems when viewing them though every media player I've tried Pc wise. I've been useing CBR at 2600 (or whatever it is... 2563 or whatever) the max bitrate of SVCDs. But bitrate? Hmm. As I said its also happaned when I've tried encoding at VCD quality...
minion - what proggy do you use for SVCD's? I'm always open to trying out a new program or five.
This sounds like a decoding problem. Install FFDSHOW. If this doesn't solve the problem raise the prority of the Direct show reader in the VFAPI plugins to 2.
Cinema craft Encoder is the best quality MPEG2/SVCD encoder there is bar none, but very, very expensive. You can find a demo at their site.
>This sounds like a decoding problem. Install FFDSHOW. If this doesn't solve the problem raise the prority of the Direct show reader in the VFAPI plugins to
I installed FFDSHOW. No luck... where do I go to change the priority of the Diriect Show Reader? I'm not sure exacly where these VFAPI Plugins are heh.
Well if you are getting the same effect on your PC then the Problem isn"t Bitrate spikes..The Vfapi Plugins can be found by going to "Options" to "Enviromental Settings" then to "Vfapi Plugins" then raise the "Direct show" to "2"..And as Ashy Said CinemaCraft Encoder SP is the Best for Mpeg2 encodeing and is Extremely Fast compared to Tmpgenc, it can encode at faster than Real time on some systems and even up to 2 times real time on Really fast systems, But as Ashy said it is also Very Expensive at about $2000 US ,so it is Targeted at Very High end Video production....
I have the same problem but I have all the codecs installed and I tried the Enviromental Settings but I still get the same error. I only get this with 1 movie every other movie is fine. The funny thing is I already had encoded this movie once before, but decided to change some settings to make the movie smaller and now it wont let me open it anymore??
It is a .dv2 with a .wav to combine it to a mpg. Any other thoughts?
Thanks
Susan
Well if it is a "D2V" file then that is Different, You should have Raised the "DVD2AVI.vfp" File reader in the Vfapi Plugins, but if all else fails Just make another D2V file this will usually solve the Problem, and Make sure you don"t moove, Delete,or Rename ANY of the Vob/Mpeg2 files that you made the D2V file from....
I Get the same error message. When I put the priority level to 2 it says tmpgenc has performed an illegal operation and will be shut down. How do I check my codecs.
First thing is You don"t install Tmpgenc in the First place so you don"t Uninstall it, You just take the Folder with all of the Tmpgenc files and delete it....
I have a 95min AVI file on my computer which I would like to burn as a VCD.
I tried to use TMPG with the MPEG1 VCD(non standart) settings and a reduced video and audio bitrate to get a mpeg file smaller than 700MB.
The bitrate settings in the wizard are showing me that the movie should come out below 700MB, but when I start encoding, I stil need approx. 10MB/min of film.
Any idea what I'm doing wrong?
Why do you want it to come out below 700mb??? You can fit a lot More than that on a CD-R, you can fit up to 800mb+ on to a 700mb 80 min CD-R..I hope you realize that if you put a 95 minute movie on a single CD-R the Quality while watching on your TV will be Just awefull.....
hi everyone, my free version just expired and i bought the new version with the serial code. but every time i start it up it tells me my free version has expired, where do I put the serial code??? this is really starting to upset me since i need to use this program and cant get past the free version to enter my serial number
When you Buy Tmpgenc you don"t Buy the Free version the Free version is free so there is no need to Buy it, What you need to download is the "Plus" version, See on the Bottom here were the Banner that says "Tmpgenc Plus" well Click that, then go and download the "Plus" version..
I am having an odd problem in which certain frames "pause" every so often only during the first 6 minutes of a 90 minute encode. The video will play fine, when all of sudden the picture will "jerk." Upon slow motion inspection I noticed certain frames get played twice (or paused for an extra frame). This creates a jerk in the video.
Oddly, the problem only exists during the first 6 minutes of a 90 minute encoding. I checked, doubled checked, and triple checked the source and all frames are in tact there. It is no a source file problem.
If I enocde a few seconds on the section that behaves with the "pausing" problem, it does not occur.
Making matters more interesting, the same file encoded using Quicktime plays fine (although the quality is no where near as good.)
I have tried every setting possible and made sure they were correct for MPEG-2. It occurs in VBR and CBR encodes. I have used 8 bit and 10bit methods. I have tried scene detect on or off. I have made sure the frame rate is 29.97.
Does anyone have thsi problem? Can anyone shed some light. I hav spent days, weeks, months trying to fgure out why it does this to no avail.
The file is coming out of Avid Xpress DV as one large Quicktime file. I use the Quicktime reader plug-in. TMPGENC has no problems encoding. In fact, it looks really good, but for the "paused" frames on playback.
I am having an odd problem in which certain frames "pause" every so often only during the first 6 minutes of a 90 minute encode. The video will play fine, when all of sudden the picture will "jerk." Upon slow motion inspection I noticed certain frames get played twice (or paused for an extra frame). This creates a jerk in the video.
Oddly, the problem only exists during the first 6 minutes of a 90 minute encoding. I checked, doubled checked, and triple checked the source and all frames are in tact there. It is no a source file problem.
If I enocde a few seconds on the section that behaves with the "pausing" problem, it does not occur.
Making matters more interesting, the same file encoded using Quicktime plays fine (although the quality is no where near as good.)
I have tried every setting possible and made sure they were correct for MPEG-2. It occurs in VBR and CBR encodes. I have used 8 bit and 10bit methods. I have tried scene detect on or off. I have made sure the frame rate is 29.97.
Does anyone have thsi problem? Can anyone shed some light. I hav spent days, weeks, months trying to fgure out why it does this to no avail.
The file is coming out of Avid Xpress DV as one large Quicktime file. I use the Quicktime reader plug-in. TMPGENC has no problems encoding. In fact, it looks really good, but for the "paused" frames on playback.
Have you made sure that your Source file has the Frame rate of "29.97fps" also???? The source file has to have the same frame rate as the Mpeg file you are encodeing to...You figure if you have spent Days, Weeks ,Months, trying to figure this out you would have tried a Different encoder, there are other encoders that Natively support Quicktime files and produce Simular Quality mpeg2 files as Tmpgenc and will Probably do it faster...
I took a AVI file with audio and video and put it in the wizard to create a mpeg file. TMPG askes to select both a video and a audio input, I select my input avi file and generate the mpeg. The output doesn't have any audio.
You have allready asked this same Question 2 times, and the First Person told you what you had to do, You have to extract the audio from your AVI file to a WAV file then use the "WAV" file as the audio source in Tmpgenc...You can do this with "Virtual dub" or "AVI-MuX"....
Well that is simple..Just load in your File, then click the "Settings" Button in the Bottom Right corner, then go to the "Video" settings Page, and were it says "Size" click on it and set it to "Unlock" then adjust the resolution...Thats It....