This video page is 50% about Windows video and 50% about Linux. I think one part is also about using a Linux VM to capture a Windows video, or vice versa. Duh!
To get information about the video format use 'avprobe' as in :
$ avprobe rosemountSnd.avs.mov avprobe version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2007-2014 the Libav developers built on Aug 10 2014 18:19:26 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rosemountSnd.avs.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 2009-01-22 00:07:08 artist-eng : created.with.SUPER(C).v2008.bld.32 title-urd : composer : created.with.SUPER(C).v2008.bld.32 title : artist : created.with.SUPER(C).v2008.bld.32 encoder : SUPER(C) encoder-eng : SUPER(C) Duration: 00:01:34.56, start: 0.000000, bitrate: 1288 kb/s Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 240x180, 1220 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 2009-01-22 00:07:08 Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, fltp, 64 kb/s Metadata: creation_time : 2009-01-22 00:07:08 # avprobe output
Taken from: Here The question related to taking RawYUV video to a Premiere format, editing, then transferring it back to the YUV format. Thus, the references to “rawvideo” are only correct for that context. VLC is pretty good for transcoding too. Anyway, for ffmpeg, start converting by running the command with some parameters you have to fill in yourself.
avprobe (above) can help you determine what might be the best values to use:
What type of the YUV pixel format are you using? The most common format is
YUV4:2:0 planar 8-bit (YUV420p). You can type
ffmpeg -pix_fmts to get a list of all available formats.
What is the framerate? In my example I will use
-r 25 fps.
What encoder do you want to use? The
libx264 (H.264) encoder is a great one for lossless compression - when quantizer is set to 0 (
What is your framesize? In my example I will use
Thus we arrive at this command to do your compression.
ffmpeg -f rawvideo -vcodec rawvideo -s 1920×1080 -r 25 -pix_fmt yuv420p -i inputfile.yuv -c:v libx264 -preset ultrafast -qp 0 output.mp4
A little explanation of all other parameters:
-f rawvideo I set the input format to a raw video container
-vcodec rawvideo you set the input file as not compressed
-i inputfile.yuv you set your input file
-c:v libx264 you set the encoder to encode the video to libx264.
-preset ultrafast setting is only speeding up the compression so your file size will be bigger than setting it to veryslow.
-qp 0 you set the maximum quality. 0 is best, 51 is worst quality in our example.
output.mp4 is your new container to store your data in.
After you are done in Adobe Premiere, you can convert it back to a YUV file by inverting allmost all parameters. FFmpeg recognizes what's inside the mp4 container, so you don't need to provide parameters for the input.
ffmpeg -i input.mp4 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p -s 1920×1080 -r 25 rawvideo.yuv
My UVSoftium compressed movie demo collection created over a couple of years ceased working when my computer was upgraded to 64-bit.
Support for this wasn't much help - they said recompress - which couldn't be done since the original folders were long gone.
So I am looking for an alternative.
Whilst we have Camtasia it hasn't exactly been trouble free or as convenient as UVScreenCam was.
The following one looks better: Wondershare Democreator
pyvnc2swf - USes VNC to capture screen movies to SWF.
If you have the Video in SWF format, us edit.py
apt-get install pyvnc2swf apt-file search edit.py pyvnc2swf: /usr/share/pyvnc2swf/edit.py Didn't work vnc2swf.py -o out.flv localhost:5900 It was a bit of a struggle getting this to work, but when I set a new port with geometry 888*677+0+0 It asked for a password, and connected. I may also have said to attach to listerener. Apart from needing offest adjusted it came out pretty clear - but without sound. So what if I simply export as AVI - well there are a few options - full frames didn't work - 4 gig file /usr/share/pyvnc2swf/edit.py -o output.flv gtksharp.swf
Tried this (because UVSoftium claims to output SWFs.
Installed x11VNC on Ubuntu
and TightVNC for Windows (Version 2.7.10) on windows
Installed pyvnc2swf on Ubunutu and followed these instructions: unixuser pyvnc2swf
The hope is to capture the screen movie
but first does UVsoftium output decent SWF?
<video width=“640” height=“121” src=“Tpiano.mov” autoplay></video>
ffmpeg -f alsa -i hw:1 -f x11grab -s 800x600 -r 24 -b 100k -bf 2 -g 300 -i :0.0 -ar 22050 -ab 64k -acodec libmp3lame outputvid.mpeg
actually - that didn't work here's one that did - but I haven't attempted to get audio with it:
ffmpeg -f x11grab -r 25 -s 1280x800 -i :0.0 -sameq out.mp4