problem with some .mpg files

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.
bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

problem with some .mpg files

Postby bibbolo » 27 Jul 2010 15:58

I cannot play a .mpg media file althogh I installed a K-lite Basic codec pack. The same file is correctly played with windows media player classic application. How to do to make it work with vlc too?
Last edited by bibbolo on 03 Aug 2010 19:10, edited 2 times in total.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: codec missing?

Postby Arite » 28 Jul 2010 02:08

VLC doesn't use external codecs such as K-Lite.

What version of VLC are use using (current latest is 1.1.1). What are the codecs used in the file (in VLC go to "Tools >> Codec Information" when video is playing)?

Arite.
Don't use PMs for support questions.

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 28 Jul 2010 12:02

I'm using the latest version (1.1.1.). Codec information:

Code: Select all

Stream 0: Type: Audio Codec: MPEG Audio layer1/2/3 (mpga) Channels: Mono Sample rate: 32000 Hz Bitrate: 224 kb/s Stream 1: Type: Video Codec: MPEG-1/2 Video (mpgv) Resolution: 320x240 Frame rate: 25

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

Re: codec missing?

Postby VLC_help » 28 Jul 2010 22:23

Does VLC complain something?

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 29 Jul 2010 04:09

Does VLC complain something?
I'm not sure about what you mean, but I think not.. It just opens the first frame and nothing else happens..

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

Re: codec missing?

Postby VLC_help » 29 Jul 2010 18:03

Open Tools -> Messages (set Verbosity to 2) before playback.

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 29 Jul 2010 19:55

These are the messages displayed (I stopped at a random point because it would have continued):

Code: Select all

