9/27/2023 0 Comments Ffmpeg hevc to h264It still does not work, and gives - Seems stream 0 codec frame rate differs from container frame rate: 59.94 (5994/100) -> 29.97 (30000/1001) Then when i try this option: ffmpeg -i input. mp4 output.h264īut I get an error saying - Unsupported codec for output stream #0.0 Then I configured build according to package.I have a *.mp4 video file(MPEG4 video codec) and I am trying to convert this to a H264 video codec format(raw h.264 format) using ffmpeg on Linux(Version - FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard,) using command line as shown below, ffmpeg -i input. Then I merged GitHub - jc-kynesim/rpi-ffmpeg: FFmpeg work for RPI (branch test/4.3/kodi_main), GitHub - lrusak/FFmpeg: mirror of git:///ffmpeg.git ( v4l2-drmprime-v5) and GitHub - LibreELEC/FFmpeg (branch 4.3-libreelec-misc). I used FFMPEG sources from Kodi(XBMC) branch 4.3.1-Matrix-Alpha1-1 from GitHub - xbmc/FFmpeg: mirror of git:///ffmpeg.git. I investigated LibreElec build system (mainly /gen-patches.sh at master And now here is the part where I am failing So I tried to make my own build of ffmpeg based on LibreElec. I have read that LibreElec uses a custom patched version of FFMPEG and supports HEVC HW accelerated decoding. And regarding HEVC - I was not able to enable HW acceleration for it. It also has h264_v4l2m2m encoder, but it produces video with a green tint (bug?). Unfortunatelly, the current stock FFMPEG provided with Raspberry OS only supports HW accelerated H264 encoding using h264_omx encoder. And for this I need hardware acceleration of both HEVC decoding and H264 encoding. In short - I am trying to achieve realtime transcoding of a HEVC video stream to H264. I have a Raspberry Pi 4 with official Raspberry OS. My question is related to FFMPEG that LibreElec is using. I was not sure where to put my question, feel free to move this thread.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |