View Full Version : Bit stream in .264 file.
samia
10th September 2009, 18:56
Hi,
I am working on H.264 encoder and decoder. And I am new in this field.
Can anyone tell me how can I know the bit stream (in binary format) of encoded video using JM15.1 software? Encoded file is test.264 . I want know how this .264 file is written?
Thanks
Samia
LoRd_MuldeR
10th September 2009, 19:24
http://www.neuron2.net/library/avc/T-REC-H[1].264-200711-I!!PDF-E.pdf
samia
10th September 2009, 20:13
Thanks for the pdf file.
Is there any way to read the bit stream from the .264 file? Matlab doesn't support .264 file. However, I opened test.264 file using fopen command in Matlab. But I am not sure whether the bit sequence are correct or not.
Please help me.
LoRd_MuldeR
10th September 2009, 20:37
I don't really get this question. Of course you can read the H.264 bitstream from the .264 file. Any programming language, like C, C++, C#, Pascal or whatever can do that.
In C you would use fopen() to open the file and then call fread() to read the data. However you will have to parse the bitstream yourself, as describes in the PDF (see Annex B).
samia
10th September 2009, 21:09
Thanks, I got my answer. I am novice in programming language . Your suggestion would be a great help for me.
slavickas
10th September 2009, 22:31
I hope you dont have plans to write codec in matlab :D
Sagekilla
11th September 2009, 06:28
I'd have to agree there.. I mean if it were for learning purposes, that wouldn't necessarily bad. Just be aware of how slow it would be (Of course I don't expect you to write something as optimized as x264 in the first place ;)).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.