[FFmpeg-devel] Unrecognized video

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Sep 22 01:32:08 EEST 2020


Am Mo., 21. Sept. 2020 um 11:24 Uhr schrieb Nicolas Julien
<nicolas.julien at cdvi.com>:

> I just uploaded a video file (named video.h264) to https://streams.videolan.org/upload/ web site.
> This video is from the recorded replay of an IP camera, with openrtsp.
> I am trying to convert this H265 video to mp4 format with ffmpeg but I am getting a lot of errors.

The first 37 bytes look similar to a video stream but are invalid for
a hevc video,
making auto-detection more difficult. Not sure if this should be fixed,
could you tell us the name of the IP camera?
Could this be a bug in openrtsp?

Thank you for the sample, Carl Eugen

00000000  00 00 00 01 67 4d 00 32  9d a8 0a 00 2d 69 b8 08  |....gM.2....-i..|
00000010  08 0a 00 00 03 00 02 00  00 03 00 51 08 00 00 00  |...........Q....|
00000020  01 68 ee 3c 80 00 00 00  01 40 01 0c 01 ff ff 01  |.h.<..... at ......|

"67" and "4d" are not valid, neither is "ee" in the second "NAL".
00 00 00 01 4 01 is the actual start of the video stream.


More information about the ffmpeg-devel mailing list