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 ]
I am trying to split up an mpg file. However, there is an error in it, and TMPGEnc wont do anything past the error. I am trying to cut out a certain portion of it, but all I get is the first 24 seconds, before the error in the mpg. How do I bypass this error, or fix it, so TMPGEnc can cut the file?
I'm trying to convert an AVI to MPEG, so i can put it onto dvd, but when i load the avi, TMPGENC fails on me. I can play the file in a media player, such as windows media, and divx, but why is it failing when i try to load it? I've reinstalled all my codecs, and have restarted me PC many times, anyone know what i can do to get it to work?! Thanks in advance.
Nope. And what happens if you open the video with VirtualDub and, just for tamporary file, you compress it with Xvid codec set at maximum quality (AS @ L5 and maximum quality)?
That error message usually means that TMPGenc can't find a codec to decode the audio or video. Sometimes this occurs when the AVI file uses an older "Video For Windows" codec instead of the newer DirectShow codec. Your best bet is to use another program to transcode the file to another encoding before using TMPGenc to convert to MPEG.
IN ENVIRONMENTAL SETTING>VFAPI PLUGIN set higher priority for the respective codec go by trial and error. Restart TMPG every time till you get to see the video.
everytime I encode my mpeg-file I get an error at the same position.
every player just stops playing every file at 01:07:40.
The Mpeg-files are always between 0.9GB and 1.3GB (about 1.5 hours)
(MPEG-1 640x480 25fps CBR 1150kbps, Layer-2 48000Hz 128kbps)
The Avi-files have a size of ~500MB
(AVI 640x480 25fps CBR 1150kbps, Layer-2 48000Hz 128kbps)
(I know 640*480 not a standard resolution for videos but i watch the files on my computer, so it should be ok, right?)
Well the problem is no matter what i do it always stops the *.avi at 01:07:40 while the mpeg-file doesnt stop at all. I have tried about 10 different videos, everyone stops at the same position so i don´t think it happens by accident.
First of all, can I just ask what is the point in re-encoding the AVI's at all?
As you say the resolution is not standard and won't play in any other player then the PC.
If that's the case what's the point in craeting an MPEG that will have reduced quality and be twice the size? You may as well just watch the AVI.
Ok aside from that I need you to explain what you mean by saying the file stops playing.
Do you mean it actually ends at that point or does it just freeze on the last frame or do you mean it continues playing, but still shows the same frame?
Have you checked to make sure you don't have your source range setting to end at 01:07:40?
I use a dvb-s card to record mpeg streams and then i encode them to avi
(with Xvid Codec)
If i use PowerDVD it just quits the programm. If i use WinMediaPlayer it says "corrupt file" (keeps playing video but without sound and if i close the error warning it stops).
The file doesnt end at 01:07:40, i can go on watching the files at about 01:08:00
So your capturing to MPEG and THEN converting to AVI?
Why not just capture to AVI? Does your card not have the ability, seems a bit daft converting to AVI.
I can capture to full resolution on my PC using MPEG4 at 25fps without dropping frames and I only have a crappy WinTV card.
I certainly don't understand the point of capturing to such a low quality format such as standard VCD format and then converting to AVI.
The quality loss will be drastic.
If you must capture to MPEG first then capture to MPEG2 with a pretty high bitrate. Your AVI's will then be of much higher quality.
However I still don't understand your problem.
Are your MPEGs stopping at 01:07:40 or your AVI's?
I can only record in mpeg2 or pva and i use mpeg2.
the thing is i am new in videoencoding and the only way for me
to get the videos to avi was
record as mpeg2. (works fine)
encode to mpeg1. (works fine)
encode to avi (the 01:07:40 problem)
I cant encode mpeg2 directly to avi (sound+video wont match)
I already tried FLASK. It works to encode and doesnt stop at the position
but when i open the file it runs for a half second then freezes for a half second, and so on the whole file trough.
>I cant encode mpeg2 directly to avi (sound+video wont match)
This is a problem with your card dropping frames. Your PC isn't powerful enough to handle the bitrates and resolution you are using.
MPEG1 VCD format is less demanding.
Is it possible to adjust the MPEG1 settings for your card? If you can, raise the bitrate, double it if you can as it will improve the quality no end.
It's obvious TMPG doesn't like the MPEGs your card creates.
What sort of card is it, manufacturer and model?
To be honest you are using the wrong application for encoding to AVI anyway. Virtualdubmod is faster and better at it.
I down loaded this program because it says that it can create VCDs, but the only thing it does is convert video files to mpeg format, correct? Well I've been looking for the past week for a program that will actually let me burn a VCD that will play on my home dvd player and every program that I've downloaded which claims to be able to do this turns out to be nothing more than a file converter. I'm not saying that this program doesn't work , but , simply converting a file to mpeg and burning it to a disc does not create a VCD.I need a true VCD creating program (freeware or fully functioning shareware)if anyone can help me out I would greatly appreciate it. I already have a million and one programs that can rip dvds to mpeg format and that is where I'm stuck at, I need to actually burn a VCD not just make an mpeg file!!
Jaysus man you've done the main part, you've got your MPEG all it needs is burning.
If you wanns be lazy using all in ones programs will simply sacrifice quality.
What's the problem?
You've got your MPEG just bung it into nero and burn. A few minutes later you'll have your VCD.
TMPG simply creates the MPEG in the right format for VCD burning. If you've done it right then you'll have an MPEG which is VCD compatible.
Open NERO, select the VCD burning option load you MPEG in and burn. Simple as that. Now watch your VCD.
To give a decent reply (without the unrelated answer from ashy) that actually relates to the request.
Most CD/RW and DVD/RW devices come with software that does just that.
Burns VDC's and/or DVD's. If not then there are alot of burning programs available commercially that can help you out. (only a few of the free programs are halfway decent at best, none worth mentioning)
Try a search on the Internet for these:
Roxio , A good 2nd best program
Nero, the #1 burning program
These are the best burners, but beware of Nero. It has built-in adware inserted into your Internet Explorer or Netscape program.
There are no decent "all in one" programs, although Roxios Easy CD Creator does come close, you will sacrifice alot of time to use it and the file will come out alot bigger than expected.
>These are the best burners, but beware of Nero. It has built-in adware inserted into your Internet Explorer or Netscape program.
Since when?
I've been using it for years and not noticed any.
>There are no decent "all in one" programs, although Roxios Easy CD Creator does come close, you will sacrifice alot of time to use it and the file will come out alot bigger than expected.
When I encode a file using the XDVD template using the bitrate suggested, I get a file that is much smaller than the projected size. When I use the DVD template it is right on. Can anyone tell me why I am not getting accurate file sizes with the XDVD template? I would love to be able to bump up the bitrate to get an even higher quality final product.
i tried to encode my avi file, DivX 3 Low-Motion. The original avi file was 178Mb, but when i encode it to mpeg2 it turned to 1.4Gb. My settings were ;
size : 720 x 480 pixels
aspect ration : 16:9
Frame rate : 23.976 fps (internally 29.97fps)
Rate control mode : 2-pass VBR (VBR)
Average bitrate : 2500 kits/sec
Max bitrate : 9000 kits/sec
Mini bitrate : 0 kits/sec
Max pass : 2 pass (old types)
Encode mode : 3:2 pulldown when playback
YUV formant: 4:2:0
Are there anyway that i can make the encoding smaller?? around 700Mb?? i dont mind losing the qulity... Can nice kind person tell me what settings should i but in...
Forget about the size of the AVI, it's irrelevent.
How long is it?
As far as I can see for an AVI which is of only 178MB it must be low quality. Your MPEG settings are way too high. Why 9000Kb/s. That's just too high for a low quality source.
Create a SVCD and drop your max bitrate right down, however I can't help you any further with settings until I now the stats of the AVI.
When trying to convert a file I get "Unable to load P3Package.dll" error message. I am a newbie can antone help as I don't know what this is referring to. It has happened on to files so far.
Ok, so I make up my DVD. Let TDA author the dvd. This can take 40 mins up to 3.5 hours depending on the source video. Burn to disk, check, then find I want to make a change.
How do I make a minor , say spelling correction, and not re-author the dvd?
I don't think that's allowed. You must get it all correct and author or you will have to do it again. When it authors, it merges everything into VOBs so you cannot edit anything on the menus. But I'm not so sure about track titles.
recently I muxed A/V-streams with TMPGEnc's "Multiplexer"-MPEG-Tool (where I can change no quality settings) and received a file of size 4.656.325 KB. I noticed that this was only 48.325 KB too large to be burned on a data DVD and thus planned to remux it (had already deleted the original stream files) with a little lower quality. So, I demuxed the file and made several attempts with TMPGEnc (now the usual project window where I hoped to be able to change settings). The following is what I tried:
Version: 2.521.58.169
CQ 65, min 2000, max 8000
CQ 65, min 2000, max 6000
CQ 50, min 2000, max 6000
2Pass-VBR, avr 4780, min 2000, max 6000
CBR, 4300
Version 2.524.63.181
CQ 100, min 2000, max 5500
Now, guess what. ALL of the above settings resulted in a file of exactly 4.656.325 KB in size!
This leads me to the conclusion, that the settings I changed are simply ignored. I can not believe that just by accident all the different settings and even methods (CQ, VBR, CBR) lead to exactly the same file size.
What is it MPEG1 or MPEG2?
What do you mean 4.325 KB too large?
Do you mean 48,325 KB (48MB)?
48.325 is less than a megabyte.
Also you've got me confused, or yourself, with this muxing and demuxing business.
Do you mean you planned to re-encode the file with a lower bitrate? You can't remux an MPEG with a lower bitrate.
Also this statement has me confused:
>So, I demuxed the file and made several attempts with TMPGEnc (now the usual >project window where I hoped to be able to change settings).
Demuxed what? The MPEG? Why did you demux it, to do what with it, re-encode it?
If I'm right in thinking your MPEG was only 48MB too big then why didn't you just re-encode the audio to a lower bitrate then re-multiplex with the video?
If it still was too large then trim a little from the end with the MPEG tools.
>What do you mean 4.325 KB too large?
>Do you mean 48,325 KB (48MB)?
>48.325 is less than a megabyte.
In my original post I can still read "48.325 KB too large" which is what I'm talking about.
>Do you mean you planned to re-encode the file with a lower bitrate? You can't remux an MPEG with a lower bitrate.
You are right, sorry, I intermixed the expressions. To lower the file size of course I tried to reencode.
>Demuxed what? The MPEG? Why did you demux it, to do what with it, re-encode it?
I demuxed the MPEG-file to get separate A/V-stream-files again and to reencode them.
>If I'm right in thinking your MPEG was only 48MB too big then why didn't you just re-encode the audio to a lower bitrate then re-multiplex with the video?
Well, to be honest this opportunity didn't come to me. But anyhow, why - with a file of appr. 4,5GB which is only about 48MB too big should I severely drop audio-quality throughout the whole movie? And - on the other hand - I would have used TMPGEnc as well to reencode audio. Would my change of settings work in this case where it did have no effect on the video stream?
>If it still was too large then trim a little from the end with the MPEG tools.
I can not trim any second from the movie because the original show already has been cut from commercials and ends with the last frame of the show.
Of course I can use other tools to reencode the MPEG to a lower bitrate to fit it on a DVD. But my questions remains: How can it be that arbitrary settings in encoding with TMPGEnc always lead to exactly the same file size (of course I did not enable padding).
>In my original post I can still read "48.325 KB too large" which is what I'm >talking about.
Hang on, so let me get this straight. You're actually saying the file is only 48.323KB too large or to round it up 49KB which is 1/20th of a megabyte?
Do you realise how small that actually is?
>But anyhow, why - with a file of appr. 4,5GB which is only about 48MB too big >should I severely drop audio-quality throughout the whole movie?
Now your saying the file is 48MB in contradiction to your above statement.
Also what makes you think you will need to severely drop the audio quality. It all depends on the bitrate you are using in the first place. I regularly drop the audio bitrate down to 128Kb/s without any noticible loss in quality if I have to.
>Of course I can use other tools to reencode the MPEG to a lower bitrate to >fit it on a DVD. But my questions remains: How can it be that arbitrary >settings in encoding with TMPGEnc always lead to exactly the same file size
>(of course I did not enable padding).
What does the project wizard say the output file size will be?
Please list the settings you are using.
I did not notice the different decimal sign (like you indicated in the first place). O.k., now it's clear to me too :-) The file is 48,325KB too big.
>Also what makes you think you will need to severely drop the audio quality. It all depends on the bitrate you are using in the first place. I regularly drop the audio bitrate down to 128Kb/s without any noticible loss in quality if I have to.
The original audio-stream-file (mpa) is encoded with 384kbs and I would not like to go down to 128kbs.
>What does the project wizard say the output file size will be?
>Please list the settings you are using.
Well, I can not use the wizard because there the mpa- and m2v-file are not accepted ("Invalid video/audio source"). Whereas when I use simply the main window I can load the files as Video- and Audio-source. I choose an output-file and to create a system-stream. Then I loaded the DVD(PAL)-setting and changed CQ-values, encoding-methods and bitrates there (according to my first post) but left anything other unchanged from default.
>The original audio-stream-file (mpa) is encoded with 384kbs and I would not like to go down to 128kbs.
What is it 2 channel MPEG audio or AC3?
If it's 2 channel MPEG then there is little point in it being 384Kb/s. If it's been dowmixed to 2 channel Dolby pro logic then this only requires a bitrate of 192Kb/s. There will be no loss in quality.
>Well, I can not use the wizard because there the mpa- and m2v-file are not accepted ("Invalid video/audio source"). Whereas when I use simply the main window I can load the files as Video- and Audio-source. I choose an output-file and to create a system-stream. Then I loaded the DVD(PAL)-setting and changed CQ-values, encoding-methods and bitrates there (according to my first post) but left anything other unchanged from default.
Your saying the exact same files won't be accepted in the wizard yet they will in the main window?
Which one, video or audio or both?
Where did you obtain these files from?
>What is it 2 channel MPEG audio or AC3?
>If it's 2 channel MPEG then there is little point in it being 384Kb/s. If it's been dowmixed to 2 channel Dolby pro logic then this only requires a bitrate of 192Kb/s. There will be no loss in quality.
It is 2 channel MPEG. Reducing from 384kbs to 192kbs would result in appr. 180MB less file size, going down to 128kbs would free 240MB. So - if quality is still o.k. - in this particular case it would work out this way. But in general I of course would like to use the encoding possibilities of TMPGEnc :-)
>Your saying the exact same files won't be accepted in the wizard yet they will in the main window?
Yes, this is what I'm experiencing.
>Which one, video or audio or both?
I can describe exactly what happens. In Project Wizard I choose "DVD PAL"-Format with CBR MP2 Audio-encoding. Now when on the next page I browse for the m2v-file I receive the message "Invalid video source", when I browse for the mpa-file I get "Invalid audio source". When I try to drag-n-drop the video file to the applet I get "File '...' can not open, or unsupported", when I drag the audio file I get "The order number 12 was not found in DLL 'mcmpgdec.dll'" and after that "Invalid audio source" again. Whereas with browsing the "Invalid"-messages come up at once with dragging it takes up to 10secs before the messages appear.
>Where did you obtain these files from?
Originally A/V-files had been demuxed from a dvr-ms-file with XMuxer. I edited them and tried to reencode and remux with TMPGEnc. When I noticed that the resulting mpeg-file was too big I demuxed it with TMPGEnc. This led to the A/V-files I'm experimenting with currently.
I now tried to encode with default video settings (CQ65, min2000, max 8000) and with audio bitrate set to 192kbs. Result: Exactly as before, so this setting had no effect too.
It seems to me as if no encoding takes place at all but simple muxing of the m2v/mpa-files.
O.k., I try to be as exact as possible in my steps.
First, I have the two A/V-files (movie.m2v and movie.mpa).
I open TMPGEnc and in the main window browse for the video- and then for the audio-file. I select an output-filename (movie.mpg). I leave Stream type set to System (Video+Audio). Then I load the DVD(PAL)mcf-template. I open settings where I leave everything unchanged but under the "Video"-tab the Rate control mode: There I change CQ-value and Maxium/Minimum-Bitrate. Only in my last attempt I changed audio bitrate as well.
The (unchanged) video settings are:
Stream type = MPEG-2 Video
Size = 720x576
Aspect ratio = 4:3 Display
Frame rate = 25fps
VBV buffer size = 224
Profile & Level = MP@ML
Video format = PAL
Encode mode = Interlace
YUV format = 4:2:0
DC component precision = 9bits
Motion search precision = Motion estimate search
I close the settings dialogue and press "Start". Encoding takes about 15-20 min. During processing I can see no status bar and only the value of "Elapsed time" is changing, "Remaing time" and "Source position" remain unchanged as 00:00:00.
Afterwards I get the movie.mpg-file with always exactly the same size.
Your problem is as you have diagnosed. TMPG is NOT encoding.
It would take much longer. You would also be able to see the encoding taking place in the preview.
I have seen this before.
TMPG cannot decode neither your video nor your audio files, so it is simply re-muxing the 2 together. This is why you cannot load them into the wizard and hence why the file size is always the same, you've just made an exact copy...LOL.
You will need to install an MPEG2 codec to decode the MPEG and also I think that your audio is incompatible or it is infact AC3.
Either way you will need to convert it to a wav first or simply encode the video portion only and then just mux the audio with the video after encoding. There is little point in re-encoding the audio anyway if it is the right format already.
Well, during searching this board I already had installed the m2v-vfp-0.6.51-Plugin and raised it's priority to 6, one time I even unchecked all other plugins. Up to now this had no effect on TMPGEnc's behaviour.
I think I will try to install some other mpeg2-codecs. At least I can easily check out via the project wizard if TMPGEnc is able to decode my A/V-files.
But one question related: Of course I can play back the m2v- and mpa-files on my computer, so I think there must be some codecs that are installed already and used by e.g. Windows Mediaplayer. But obviously TMPGEnc can not use these codecs. Do they have to support VFAPI? This might be a dead end because the original encoding was done as dvr-ms (Microsoft) which uses mpeg2-encoding as well but is proprietary nearly for sure...
Firstly I used a MS tool (Video Decoder Checkup Utility) which shows you all registered video decoders and encoders on your XP-system. It also can define one of them as preferred for the OS. None was marked as preferred and I choose Cyberlink Video/SP Decoder since this one is registered to VFAPI in TMPGEnc too.
Next I set priority of Cyberlink MPEG Decoder in the VFAPI-settings to +2.
I'm not sure if the first step was necessary but anyhow - I'm glad with it. Now I'm doing my first testing on REALLY encoding with TMPGEnc :-)
I changed computers and was getting the "avi file can't open or file type unsupported" message on the new computer. I had tried every tip I could find on here to no avail. Then I stumbled across this article and followed the steps, and the problem was solved! Now all of my avi files are opening with no problem. Anyway, just wanted to share in case it could help someone else!
(The article refers to Windows Media Player, but fixed my problem for both MP and TMPGenc) http://msmvps.com/chrisl/articles/10453.aspx
In spite of playing with priorities, I am also unable to open two avi videos (divx) that play perfectly in windows media player. I get the usual mesage "cannot open or unsupported"...
So would anyone be so kind as to give detailled hints to solve the problem? Thanks.
I resolved the issue by installing ffdshow AND by playing with priority settings.
Of course, since I had never heard of ffdshow before, I didn't know how to search for it. So I only found this solution by chance AND reading about it here THEREAFTER.
I had installed ffdshow and divx codec and it still wasn't working, changed priority settings, etc. It was the Gspot codec software that helped me by telling me exactly what codec I needed installed.