Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th January 2008, 10:58   #1  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
fix unknow media file?

I have an media file. I can use a powerful player play it, but I can't drag it. The player can't detect the length of the file. Though the file name is an avi file. But I can't use serveral avi fixer fix it. These fixer programme said the file is not an avi file. When I drag during playing, it'll play from the begining.

So, I'd like to know how should I fix this file.
Thanks!
kunkun0217 is offline   Reply With Quote
Old 18th January 2008, 11:59   #2  |  Link
Placio74
VideoAudio
 
Placio74's Avatar
 
Join Date: Feb 2007
Location: Poland
Posts: 219
What 'say' GSpot, MediaInfo, AviCodec, Avinaptic about this file?

You play this file in MPlayer (SMPlayer) and VLC media player?

You try reindexing in VirtualDub?
Placio74 is offline   Reply With Quote
Old 18th January 2008, 14:39   #3  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
Quote:
Originally Posted by Placio74 View Post
What 'say' GSpot, MediaInfo, AviCodec, Avinaptic about this file?

You play this file in MPlayer (SMPlayer) and VLC media player?

You try reindexing in VirtualDub?
the avicodec said its code is xvid mpeg-4. What type the file is on earth? The mplayer will crash when I drag it.
How can I convert it to another type file like WMV or RM?
It seem I need to fix it first. Because the video convert programme can't convert this file now. I don't know how to use the VirtualDub.
kunkun0217 is offline   Reply With Quote
Old 18th January 2008, 14:51   #4  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
re encode the original media to a new file

or try with ffmpeg

ffmpeg.exe -i myfile.avi -vcodec copy -acodec copy -f avi my_new_file.avi

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 18th January 2008, 15:32   #5  |  Link
stegre
ŻŻŻŻŻŻŻŻ
 
stegre's Avatar
 
Join Date: Dec 2002
Posts: 222
Can you post a screenshot of what GSpot says? It might just be truncated, which will make some players crash and others report it's not an AVI. GSpot will should report that or perhaps other oddities.
stegre is offline   Reply With Quote
Old 18th January 2008, 15:55   #6  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
Quote:
Originally Posted by buzzqw View Post
re encode the original media to a new file

or try with ffmpeg

ffmpeg.exe -i myfile.avi -vcodec copy -acodec copy -f avi my_new_file.avi

BHH
It seems that ffmpeg can't be run on windows xp. Can you recommand other programme like ffmpeg? Thanks!
kunkun0217 is offline   Reply With Quote
Old 18th January 2008, 16:04   #7  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
ffmpeg RUN in winxp, vista, win2003, win2000, win98, win me, linux, sun, sco...

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 18th January 2008, 16:39   #8  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
Quote:
Originally Posted by buzzqw View Post
ffmpeg RUN in winxp, vista, win2003, win2000, win98, win me, linux, sun, sco...

BHH
It's uneasy to intall the ffmpeg on windows system. I don't know how to make the source into an executable file.

Last edited by kunkun0217; 18th January 2008 at 17:15.
kunkun0217 is offline   Reply With Quote
Old 18th January 2008, 17:21   #9  |  Link
Placio74
VideoAudio
 
Placio74's Avatar
 
Join Date: Feb 2007
Location: Poland
Posts: 219
Quote:
Originally Posted by kunkun0217 View Post
It's uneasy to intall the ffmpeg on windows system. ...
Ehm... just unpack to some folder and use from command line.
Quote:
... I'm don't know how to make the source into an executable file.
You have ready to use binaries here:
http://esby.free.fr/CelticDruid/mirror/ffmpeg/

About VirtualDub...
File > Open video file... > mark Ask for extended options after this dialog > mark Re-derive keyframe flags
Placio74 is offline   Reply With Quote
Old 18th January 2008, 17:41   #10  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
[/QUOTE][/QUOTE]
Quote:
Originally Posted by stegre View Post
Can you post a screenshot of what GSpot says? It might just be truncated, which will make some players crash and others report it's not an AVI. GSpot will should report that or perhaps other oddities.
Seems you're rigt. The file maybe just be truncated. Because I can play the whole file. It'll stop in the middle of the video. Here's the screenshot of GSpot.
Then what can I do now?
Name:  1.PNG
Views: 144
Size:  58.7 KB
kunkun0217 is offline   Reply With Quote
Old 19th January 2008, 03:34   #11  |  Link
stegre
ŻŻŻŻŻŻŻŻ
 
stegre's Avatar
 