main debug: processing request item fr1.mpg node Playlist skip 0 main debug: resyncing on fr1.mpg main debug: fr1.mpg is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'fr1.mpg' main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Nicola\AppData\Local\Temp' main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: `file:///C:/Users/Nicola/Desktop/fr1.mpg' gives access `file' demux `' path `C:\Users\Nicola\Desktop\fr1.mpg' main debug: creating demux: access='file' demux='' path='C:\Users\Nicola\Desktop\fr1.mpg' main debug: looking for access_demux module: 2 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: creating access 'file' path='C:\Users\Nicola\Desktop\fr1.mpg' main debug: looking for access module: 2 candidates filesystem debug: opening file `C:\Users\Nicola\Desktop\fr1.mpg' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='file' demux='' path='C:\Users\Nicola\Desktop\fr1.mpg' main debug: looking for demux module: 50 candidates main debug: using demux module "ps" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for a subtitle file in C:\Users\Nicola\Desktop\ main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Nicola\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: `file:///C:/Users/Nicola/Desktop/fr1.mpg' successfully opened ps warning: garbage at input, trying to resync... ps warning: found sync code qt4 debug: IM: Setting an input ps debug: we found a length of: 19387000 ps debug: we found a length of: 20000000 main debug: selecting program id=0 main debug: looking for decoder module: 34 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread started main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:301) main debug: looking for decoder module: 34 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: ffmpeg codec (MPEG-1/2 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301) main debug: thread started main debug: Buffering 0% mpeg_audio debug: MPGA channels:1 samplerate:32000 bitrate:224 main debug: Stream buffering done (1455 ms in 0 ms) main debug: reusing aout packetizer_mpegvideo debug: size 320x240 fps=25.000 main debug: looking for audio output module: 4 candidates aout_directx debug: Opening DirectSound Audio Output aout_directx debug: found device: Driver audio principale aout_directx debug: found device: Altoparlanti (Realtek AC'97 Audio) aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: thread started main debug: thread (DirectSound Notification Thread) created at priority 15 (../../.././modules/audio_output/directx.c:321) aout_directx debug: DirectSoundThread ready main debug: using audio output module "aout_directx" main debug: TIMER module_need() : 28.000 ms - Total 28.000 ms / 1 intvls (Avg 28.000 ms) main debug: output 's16l' 32000 Hz Stereo/Mono frame=1 samples/4 bytes main debug: mixer 'f32l' 32000 Hz Stereo/Mono frame=1 samples/8 bytes main debug: filter(s) 'f32l'->'s16l' 32000 Hz->32000 Hz Stereo/Mono->Stereo/Mono main debug: looking for audio filter module: 14 candidates audio_format debug: f32l->s16l, bits per sample: 32->16 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: input 'mpga' 32000 Hz Mono frame=384 samples/684 bytes main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 32000 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 960.000 stride_in, 960 stride_out, 768 standing, 192 overlap, 448 search, 1600 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: filter(s) 'mpga'->'f32l' 32000 Hz->32000 Hz Mono->Stereo/Mono main debug: looking for audio filter module: 14 candidates main debug: no audio filter module matching "any" could be loaded main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for audio filter module: 14 candidates mpgatofixed32 debug: mpga->f32l, bits per sample: 0 main debug: using audio filter module "mpgatofixed32" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for audio filter module: 14 candidates main debug: using audio filter module "trivial_channel_mixer" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found 2 filters for the whole conversion main debug: filter(s) 'f32l'->'f32l' 35200 Hz->32000 Hz Stereo/Mono->Stereo/Mono main debug: looking for audio filter module: 14 candidates bandlimited_resampler debug: f32l/35200KHz/2->f32l/32000KHz/2 main debug: using audio filter module "bandlimited_resampler" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion main debug: End of audio preroll main debug: Decoder buffering done in 32 ms main warning: buffer is 6479743000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 6479743000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 6479755000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 6479767000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 6479779000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 6479791000 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: the mixer got a packet in the past (2000) main debug: no usable vout present, spawning one main debug: looking for text renderer module: 2 candidates freetype debug: Building font databases. freetype debug: Took 14000 microseconds freetype debug: Using Arial as font from file C:/Windows/fonts/arial.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: TIMER module_need() : 17.000 ms - Total 17.000 ms / 1 intvls (Avg 17.000 ms) main debug: looking for video filter2 module: 18 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for video filter2 module: 18 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: window size: 320x240 main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: looking for video output module: 1 candidate vout_wrapper debug: Opening vout display wrapper main debug: looking for vout display module: 8 candidates direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module: 3 candidates qt4 debug: requesting video... qt4 debug: Video was requested 0, 0 main debug: using vout window hwnd module "qt4" main debug: TIMER module_need() : 44.000 ms - Total 44.000 ms / 1 intvls (Avg 44.000 ms) direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver main debug: VoutDisplayEvent 'resize' 336x278 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: TIMER module_need() : 122.000 ms - Total 122.000 ms / 1 intvls (Avg 122.000 ms) main debug: using video output module "vout_wrapper" main debug: TIMER module_need() : 123.000 ms - Total 123.000 ms / 1 intvls (Avg 123.000 ms) main debug: got 1 direct buffer(s) main debug: pic render sz 320x240, of (0,0), vsz 320x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: pic in sz 320x240, of (0,0), vsz 320x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: pic out sz 320x240, of (0,0), vsz 320x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: direct render, mapping render pictures 0-23 to system pictures 1-24 main debug: VoutDisplayEvent 'resize' 816x519 window avcodec debug: using direct rendering main debug: End of video preroll freetype debug: using fontsize: 15 main debug: looking for video blending module: 1 candidate blend debug: chroma: YUVA -> I420 main debug: using video blending module "blend" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Post-processing available main warning: vlc_object_find_name(postproc) is not safe! main debug: auto hidding mouse main warning: late picture skipped (4320000 > -2941) main warning: late picture skipped (6450000 > -2997) avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main warning: late picture skipped (12765000 > -2940) main warning: late picture skipped (14896000 > -2997) main warning: late picture skipped (17268000 > -2997) main warning: late picture skipped (16990000 > -2997) main warning: late picture skipped (16950000 > -2997) main warning: computed PTS is out of range (19967000), clearing out main warning: PTS is out of range (19955000), dropping buffer main warning: output PTS is out of range (19977000), clearing out main warning: PTS is out of range (19455000), dropping buffer main warning: PTS is out of range (19443000), dropping buffer main warning: PTS is out of range (19431000), dropping buffer main warning: PTS is out of range (19419000), dropping buffer main warning: PTS is out of range (19407000), dropping buffer avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main warning: late picture skipped (29015000 > -2994) main warning: late picture skipped (31388000 > -2921) main warning: late picture skipped (33278000 > -2984) main warning: late picture skipped (33240000 > -2738) avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main warning: PTS is out of range (42559000), dropping buffer main warning: PTS is out of range (42546000), dropping buffer main warning: PTS is out of range (42534000), dropping buffer main warning: PTS is out of range (42522000), dropping buffer main warning: PTS is out of range (42510000), dropping buffer main warning: PTS is out of range (42498000), dropping buffer main warning: late picture skipped (41725000 > -2997) main warning: late picture skipped (41689000 > -2997) main warning: PTS is out of range (44657000), dropping buffer main warning: PTS is out of range (44644000), dropping buffer main warning: PTS is out of range (44632000), dropping buffer main warning: PTS is out of range (44620000), dropping buffer main warning: PTS is out of range (44608000), dropping buffer main warning: PTS is out of range (44596000), dropping buffer avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main warning: late picture skipped (48803000 > -3205) main warning: PTS is out of range (51821000), dropping buffer main warning: PTS is out of range (51809000), dropping buffer main warning: PTS is out of range (51797000), dropping buffer main warning: PTS is out of range (51785000), dropping buffer main warning: PTS is out of range (51773000), dropping buffer main warning: PTS is out of range (51761000), dropping buffer main warning: late picture skipped (52743000 > -2979) main warning: PTS is out of range (55369000), dropping buffer avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main warning: PTS is out of range (55356000), dropping buffer main warning: PTS is out of range (55344000), dropping buffer main warning: PTS is out of range (55332000), dropping buffer main warning: PTS is out of range (55320000), dropping buffer main warning: PTS is out of range (55308000), dropping buffer

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

Re: codec missing?

Postby VLC_help » 30 Jul 2010 12:58

Have you tried to remux the MPG file?

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 30 Jul 2010 13:40

Have you tried to remux the MPG file?

I don't even know how to do..

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

Re: codec missing?

Postby VLC_help » 31 Jul 2010 16:27

Mencoder is one tool you can use
viewtopic.php?f=14&t=71582&p=236862&hil ... er#p236862

TMPGenc can also do the trick (File -> MPEG Tools... and demultiplex and then multiplex)

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 31 Jul 2010 17:47

Why can't VLC run that file without remuxing? If I have the necessity to use mencoder or other similar programs in addition to VLC to open some .mpg files, that's the same thing of using windows_media_player classic for that kind of file, but I'd like to use a single complete video player for all.

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

Re: codec missing?

Postby VLC_help » 02 Aug 2010 13:24

VLC cannot parse all broken files correctly.

bibbolo
Blank Cone
Blank Cone
Posts: 26
Joined: 22 Feb 2010 14:59

Re: codec missing?

Postby bibbolo » 02 Aug 2010 13:41

Ok, but if the file is correctly played with another player (in this case with wmplayer), doesn't it mean that the file is not broken?

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

Re: codec missing?

Postby VLC_help » 03 Aug 2010 16:15

If you remux with mencoder, it will complain if the input file has issues. WMP can handle some broken files better than VLC.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests