User Tools

Site Tools


bildbearbeitung:videocapture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bildbearbeitung:videocapture [2019/05/06 15:51] msbildbearbeitung:videocapture [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 17: Line 17:
 <code> <code>
 ffplay -f video4linux2 /dev/video0 ffplay -f video4linux2 /dev/video0
 +</code>
 +Film **video.mpeg** ansehen mit Frame und Zeit
 +<code>
 +ffplay -vf "drawtext=text='Time\:%{pts\:hms}  Frame\: %{frame_num}':fontsize=28:box=1:x=(w-tw)/2:y=h-(2*lh)" video.mpeg
 +</code>
 +===== Videostream aufnehmen =====
 +RAW-Video + Sound 
 +<code>
 +ffmpeg -f v4l2 -thread_queue_size 512 -standard PAL -channel 1 -i /dev/video1 -f alsa -thread_queue_size 512 -i hw:2,0 -c:v copy -pix_fmt yuv420p -acodec ac3 -ab 448k -channels 2 -ar 48000 vhs.avi
 +</code>
 +===== Video bearbeiten =====
 +RAW-Video in mpeg umwandeln Audio bleibt erhalten
 +<code>
 +ffmpeg -i vhs.avi -vf yadif -target pal-dvd -qscale:v 1 -s 720x576 -c:a copy vhs.mpeg
 +</code>
 +Video schneiden: auf Länge 14 Min, 45,14 Sec.
 +<code>
 +ffmpeg -i in.mpeg -t 14:45.140 -acodec copy -vcodec copy out.mpeg
 +</code>
 +Video schneiden: auf Länge 45 Min, 27,78 Sec. Start bei 3,7 Sec.
 +<code>
 +ffmpeg -i in.mpeg -ss 00:00:03.780 -t 00:45:27.780 -acodec copy -vcodec copy out.mpeg
 </code> </code>
  
 +====== Video Bildschirm capture ======
 +<code>
 +ffmpeg -video_size 3840x2160 -framerate 25 -f x11grab -i :0.0+3840+0 output.mp4
 +</code>
 +
 +====== TV record ======
 +<code>
 +ffmpeg -i http://livestreams.br.de/i/bralpha_germany@119899/master.m3u8 -c:v copy -c:a copy -t 00:00:30 -y rec.mp4
 +
 +-t 00:00:30     # 30s aufzeichnen
 +</code>
bildbearbeitung/videocapture.1557150701.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki