Hi

I got struck while decoding the Mp4 file.

After reading all the metadata from the mp4 file, i got the mdat tag having
the audio and video data at different offsets.

Now, i want to decode only the Video data be sending it to ffmpeg in byte
array format.

But ffmpeg is not able to recognize the frames.

I have successfully done this part for raw h264 content over RTP. For h264
Nals, i have just find out the prefix 0001 and sperated all the Nals and
sent them to the ffmpoeg and its able to decode it perfectly.

But here in case of mp4 file, it shows the file type as mp4v2 and video type
as avc1 and it doesnt seems like Nals. So, i got really struck, how to
approach for decoding.

ANy help will be highly appreciated.

Thanks
Nitin
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to