VLC can't play AVI

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

VLC can't play AVI

Postby camphill » 30 Sep 2009 02:15

Error message...
"VLC does not support the audio or video format "MPG2"...
The video does not play although the audio does.

Video Inspector and VLC Codec Information shows the AVI file is using MPG2 codec. Windows Media Player plays the video just fine. Any ideas how I can determine more specifically what codec is being used and why VLC can't play the video?

Thanks

camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

Re: VLC can't play AVI

Postby camphill » 30 Sep 2009 02:41

GSpot codec viewer shows the AVI was recorded with FFmpeg MPEG 1/2.

Does this help anyone?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC can't play AVI

Postby VLC_help » 30 Sep 2009 12:08

Could you share us short sample file?

camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

Re: VLC can't play AVI

Postby camphill » 30 Sep 2009 13:21

Test AVI is located here:

http://emailtim.us/vlc.avi

It is only a few seconds long.

Thanks.

Lotesdelere
Cone Master
Cone Master
Posts: 10143
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC can't play AVI

Postby Lotesdelere » 30 Sep 2009 17:18

The video stream of this video has been encoded with the FFmpeg MPEG2 codec. It's a nonsense to have such video format in an AVI container.
And even worse it may be interlaced, what the AVI container can't handle properly.

Now if you want to playback this video you have two solutions: use MPlayer or use ffdshow for playing the file in a DirectShow player (e.g. WMP or MPC(-HC)) after enabling the "MPEG in AVI" feature in the codecs section.

But the best idea is not to mux such video streams in an AVI container, use MPG or MP4 instead.

camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

Re: VLC can't play AVI

Postby camphill » 30 Sep 2009 17:56

This all started when I bought a new Sony flash camcorder. It records to individual mpg files every time you record. I wanted to merge them all together so I had one single file for that days filming. I use AVS Video Converter to merge all mpg's into a single file. I chose to create an AVI file so I could then pull it into Studio to create a movie/DVD if I choose to do so. When AVS Converter created the AVI it apparently used FFDSHOW as the mpg2 codec.

Do you have any suggestions on how best to accomplish this task....to merge numerous mpeg-2 files into a single file that will then be in an acceptable format that Studio can use to create a movie/DVD?

In the mean time I will uninstall FFDSHOW and see what codec AVS Converter tries to use for mpg2 conversion.

Lotesdelere
Cone Master
Cone Master
Posts: 10143
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC can't play AVI

Postby Lotesdelere » 30 Sep 2009 20:14

Do you have any suggestions on how best to accomplish this task....to merge numerous mpeg-2 files into a single file
AviDemux.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC can't play AVI

Postby Jean-Baptiste Kempf » 01 Oct 2009 01:46

Test AVI is located here:

http://emailtim.us/vlc.avi

It is only a few seconds long.

Thanks.
OK, this file will be fixed in VLC 1.1.0.

Mpeg2 in avi, is not nonsense, but usually unused.
And usually, you use mpg2 not MPG2 as a fourcc
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

Re: VLC can't play AVI

Postby camphill » 02 Oct 2009 13:32

What's the difference between MPG2 and mpg2? I can't find a difference and AVS Converter was set ti use ffdshow, which I assume by your comments uses MPG2.?. What is the typical fourcc used in AVI's or MPG files?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC can't play AVI

Postby Jean-Baptiste Kempf » 02 Oct 2009 15:39

FourCC are case-sensitive.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC can't play AVI

Postby VLC_help » 03 Oct 2009 14:49

And AVS Converter is sh!tty anyway.

camphill
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Jul 2009 17:21

Re: VLC can't play AVI

Postby camphill » 05 Oct 2009 13:05

I agree. It's been uninstalled.

Thanks everyone.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 28 guests