[FFmpeg-devel] DVR MPEG4 variant (AS-3024)

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Feb 3 18:16:29 EET 2017

2017-02-03 16:54 GMT+01:00 Ivo Andonov <ivo.andonov at gmail.com>:
> 2017-02-03 16:59 GMT+02:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:

>> The encoder sets no user data, so identification is not as simple as
>> hoped: How do subsequent frames start? Do you know what the
>> first bytes mean?
> Yes, no user data is set and as such automatic identification is not
> possible. The raw stream coming from the DVR is prefixed by a propriatory
> frame header (that I filter) which is not MPEG stream compliant and is
> meant for the viewer/recorder (timestamp, keyframe flag, frame data size
> etc).

How would another owner of this DVR get the streams?

> So far I'm attempting to implement the decoding by explicitly specifing to
> ffmpeg the video codec to use (-vcodec xvid_alogics).

An easier solution is to define a new "bug" in libavcodec/options_table.h.

Carl Eugen

More information about the ffmpeg-devel mailing list