[FFmpeg-user] H.264 headers generation

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Jul 14 17:47:33 CEST 2015

Asking for help with h264 headers generation. Both copying headers
from similar videos and porting headers generation code from reference
driver don't work for me (ref driver is weird and very complicated, so
porting involved importing of lots of code, but still in my case the
generated header differs from the one produced by reference driver,
and resulting files are not decodable).
Wireshark seems not able to dissect raw h264 files, so that I could
compare headers bitfield-wise.
I have dumped 64 first encoded frames as they appear from hardware, so
that you could look at it.
This is archive: http://lizard.bluecherry.net/~autkin/vlc.tar.gz and
this is contents list of archive

Only one camera is attached to this multi-channel video grabber and
encoder, and i don't know which chip has it (4, 5, 6 or 7).
The produced frames should have the same settings as this file:
This is PAL D1, 720x576.
Thanks in advance for any help. At last, the ability to look at
visualization of those h264 streams would be great.
Then, any "manual mode" operation on these dump files would mean success for me.
After that, I would need to make code in C for kernel driver.

More background about me having hard time with this hardware is here

Andrey Utkin

More information about the ffmpeg-user mailing list