ich nehme mittels ffmpeg meinen Bildchirm auf, starte auch meine int. Notebook Webcam an, Aufnahmen werden problemlos gemacht, doch danach, egal mit welchem VideoPlayer(vlc, mpv, ffplay) ich die Aufnahmen anschaue, ruckeln alle ausnahmslos, Bild flackert usw.
Auf diesem Laptop kann ich problemlos alle erdenklichen Videos abspielen, anschauen etc, nur meine eigenenen Bildschirmaufnahmen mit webcam gehen nicht, was sehr nervig ist und mich seit 3 Tagen intensiv beschäftigt...
Oben erwähnte ich ffmpeg Befehlszeilen, es sind eigentlich 3 kurze Skripte, die ich mir hier und da runtergeladen habe, welche auf meinem anderen Laptop problemlos funktionieren!
Hier die 3 Skripte:
[1]
Code: Alles auswählen
#!/bin/bash
pkill -f /dev/video0
mpv --geometry=-0-0 --autofit=30% --untimed /dev/video0 & ffmpeg -y -f x11grab -s 1600x900 -i :0.0 -f
n.mp4
Code: Alles auswählen
#!/bin/bash -x
INRES="1600x900"
OUTRES="649x480"
FPS="30"
mpv --geometry=-0-0 /dev/video0 & ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 -f alsa -ac 2 \
-i default -vcodec libx264 -s "$OUTRES" \
-acodec libmp3lame -ab 128k -ar 44100 \
-threads 0 -f flv $1
Code: Alles auswählen
#!/bin/sh
if pgrep -u $UID roj ffmpeg; then
killall ffmpeg ; notify-send "recording stopped..."
else
ffplay -i /dev/video0 & ffmpeg -y -f x11grab -s 1600x900 -i :0.0 -f alsa -i default /home/roj/$(date '+%d.%b.%Hh:%Mm:%Ss').mkv & notify-send "recording began..."
fi
Code: Alles auswählen
w3t% mpv mvo_1.mp4
(+) Video --vid=1 (h264 1024x768 30.000fps)
(+) Audio --aid=1 (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1024x768 yuv444p
Invalid audio PTS: 0.076122 -> 0.368000
Invalid audio PTS: 0.394122 -> 0.512000
AV: 00:00:00 / 00:00:30 (2%) A-V: 0.000
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:00:07 / 00:00:30 (26%) A-V: 0.000 ct: 0.564 Dropped: 154
Exiting... (Quit)
w3t% mpv mov_1.mkv
(+) Video --vid=1 (h264 1024x768 30.000fps)
(+) Audio --aid=1 (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1024x768 yuv444p
Invalid audio PTS: 0.077122 -> 0.350000
Invalid audio PTS: 0.376122 -> 0.486000
AV: 00:00:00 / 00:00:58 (1%) A-V: 0.000
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:00:04 / 00:00:58 (8%) A-V: 0.001 ct: 0.521