Digital Video Forums

Go Back   Digital Video Forums > Other > Archive (Closed) > TMPGEnc

LinkBack Thread Tools Rate Thread Display Modes
Old 22 Jan 2010, 03:13 PM   #1
Junior Member
Junior Member
Join Date: Dec 2006
Posts: 6
Default Can't open file


I converted an mp4 file to avi, but trying to open it in TMPGenc 4 tells me:

Could not open the video part of the file D:\Mytest.avi
Only the audio part can be opened.

I assume this is because the file format isn't compatible. When I converted it from mp4 to avi there were many options, but I wasn't sure what was best.

Is there a minimum or recommended avi format that tMPGenc 4 likes?

kirkm is offline  
Old 23 Jan 2010, 12:57 AM   #2
Super Moderator
UncasMS's Avatar
Join Date: Nov 2001
Posts: 9,049

maybe installing ffdshow and configure it as decoder for the video format in question can help
UncasMS is offline  
Old 23 Jan 2010, 06:45 AM   #3
MilesAhead's Avatar
Join Date: Nov 2006
Posts: 2,615

Another trick you can try that worked with the old TMPGEnc Plus was use a one line AviSynth script: AviSource("movie.avi") and save it as the same name as the .avi file but with an .avs extension. You need AviSynth installed but it's free. In fact some tools like SVCD2DVD have a button that just does that... wraps the input files in an .avs script to deal with finicky input files.
MilesAhead is offline  
Old 29 Jan 2010, 08:00 PM   #4
Junior Member
Junior Member
Join Date: Dec 2006
Posts: 6

My apologies to you both for the long delay, but I received no email and assumed no-one had replied.

I've just downloaded AviSynth258 but figuring out and running one line scripts might stump me. Can you give some newbie examples/advice please? Will it them allow tmpGenc to load the avi file?

Re ffdshow. Similarly I don't understand it's connection with tmpGenc.

These 'bad' avi files are play perfectly with VLC, but they won't load into tmpGenc. Nor will they play (from flash drive) via a Hyundai v6H Media player that connects to the TV. My aim is to get them into tmpGenc and perhaps save them in another format or spec that would then work on the Hyundai.

Most files are OK on it and I can't see what's wrong. For example,
1280x544 pixels, 128k audio and 25 frames per second 1979 kbps data rate fails.
616x336 pixels 128k audio and 23 frames per second 1034 kbps data rate is OK.

Is the problem frame rate, pixels, data rate - or something else?

My thanks for any further info.
Cheers - Kirk
kirkm is offline  
Old 30 Jan 2010, 07:05 AM   #5
MilesAhead's Avatar
Join Date: Nov 2006
Posts: 2,615

For the AviSynth one liner, you shouldn't need to do anything. Just accept the defaults during install. If the .avi file is named Movie.avi then in any plain text editor, such as Notepad, type a one line script as follows:

and save it as Movie.avs in the same folder as Movie.avi.

Try to open Movie.avs in Tmpg.

An alternative, instead of AviSource is:

either one should work if you have DirectShow installed. The AviSource() is older and sort of deprecated, but most likely to work.

I don't have your software to try so I don't know if it supports source resolutions greater than standard DVD (720x576 PAL or 720x480 NTSC.) Try the AviSynth script first. If that doesn't work then maybe it's something related to hidef but at least you will have a branch in the diagnoses. A direction to pursue.

Last edited by MilesAhead; 30 Jan 2010 at 07:07 AM
MilesAhead is offline  
Old 30 Jan 2010, 04:09 PM   #6
Lord of Digital Video
Lord of Digital Video
paglamon's Avatar
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126

I converted an mp4 file to avi
What is the codec used in the avi ?

paglamon is offline  


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT +10. The time now is 04:19 AM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 1999 - 2011 Digital Digest

Visit DivXLand   Visit