[ create a new paste ] login | about

Link: http://codepad.org/MbkNHghk    [ raw code | fork ]

C++, pasted on Sep 7:
        args = boost::assign::list_of(ffmpeg)
                                                                 ("-y") // overwrite output file
                                                                 ("-f") 
                                                                 ("image2pipe")
                                                                 ("-vcodec") 
                                                                 ("png")
                                                                 //("mjpeg")
                                                                 ("-pix_fmt")
                                                                 ("yuv420p")
                                                                 ("-i") // input from pipe
                                                                 ("-")
                                                                 //("-framerate")
                                                                 //("fps")
                                                                 ("-r")
                                                                 ("10")
                                                                 ("-vcodec") // video output codec
                                                                 ("libx264")
                                                                 ("-preset")
                                                                 ("ultrafast")
                                                                 //("-qp")
                                                                 //("0")

                                                                 (video_output_path)
                                                                 ("-report")
                                                                 ;
}


Create a new paste based on this one


Comments: