ich habe zu Testzwecken von einem laufenden Video mit ffmpeg eine Bildschirmaufnahme mit diesem Befehl erstellt:
Code: Alles auswählen
ffmpeg -s 1366x768 -r 23.976 -f x11grab -i :0.0+4,218 -f pulse -ar 48000 -ac 2 -i default -vcodec libx264 -b:v 3000k -acodec mp2 -b:a 192k ziel.mkv
Wieso wird libx264 nicht erkannt? Wenn ich ein x-beliebiges Video konvertiere, mache ich das generell immer mit diesem Codec und immer werden die Ergebnisse anstandslos angezeigt. Warum in diesem Fall nicht?
MediaInfo zeigt mir dieses:
Code: Alles auswählen
General
Unique ID : 125617813573309941592532129426937050575 (0x5E811C6209868D3D32F1CAA9417D75CF)
Complete name : /media/ottonormal/STICK-32-NTFS/ziel.mkv
Format : Matroska
Format version : Version 4
File size : 2.04 GiB
Duration : 1 h 33 min
Overall bit rate : 3 119 kb/s
Writing application : Lavf58.20.100
Writing library : Lavf58.20.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L3.2
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 33 min
Nominal bit rate : 3 000 kb/s
Width : 1 366 pixels
Height : 768 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Chroma subsampling : 4:4:4
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 157
Encoding settings : 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=4 / threads=12 / lookahead_threads=2 / 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=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : A_AAC-2
Duration : 1 h 33 min
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Writing library : Lavc58.35.100 aac
Default : Yes
Forced : No
Code: Alles auswählen
Frame rate mode: Variable
Das Video läuft zum größten Teil ruckelfrei, an ein paar Stellen aber ist es über mehrere Minuten durchgängig ziemlich ruckelig, obwohl der Inhalt nicht viel anders ist als sonst auch. Was mache ich falsch?