[FFmpeg-trac] #11089(undetermined:new): Error reading header: ffmpeg can do nothing with h265 mp4

FFmpeg trac at avcodec.org
Fri Jul 5 18:52:44 EEST 2024


#11089: Error reading header: ffmpeg can do nothing with h265 mp4
-------------------------------------+-------------------------------------
             Reporter:  sgordeev     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by sgordeev):

 is it possible to ignore broken parts? and encode the file to h264.
 I've already tried the following:
 {{{
 % ffmpeg -err_detect ignore_err -i b40e54da93554c9f95c2774abc360069.mp4 -c
 copy out.mp4
 ffmpeg version N-116067-g5d54a25eea Copyright (c) 2000-2024 the FFmpeg
 developers
   built with gcc 13 (Ubuntu 13.2.0-4ubuntu3)
   configuration: --enable-gpl --enable-gnutls --enable-libass --enable-
 libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus
 --enable-libdav1d --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libx265 --enable-nonfree
   libavutil      59. 27.100 / 59. 27.100
   libavcodec     61.  9.100 / 61.  9.100
   libavformat    61.  4.100 / 61.  4.100
   libavdevice    61.  2.100 / 61.  2.100
   libavfilter    10.  2.102 / 10.  2.102
   libswscale      8.  2.100 /  8.  2.100
   libswresample   5.  2.100 /  5.  2.100
   libpostproc    58.  2.100 / 58.  2.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x586db5090a00] error reading header
 [in#0 @ 0x586db5090740] Error opening input: Invalid data found when
 processing input
 Error opening input file b40e54da93554c9f95c2774abc360069.mp4.
 Error opening input files: Invalid data found when processing input
 }}}

 Replying to [comment:2 Balling]:
 > -v trace shows it breaks on
 >
 >
 > {{{
 > [mov,mp4,m4a,3gp,3g2,mj2 @ 000002348df9e900] type:'stsc' parent:'root'
 sz: 304 79181670 79181824
 > [mov,mp4,m4a,3gp,3g2,mj2 @ 000002348df9e900] error reading header
 > [AVIOContext @ 000002348e0bf6c0] Statistics: 71047 bytes read, 1 seeks
 > }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11089#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list