[FFmpeg-trac] #9861(avcodec:new): Cannot open hevc mp4 file that was saved by ffmpeg itself

FFmpeg trac at avcodec.org
Sun Aug 7 10:10:18 EEST 2022


#9861: Cannot open hevc mp4 file that was saved by ffmpeg itself
---------------------------------+---------------------------------------
             Reporter:  chao     |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  unspecified
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+---------------------------------------
 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
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9861>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list