Join Date: Dec 2002
Posts: 222
No, actually, from what I see there, I don't think it's an AVI file at all. Your video and audio (if any) are in an .OGM (Ogg Media) container (which GSpot doesn't parse further, hence the lack of additional info).

What you should do now is download and install the Haali Media Splitter, sometimes called the Haali Matroska Splitter. The main site seems down right this sec, for some reason, but there are plenty of others places to get it , e.g. here

After you install that, you should then be able to play your file in Windows Media Player or almost anything else. If that works, re-open it in GSpot and press the "1" MS render button again - it should tell you what you're streams are composed of.

You could also just download the Windows version of VLC, which will likely just play your file by itself, even without the Haali splitter.

If either of those work, you should be able to losslessly demux your audio and video streams out of the OGM container and into something more widely supported, like AVI, although the best container selection will depend on what type of streams are in there.

But first things first: see if either of the above two methods lets you view your file.

Last edited by stegre; 19th January 2008 at 03:36. Reason: typos
stegre is offline   Reply With Quote
Old 19th January 2008, 05:19   #12  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,274
@kunkun0217

Hi!

Of course the very obvious question is:

How/Why could you have created a file in an .OGM container, named it with an .AVI entender, and not know that it was .OGM?
setarip_old is offline   Reply With Quote
Old 19th January 2008, 08:59   #13  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
Quote:
Originally Posted by stegre View Post
No, actually, from what I see there, I don't think it's an AVI file at all. Your video and audio (if any) are in an .OGM (Ogg Media) container (which GSpot doesn't parse further, hence the lack of additional info).
the Haali Matroska Splitter. The main site seems down right this sec, for some reason, but there are plenty of others places to get it , e.g. here

After you install that, you should then be able to play your file in Windows Media Player or almost anything else. If that works, re-open it in GSpot and press the "1" MS render button again - it should tell you what you're streams are composed of.

You could also just download the Windows version of VLC, which will likely just play your file by itself, even without the Haali splitter.

If either of those work, you should be able to losslessly demux your audio and video streams out of the OGM container and into something more widely supported, like AVI, although the best container selection will depend on what type of streams are in there.

But first things first: see if either of the above two methods lets you view your file.
I've install the Haali Matroska Splitter. I can use windows media player to play it now. I use GSpot to analyze it again. Here's the screen shot.

Name:  2.PNG
Views: 113
Size:  60.1 KB

Then, What should I do next ?
How can I convert it into other media type like WMV or MPG?
kunkun0217 is offline   Reply With Quote
Old 19th January 2008, 09:02   #14  |  Link
Placio74
VideoAudio
 
Placio74's Avatar
 
Join Date: Feb 2007
Location: Poland
Posts: 219
kunkun0217, use other info tools too - example MediaInfo.

It's OGG or OGM? It's different.

Maybe contained Theora video...
I'm think Theora and Vorbis not match to AVI container.
Vorbis in AVI, it's possible - but Theora...

You can use other players instead VLC - example SMPlayer (MPlayer) or The KMPlayer.

[EDIT]
Quote:
Originally Posted by kunkun0217 View Post
...
How can I convert it into other media type like WMV or MPG?
Ehm...
You can use FFmpeg or MEncoder and some GUI's for this encoders - example MediaCoder, WinFF, AutoMen, ...
Or You can use Avisynth script (DirectShowSource) and VirtualDub.
But, if it's OGM with Xvid or DivX video and Vorbis audio - recompress video is unnecessary - just recompress audio and change container.

Last edited by Placio74; 19th January 2008 at 09:41. Reason: Uh, i'm not see post above before...
Placio74 is offline   Reply With Quote
Old 19th January 2008, 09:39   #15  |  Link
kunkun0217
Registered User
 
Join Date: Jan 2008
Posts: 7
Name:  3.PNG
Views: 139
Size:  25.3 KB
Quote:
Originally Posted by Placio74 View Post
kunkun0217, use other info tools too - example MediaInfo.

It's OGG or OGM? It's different.

Maybe contained Theora video...
I'm think Theora and Vorbis not match to AVI container.
Vorbis in AVI, it's possible - but Theora...

You can use other players instead VLC - example SMPlayer (MPlayer) or The KMPlayer.
Here's the MediaInfo screenshot check the information in all the attachments.
Really thanks for you guys help!
The target is convert it into RM or WMV. But a lot of the coverter doesn't accept it now.
kunkun0217 is offline   Reply With Quote
Old 19th January 2008, 10:01   #16  |  Link
Placio74
VideoAudio
 
Placio74's Avatar
 
Join Date: Feb 2007
Location: Poland
Posts: 219
Example...
Demux streams to AVI (with Xvid video stream) and OGG (Vorbis audio) used OGMcleaver.
You can recompress audio (or decompress do PCM WAV), and mux with AVI.
Then i'n not see any problem to use Window Media Encoder, RealProducer and other apps.

Of course possible other ways... You can use FFmpeg, MEncoder, some GUI's for this encoders; Avidemux; Avisynth script and some apps;...
Placio74 is offline   Reply With Quote
Old 21st January 2008, 03:34   #17  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
rename that file from .avi to .ogm first...
it's not an AVI.
however i doubt you created that file as well as i doubt it contains legal material.
Sharktooth is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 20:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.