[Live-devel] h.264 NAL frame emulation

Raymond Peck rpeck at rpeck.com
Wed Apr 22 14:25:51 PDT 2009


FLV files containing h.264/aac might be a very simple way for you to
grab raw NALUs.  The format is very simple, well documented, and
has very little wrapper around the raw NALUs.

Another alternative is to lightly hack ffmpeg, to write out the raw
NAL data it gets from x264 as it is encoding.

On Tue, Apr 21, 2009 at 8:15 AM, Stas Desyatnlkov <stas at tech-mer.com> wrote:
> Hi All,
>
> I need to find a way to emulate NAL packets in order to send it in TS.  My
> hardware encoder will produce NAL but as it won’t be ready for a while, I’d
> like to write my streamer with some file as a source.
>
> I have a TS file with h.264 video and AAC audio.
> How do I get the NAL packets from it?
> Does anyone know of such a sample? I understand that there is always a case
> of reverse engineering the VLC but this would be my last resort.
>
> Regards,
> Stas
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>


More information about the live-devel mailing list