Can not play raw h264 video
Posted: 26 Jul 2011 18:48
I have an h264 video bytestreams that do not play with the VLC 1.1.11.
I bring up the messages dialog and set verbosit = 2 then open the file...here is what I get:
I have tried using the .264 and .h264 extension. VLC never detects that the file is h264 video.
I opened the file with MediaInfo:
This same h264 data within an MP2TS plays fine in VLC. However, I need to use only the H264 data - I can not have it in any sort of container.
Any ideas on how to get VLC to play this file?
Thanks.
I bring up the messages dialog and set verbosit = 2 then open the file...here is what I get:
Code: Select all
main debug: adding item `Vid_015.264' ( file:///C:/temp/CL_vid.h264/Vid_015.264 )
qt4 debug: Adding a new MRL to recent ones: C:\temp\CL_vid.h264\Vid_015.264
main debug: Creating an input for 'Vid_015.264'
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 0
main debug: processing request item Vid_015.264 node Playlist skip 0
main debug: resyncing on Vid_015.264
main debug: Vid_015.264 is at 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Vid_015.264'
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\Users\jason\AppData\Local\Temp'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: `file:///C:/temp/CL_vid.h264/Vid_015.264' gives access `file' demux `' path `C:\temp\CL_vid.h264\Vid_015.264'
main debug: creating demux: access='file' demux='' path='C:\temp\CL_vid.h264\Vid_015.264'
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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access 'file' path='C:\temp\CL_vid.h264\Vid_015.264'
main debug: looking for access module: 2 candidates
filesystem debug: opening file `C:\temp\CL_vid.h264\Vid_015.264'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 1 ms
main debug: pre-buffering done 1024 bytes in 0s - 999 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() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating demux: access='file' demux='' path='C:\temp\CL_vid.h264\Vid_015.264'
main debug: looking for demux module: 52 candidates
lua debug: Trying Lua scripts in C:\Users\jason\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_streams.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_xml.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\bbc_co_uk.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\cue.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\jamendo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\katsomo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\koreus.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\megavideo.lua
qt4 debug: IM: Setting an input
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metachannels.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\mpora.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pinkbike.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\vimeo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube_homepage.lua
avcodec debug: couldn't guess format
vobsub debug: this doesn't seem to be a vobsub file
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux module "ps"
main debug: TIMER module_need() : 39.000 ms - Total 39.000 ms / 1 intvls (Avg 39.000 ms)
main debug: looking for a subtitle file in C:\temp\CL_vid.h264\
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\jason\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() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: `file:///C:/temp/CL_vid.h264/Vid_015.264' successfully opened
ps warning: garbage at input, trying to resync...
main debug: meta ok for (null), need to fetch art
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in C:\Users\jason\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: removing module "lua"
main debug: searching art for Vid_015.264
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\jason\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 7.000 ms - Total 7.000 ms / 1 intvls (Avg 7.000 ms)
main debug: art not found for Vid_015.264
I opened the file with MediaInfo:
Code: Select all
General
Count : 278
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Inform : Count : 278
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Inform : Count : 278
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Inform : AVC: 557 MiB
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : C:\temp\CL_vid.h264\Vid_015.264
Folder name : C:\temp\CL_vid.h264
File name : Vid_015
File extension : 264
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format/Extensions usually used : avc h264
Commercial name : AVC
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec/Extensions usually used : avc h264
File size : 583666212
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 556.6 MiB
File creation date : UTC 2011-07-26 15:20:41.932
File creation date (local) : 2011-07-26 09:20:41.932
File last modification date : UTC 2011-07-26 16:05:39.158
File last modification date (loc : 2011-07-26 10:05:39.158
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : C:\temp\CL_vid.h264\Vid_015.264
Folder name : C:\temp\CL_vid.h264
File name : Vid_015
File extension : 264
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format/Extensions usually used : avc h264
Commercial name : AVC
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec/Extensions usually used : avc h264
File size : 583666212
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 556.6 MiB
File creation date : UTC 2011-07-26 15:20:41.932
File creation date (local) : 2011-07-26 09:20:41.932
File last modification date : UTC 2011-07-26 16:05:39.158
File last modification date (loc : 2011-07-26 10:05:39.158
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : C:\temp\CL_vid.h264\Vid_015.264
Folder name : C:\temp\CL_vid.h264
File name : Vid_015
File extension : 264
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format/Extensions usually used : avc h264
Commercial name : AVC
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec/Extensions usually used : avc h264
File size : 583666212
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 557 MiB
File size : 556.6 MiB
File creation date : UTC 2011-07-26 15:20:41.932
File creation date (local) : 2011-07-26 09:20:41.932
File last modification date : UTC 2011-07-26 16:05:39.158
File last modification date (loc : 2011-07-26 10:05:39.158
Video
Count : 200
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Inform : Count : 200
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Inform : 1280*720 (16:9), at 29.970 fps, AVC (NTSC) (Baseline@L4.1) (1 Ref Frames)
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : Baseline@L4.1
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, ReFrames : 1
Format settings, ReFrames : 1 frame
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec profile : Baseline@L4.1
Codec settings : 1 Ref Frames
Codec settings, CABAC : No
Codec_Settings_RefFrames : 1
Width : 1280
Width : 1 280 pixels
Height : 720
Height : 720 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 29.970
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : Baseline@L4.1
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, ReFrames : 1
Format settings, ReFrames : 1 frame
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec profile : Baseline@L4.1
Codec settings : 1 Ref Frames
Codec settings, CABAC : No
Codec_Settings_RefFrames : 1
Width : 1280
Width : 1 280 pixels
Height : 720
Height : 720 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 29.970
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Any ideas on how to get VLC to play this file?
Thanks.