Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Anonymous
Wednesday, April 24th, 2013 at 6:51:07am UTC 

  1. #single pass VBR
  2. ffmpeg12 -y -i 10.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -an -pix_fmt yuv420p v_p1.mp4
  3.  
  4. #two pass VBR
  5. ffmpeg12 -y -i 10.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -pass 1 -an -pix_fmt yuv420p v_p2.mp4
  6. ffmpeg12 -y -i 10.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -pass 2 -an -pix_fmt yuv420p v_p2.mp4
  7.  
  8.  
  9. #generate a video from image
  10. ffmpeg12 -y  -loop 1 -i 1.PNG -s 800x448 -t 5 -r 24000/1001 -pix_fmt yuv420p img.mp4
  11.  
  12. #single pass VBR
  13. ffmpeg12 -y -i img.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -an img_p1.mp4
  14.  
  15. #two pass VBR
  16. ffmpeg12 -y -i img.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -pass 1 -an img_p2.mp4
  17. ffmpeg12 -y -threads 4 -i img.mp4 -vcodec libx264 -s 800x448 -b:v 1200k -maxrate 1500k -bufsize 240k -g 86 -profile:v main -pass 2 -an img_p2.mp4
  18.  
  19.  
  20. #concat single pass files together. (WORKS)
  21. echo file 'v_p1.mp4' >list.txt
  22. echo file 'img_p1.mp4' >>list.txt
  23. ffmpeg12 -f concat -i list.txt -c copy concat_p1.mp4
  24.  
  25.  
  26. #concat two pass files together. (FAILS)
  27. echo file 'v_p2.mp4' >list.txt
  28. echo file 'img_p2.mp4' >>list.txt
  29. ffmpeg12 -f concat -i list.txt -c copy concat_p2.mp4
  30.  
  31. #concat two pass files together. (WORKS)
  32. echo file 'v_p2.mp4' >list.txt
  33. echo file 'v_p2.mp4' >>list.txt
  34. ffmpeg12 -f concat -i list.txt -c copy concat_same_p2.mp4

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right