264 format not played

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
plouf
New Cone
New Cone
Posts: 3
Joined: 03 Sep 2020 14:56

264 format not played

Postby plouf » 03 Sep 2020 15:07

Hi
i have some videos in .264 format from DVR, this format is not played by vlc,but i am really sure that vlc support AdvancedVideoFormat

sample video here https://we.tl/t-YVdkfDm3T9, video is played in mediaplayes Classic 9but maybe an codedc is isntalled ?)

media info

Code: Select all

General Complete name : C:\Users\artion-pc-2\Desktop\ch01-200903-141854-142042-00p0000000000.264 Format : AVC Format/Info : Advanced Video Codec File size : 8.59 MiB Video Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L4.2 Format settings, CABAC : No Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=50 Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Color primaries : BT.601 PAL Transfer characteristics : BT.709 Matrix coefficients : BT.601

Rémi Denis-Courmont
Developer
Developer
Posts: 15236
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 264 format not played

Postby Rémi Denis-Courmont » 03 Sep 2020 16:31

Rename to .h264
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

plouf
New Cone
New Cone
Posts: 3
Joined: 03 Sep 2020 14:56

Re: 264 format not played

Postby plouf » 04 Sep 2020 18:11

i have try that ! and did not work,
does it work for you that way?

Rémi Denis-Courmont
Developer
Developer
Posts: 15236
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 264 format not played

Postby Rémi Denis-Courmont » 04 Sep 2020 18:22

Then it's not AVC / H264 format.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

plouf
New Cone
New Cone
Posts: 3
Joined: 03 Sep 2020 14:56

Re: 264 format not played

Postby plouf » 04 Sep 2020 18:32

considering that mediaplayer classic , plays it and displays this info, isnt possible that VLC lacks something
and/or it is very "strict" in decoding and could improved to play it ?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: 264 format not played

Postby mederi » 05 Sep 2020 21:20

VLC-3.0.2 can play it with forced "H264 video demuxer" in VLC preferences:
Tools > Preferences > Show settings=All > Input/Codecs \ Demuxers: Demux module [H264 video demuxer]
If I check the prerences after VLC restart, next option "HEVC/H.265 video demuxer" is selected in the drop-down list. The 2 options are swapped in current VLC-3.0.11 and the 264 video does not play. "Avformat demuxer" shows a big black video window for a split of second and stops/fails immediately.
The 264 video works normally if it is muxed in mkv container (mkvtoolnix).
I think you should file a bug report with provided sample and a link to this forum thread: https://trac.videolan.org/vlc/

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

Re: 264 format not played

Postby Lotesdelere » 06 Sep 2020 10:45

This stream has troubles, neither MP4Box nor L-Smash would mux it to MP4.

Error message from MP4Box:

Code: Select all

Cannot find H264 start code Error importing ch01-200903-141854-142042.h264: BitStream Not Compliant

FFmpeg can mux it to MP4 but it also complains:

Code: Select all

Output #0, mp4, to 'ch01-200903-141854-142042.mp4': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 1920x1080, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [mp4 @ 000000ade5acb900] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: 264 format not played

Postby mederi » 06 Sep 2020 16:22


mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: 264 format not played

Postby mederi » 07 Sep 2020 12:34



Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests