[FFmpeg-trac] #8018(ffmpeg:new): RPi 4 h264_mmal error

FFmpeg trac at avcodec.org
Sat Jul 13 20:04:18 EEST 2019


#8018: RPi 4 h264_mmal error
-----------------------------------+--------------------------------------
             Reporter:  RAJensen   |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  ffmpeg     |                  Version:  git-master
             Keywords:  h264_mmal  |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 Summary of the bug:
 h264_mmal is no longer working on RPi4 with the new Broadcom chip 64-bit
 BCM2711 quad-core A72 CPU @ 1.5GHz VideoCore VI GPU.
 With same file, same compile it works on RPi3.
 GPU Ram set to 256Gb.
 How to reproduce:
 {{{
 sudo ffmpeg -y -v 9 -loglevel 99 -report -ss 00:00:00 -c:v h264_mmal -i
 'RPI4_h264_mmal.ts' -to 00:01:00 -map 0:0 -map 0:3 -c:v h264_omx -b:v
 1500k -flags +global_header -c:a:0 copy 'test.mkv'

 ffmpeg version N-94282-g80dacbedba Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
   configuration: --arch=armel --target-os=linux --enable-gpl --enable-mmal
 --enable-omx --enable-omx-rpi --enable-nonfree
 built on ...
 RAspberry Pi 4 OS=Buster
 }}}
 I don't know but i think the error occurs because that the new chip has
 HDMI 0 and HDMI 1. I have tried with and without 4K resolution enabled on
 RPi4.
 Testet on Buster with desktop and Buster Lite without desktop. Test done
 on RPi4 2Gb Ram and 4Gb RAM.
 FFMPEG info:
 V..... h264_omx             OpenMAX IL H.264 video encoder (codec h264)
  V..... h264_v4l2m2m         V4L2 mem2mem H.264 encoder wrapper (codec
 h264)
  V..... h264_vaapi           H.264/AVC (VAAPI) (codec h264)
  VFS..D h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
  V..... h264_v4l2m2m         V4L2 mem2mem H.264 decoder wrapper (codec
 h264)
  V..... h264_mmal            h264 (mmal) (codec h264)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8018>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list