#9861 closed defect (needs_more_info)

Cannot open hevc mp4 file that was saved by ffmpeg itself

Reported by: chao Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: chao Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffprobe no_start_code_hevc.mp4
ffmpeg n5.1
built on Ubuntu 20.04.4 LTS

I used command

ffmpeg -i "rtsp://XXXX" -an -vcodec copy no_start_code_hevc.mp4

to save a footage file from a security camera. The result mp4 file is invalid. ffprobe returns

[extract_extradata @ 0x560de7b1bb80] No start code is found.
test.mp4: Invalid data found when processing input

Attachments (1)

no_start_code_hevc.mp4 (967.6 KB ) - added by chao 21 months ago.

Download all attachments as: .zip

Change History (8)

by chao, 21 months ago

Attachment: no_start_code_hevc.mp4 added

in reply to:  description comment:1 by Carl Eugen Hoyos, 21 months ago

Replying to chao:

ffmpeg -i "rtsp://XXXX" -an -vcodec copy no_start_code_hevc.mp4

This is missing complete, uncut console output but there is no guarantee that this command line produces a valid output file.

comment:2 by Carl Eugen Hoyos, 21 months ago

Component: avcodecffmpeg

in reply to:  2 comment:3 by chao, 21 months ago

Replying to Carl Eugen Hoyos:
I assume you mean the RTSP URL is cut out?
It's from a GeoVision security camera that's not owned by me.
Let me see whether I can share the RTPS URL here.

comment:4 by Carl Eugen Hoyos, 21 months ago

Valid tickets contain a command line together with the complete, uncut console output, in this case of the command that created the invalid file.

comment:5 by chao, 21 months ago

Well, I don't get the permission to publish the RTSP URL here.
I was hoping the mp4 file would be useful..

comment:6 by Carl Eugen Hoyos, 21 months ago

We don’t care about the url, we want to see the command line you tested together with the console output.

comment:7 by Carl Eugen Hoyos, 20 months ago

Component: ffmpegundetermined
Resolution: needs_more_info
Status: newclosed
Note: See TracTickets for help on using tickets.