Advertisement
Celsyum

ffmpeg command

Mar 15th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. ok, Im streaming rawdata directly to ffmpeg using Adone AIR 2.0. And stream duration for this test is about 6 seconds!
  2. raw data here is a byte array generated from a rectangular region of pixel data. Its written an unsigned integer (a 32bit unmultiplied pixel value) for each pixel into the byte array. Thats why im using -pix_fmt argb.
  3. command:
  4.  
  5. ffmpeg -an -threads 0 -f rawvideo -pix_fmt argb -s 640x320 -framerate 30 -i - -q 10 -r 30 -y -f flv demo2013.flv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement