VLC browser plugin will decode single H.264 I-FRAME?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
serkam
New Cone
New Cone
Posts: 2
Joined: 12 Sep 2013 17:17

VLC browser plugin will decode single H.264 I-FRAME?

Postby serkam » 12 Sep 2013 17:36

Dear Sirs

I need to know if VLC browser plugin can decode a single H.264 I-FRAME, extracted from a H.264 live streaming from a Digital Video Recorder (DVR).

This DVR uses a proprietary H.264 live video streaming that is NOT compatible with VLC directly. So, I need to remove proprietary headers from the streaming. After that, what I get are raw H.264 GOPs ( Group Of Pictures ), as IPPPPPP sequence ( GOP = 8 ). If I record some GOPs in a file with ".h264" extension, VLC can play it, but, with no correct frame-rate ( it plays very fast as in fast forward mode ).

But, I need to send I-FRAME only to the browser through CGI interface ( using putchar() ) and such I-FRAME decoded by VLC through browser plugin. Is that possible? How we can inform to VLC that the buffer is RAW H.264?

Is there some HTML example to use the VLC plugin?

Thank you.

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 browser plugin will decode single H.264 I-FRAME?

Postby Jean-Baptiste Kempf » 12 Sep 2013 17:58

No. Stop doing those kind of hacks without a muxer.
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.

serkam
New Cone
New Cone
Posts: 2
Joined: 12 Sep 2013 17:17

Re: VLC browser plugin will decode single H.264 I-FRAME?

Postby serkam » 12 Sep 2013 19:20

Hi Jean-Baptiste

What kind of muxer are you refering? Could you give more details, please?

Instead I-FRAME only, what about sequences of raw H.264 GOPs? Is that possible? How to control the correct frame-rate?

What I am looking for is HTTP streaming. In this particular case, my intention is to use VLC plugin. Or is better go directly to DASH?

Thank you.

ingMagnus
New Cone
New Cone
Posts: 1
Joined: 20 Mar 2015 14:29

Re: VLC browser plugin will decode single H.264 I-FRAME?

Postby ingMagnus » 20 Mar 2015 14:43

I have a similar problem:
I have a HW H.264 encoder, which continuesly handle video-data from a video-sensor. I want to periodically transmit snapshots to a web-interface, using VLC plugin, while recording the H.264 stream in HW.
For this purpose I have made some tests with ffmpeg and generated a single H.264 I-frame, encapsulated in a mp4 file.
But it looks like VLC can't play the file if it is shorter than 4 frames. Is there a known limit and is there a workaround?

I hope somebody can help me.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests