Web lists-archives.com

Bad recoding with ffmpeg




Hello*,

I recode from a PHP webinterface with the help of ffmpeg.

My mobil Videoplayer does not support OGM files

The commandline is simply

    ffmpeg -i input.ogm output.mp4

but I get this  output:

----[ c 'ffmpeg -i input.ogm output.mp4' ]------------------------------
ffmpeg version 3.2.10-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516

<snip>

[libx264 @ 0x562803732a80] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4
AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
Output #0, mp4, to 'output.mp4':

<snip>

Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))
Press [q] to stop, [?] for help
Past duration 0.999992 too large
    Last message repeated 9 times
Past duration 0.999992 too large     195kB time=00:00:07.22 bitrate=
221.2kbits/s dup=40 drop=0 speed=3.45x
    Last message repeated 1 times
Past duration 0.999992 too large     876kB time=00:00:19.02 bitrate=
377.4kbits/s dup=133 drop=0 speed=2.27x
Past duration 0.999992 too large     930kB time=00:00:19.92 bitrate=
382.1kbits/s dup=136 drop=0 speed=2.24x
Past duration 0.999992 too large    1164kB time=00:00:24.48 bitrate=
389.3kbits/s dup=163 drop=0 speed=2.23x
Past duration 0.999992 too large    1331kB time=00:00:27.77 bitrate=
392.4kbits/s dup=181 drop=0 speed=2.22x
Past duration 0.999992 too large    1444kB time=00:00:30.02 bitrate=
393.9kbits/s dup=190 drop=0 speed=2.22x
    Last message repeated 1 times
Past duration 0.999992 too large    1561kB time=00:00:32.12 bitrate=
397.9kbits/s dup=202 drop=0 speed=2.21x
    Last message repeated 1 times
------------------------------------------------------------------------

So to convert this OGM files I need an extra option, but which?

Thanks in advance

-- 
Michelle Konzack        Miila ITSystems @ TDnet
GNU/Linux Developer     00372-54541400