Hi,Pawel,
The problem has been fixed to some extent, this is what i did:
This method is to specify PPS and SPS for different devices, we should set SPS、PPS according to the file
(THE full mpeg-4 file,not the raw stream ) we got earlier,as shown below,PPS and SPS is located behind avcC,(there's lot of information about SPS AND PPS ,so i am not going to tell the details, it's quite easy).
And it works .
Also thanks Oliver ,your suggestion is also helpful.
Regards ,
Ray
////////////////////////
Hi Ray, I've recorder sample video using "DUMP_FILE" method which uses streaming format. By comparing those two and looking at the code you're right: it's expected that 3f3f3f3f will be nalLength in your case. I'm not familiar yet with those box types and so on, but I'll be looking at it soon. If it might be of any help for you my dump file is attached. Regards, Pawel
2B08F903@F62FF53D.7AC4C251 (7.59 KB)
290EFF05@F62FF53D.7AC4C251 (37.1 KB)
Hi Ray,
Could please send a patch with your changes that fixed the problem ?
I've been trying to compare our parameters from mpeg files and they are
different indeed. But mine doesn't exactly match those hardcoded and it
still works.
Regards,
Pawel
2B08F903@F62FF53D.7AC4C251 (7.59 KB)
290EFF05@F62FF53D.7AC4C251 (37.1 KB)
···
On Thu, Jun 20, 2013 at 10:59 AM, MAXWELL <95143848@qq.com> wrote:
Hi,Pawel,
The problem has been fixed to some extent, this is what i did:
This method is to specify PPS and SPS for different devices, we should
set SPS、PPS according to the file
(THE full mpeg-4 file,not the raw stream ) we got earlier,as shown
below,PPS and SPS is located behind avcC,(there's lot of information about
SPS AND PPS ,so i am not going to tell the details, it's quite easy).
And it works .
Also thanks Oliver ,your suggestion is also helpful.
Regards ,
Ray
////////////////////////
Hi Ray,
I've recorder sample video using "DUMP_FILE" method which uses streaming
format. By comparing those two and looking at the code you're right: it's
expected that 3f3f3f3f will be nalLength in your case. I'm not familiar yet
with those box types and so on, but I'll be looking at it soon. If it might
be of any help for you my dump file is attached.
Regards,
Pawel