VLC does not play MPEG4/H.264 file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
NeoSyRenity
Blank Cone
Blank Cone
Posts: 43
Joined: 17 Dec 2008 20:49

VLC does not play MPEG4/H.264 file

Postby NeoSyRenity » 26 Nov 2011 14:59

Hi.

I have a MPEG4/H.264 file, which doesn't work in VLC but work in any other player I tried.
http://www.box.com/s/07mb919i09ylz70b32ym

The VLC just shows black screen, but the playing slider is running and can be moved. When digging deeper, the are no decoded packets in media information statistics, though there are no error messages as well. In all it seems as VLC can't start decoding the media file.

Any idea why this happens?

Thanks in advance!

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 does not play MPEG4/H.264 file

Postby Jean-Baptiste Kempf » 26 Nov 2011 17:53

Please share the logs.
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.

archil1983
New Cone
New Cone
Posts: 1
Joined: 26 Nov 2011 21:17

Re: VLC does not play MPEG4/H.264 file

Postby archil1983 » 26 Nov 2011 21:19

main debug: adding item `Unplayable.mp4' ( file:///C:/Users/archil.m/Desktop/Unplayable.mp4 )
qt4 debug: Adding a new MRL to recent ones: C:\Users\archil.m\Desktop\Unplayable.mp4
main debug: rebuilding array of current - root Playlist
main debug: Creating an input for 'Unplayable.mp4'
main debug: rebuild done - 1 items, index -1
main debug: processing request item Unplayable.mp4 node null skip 0
main debug: resyncing on Unplayable.mp4
main debug: Unplayable.mp4 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Unplayable.mp4'
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\archil.m\AppData\Local\Temp'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: `file:///C:/Users/archil.m/Desktop/Unplayable.mp4' gives access `file' demux `' path `C:\Users\archil.m\Desktop\Unplayable.mp4'
main debug: creating demux: access='file' demux='' path='C:\Users\archil.m\Desktop\Unplayable.mp4'
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() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'file' path='C:\Users\archil.m\Desktop\Unplayable.mp4'
main debug: looking for access module: 2 candidates
filesystem debug: opening file `C:\Users\archil.m\Desktop\Unplayable.mp4'
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\archil.m\Desktop\Unplayable.mp4'
main debug: looking for demux module: 52 candidates
mp4 debug: found Box: ftyp size 32
mp4 debug: found Box: free size 8
mp4 debug: skip box: "free"
mp4 debug: found Box: mdat size 3919352
mp4 debug: skip box: "mdat"
mp4 debug: found Box: moov size 20151
mp4 debug: found Box: mvhd size 108
mp4 debug: read box: "mvhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s time scale 1000 duration 694977d-48h:00m:01s rate 1.000000 volume 1.000000 next track id 2
mp4 debug: found Box: trak size 19938
mp4 debug: found Box: tkhd size 92
mp4 debug: read box: "tkhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s duration 694978d-21h:19m:58s track ID 1 layer 0 volume 0.000000 width 800.000000 height 608.000000
mp4 debug: found Box: edts size 48
mp4 debug: found Box: elst size 40
mp4 debug: read box: "elst" entry-count 2
mp4 debug: found Box: mdia size 19790
mp4 debug: found Box: mdhd size 32
mp4 debug: read box: "mdhd" creation 719084d-36h:00m:00s modification 719084d-36h:00m:00s time scale 2000 duration 694979d-54h:39m:56s language und
mp4 debug: found Box: hdlr size 45
mp4 debug: read box: "hdlr" handler type vide name VideoHandler
mp4 debug: found Box: minf size 19705
mp4 debug: found Box: vmhd size 20
mp4 debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0)
mp4 debug: found Box: dinf size 36
mp4 debug: found Box: dref size 28
mp4 debug: found Box: url size 12
mp4 debug: read box: "url" url: (null)
mp4 debug: read box: "dref" entry-count 1
mp4 debug: found Box: stbl size 19641
mp4 debug: found Box: stsd size 145
mp4 debug: found Box: avc1 size 129
mp4 debug: found Box: avcC size 43
mp4 debug: read box: "avcC" version=1 profile=0x42 level=0x1f length size=4 sps=1 pps=1
mp4 debug: - sps[0] length=20
mp4 debug: - pps[0] length=4
mp4 debug: read box: "vide" in stsd 800x608 depth 24
mp4 debug: read box: "stsd" entry-count 1
mp4 debug: found Box: stts size 9616
mp4 debug: read box: "stts" entry-count 1200
mp4 debug: found Box: stss size 208
mp4 debug: read box: "stss" entry-count 48
mp4 debug: found Box: stsc size 28
mp4 debug: read box: "stsc" entry-count 1
mp4 debug: found Box: stsz size 4820
mp4 debug: read box: "stsz" sample-size 0 sample-count 1200
mp4 debug: found Box: stco size 4816
mp4 debug: read box: "co64" entry-count 1200
mp4 debug: found Box: udta size 97
mp4 debug: found Box: meta size 89
mp4 debug: found Box: hdlr size 33
mp4 debug: read box: "hdlr" handler type mdir name
mp4 debug: found Box: ilst size 44
mp4 debug: found Box: ctoo size 36
mp4 warning: unknown box type ctoo (incompletely loaded)
mp4 debug: dumping root Box "root"
mp4 debug: | + ftyp size 32
mp4 debug: | + free size 8
mp4 debug: | + mdat size 3919352
mp4 debug: | + moov size 20151
mp4 debug: | | + mvhd size 108
mp4 debug: | | + trak size 19938
mp4 debug: | | | + tkhd size 92
mp4 debug: | | | + edts size 48
mp4 debug: | | | | + elst size 40
mp4 debug: | | | + mdia size 19790
mp4 debug: | | | | + mdhd size 32
mp4 debug: | | | | + hdlr size 45
mp4 debug: | | | | + minf size 19705
mp4 debug: | | | | | + vmhd size 20
mp4 debug: | | | | | + dinf size 36
mp4 debug: | | | | | | + dref size 28
mp4 debug: | | | | | | | + url size 12
mp4 debug: | | | | | + stbl size 19641
mp4 debug: | | | | | | + stsd size 145
mp4 debug: | | | | | | | + avc1 size 129
mp4 debug: | | | | | | | | + avcC size 43
mp4 debug: | | | | | | + stts size 9616
mp4 debug: | | | | | | + stss size 208
mp4 debug: | | | | | | + stsc size 28
mp4 debug: | | | | | | + stsz size 4820
mp4 debug: | | | | | | + stco size 4816
mp4 debug: | | + udta size 97
mp4 debug: | | | + meta size 89
mp4 debug: | | | | + hdlr size 33
mp4 debug: | | | | + ilst size 44
mp4 debug: | | | | | + ctoo size 36
mp4 debug: ISO Media file (isom) version 512.
mp4 debug: found 1 tracks
mp4 warning: elst box found
mp4 debug: - [0] duration=190469ms media time=-1ms) rate=1.0
mp4 debug: - [1] duration=119998ms media time=0ms) rate=1.0
mp4 debug: track[Id 0x1] read 1200 chunk
mp4 debug: track[Id 0x1] read 1200 samples length:119s
main debug: selecting program id=0
mp4 debug: adding track[Id 0x1] video (enable) language undef
main debug: using demux module "mp4"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
mp4 warning: control query 14 unimplemented
main debug: looking for a subtitle file in C:\Users\archil.m\Desktop\
main debug: looking for decoder module: 34 candidates
main debug: no fetch required for (null) (art currently (null))
qt4 debug: IM: Setting an input
avcodec debug: libavcodec initialized (interface 0x350500)
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 30.000 ms - Total 30.000 ms / 1 intvls (Avg 30.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\archil.m\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: `file:///C:/Users/archil.m/Desktop/Unplayable.mp4' successfully opened
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 33%
main debug: Buffering 66%
main debug: Buffering 100%
main debug: Stream buffering done (400 ms in 0 ms)
main debug: Decoder buffering done in 0 ms
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.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: 800x608
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() : 34.000 ms - Total 34.000 ms / 1 intvls (Avg 34.000 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: VoutDisplayEvent 'resize' 816x646 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() : 86.000 ms - Total 86.000 ms / 1 intvls (Avg 86.000 ms)
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 86.000 ms - Total 86.000 ms / 1 intvls (Avg 86.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 800x608, of (0,0), vsz 800x608, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 800x608, of (0,0), vsz 800x608, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 800x608, of (0,0), vsz 800x608, 4cc I420, sar 10799999:10800000, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 800x608 window
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
freetype debug: using fontsize: 38
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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: auto hidding mouse
main debug: EOF reached
main debug: finished input
main debug: thread times: real 5m9.833954s, kernel 0m0.000000s, user 0m1.435209s
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: [0] 0 0
main debug: [1] 0 0
main debug: [2] 0 0
main debug: [3] 0 0
main debug: [4] 0 0
main debug: [5] 0 0
main debug: [6] 0 0
main debug: [7] 0 0
main debug: [8] 0 0
main debug: [9] 0 0
main debug: [10] 0 0
main debug: [11] 4 0
main debug: [12] 4 0
main debug: [13] 4 0
main debug: [14] 4 0
main debug: [15] 2 0
main debug: [16] 2 0
main debug: [17] 2 0
main debug: [18] 2 0
main debug: [19] 2 0
main debug: [20] 2 0
main debug: [21] 0 0
main debug: [22] 0 0
main debug: [23] 0 0
main debug: saving a free vout
mp4 debug: freeing all memory
main debug: removing module "mp4"
main debug: removing module "stream_filter_record"
main debug: removing module "filesystem"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: thread times: real 5m9.867961s, kernel 0m0.000000s, user 0m0.000000s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'Unplayable.mp4' : 34.000 ms - Total 34.000 ms / 1 intvls (Avg 34.000 ms)
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
main debug: removing module "qt4"
main debug: removing module "direct3d"
main debug: removing module "vout_wrapper"
main debug: removing module "blend"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

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

Re: VLC does not play MPEG4/H.264 file

Postby Lotesdelere » 29 Nov 2011 10:39

Code: Select all

Frame rate mode : Variable Frame rate : 10.000 fps Minimum frame rate : 8.333 fps Maximum frame rate : 12.658 fps
VLC doesn't like low FPS video files, for some reason.
You should create a ticket on the VLC Trac with a link to the non working file.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests