Advertisement
intracube

Ffmpeg rawvideo conversion error

Jul 17th, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Screencapture command:
  2. ffmpeg -r 25 -f x11grab -s 1280x720 -i :0.0+1024,0 -f rawvideo out.yuv
  3.  
  4. Convert to h264 file:
  5. ffmpeg -i out.yuv -c:v libx264 -crf 16 -preset fast test.mp4
  6.  
  7. gives error:
  8. ..
  9. [IMGUTILS @ 0x7fff8b4c2350] Picture size 0x0 is invalid
  10. [IMGUTILS @ 0x7fff8b4c2180] Picture size 0x0 is invalid
  11. [rawvideo @ 0x62e0e0] Could not find codec parameters (Video: rawvideo, yuv420p)
  12. [rawvideo @ 0x62e0e0] Estimating duration from bitrate, this may be inaccurate
  13. out.yuv: could not find codec parameters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement