[FFmpeg-devel] how to insert the 'vsync' into this example?

redsuyu redsuyu
Sun Dec 23 15:32:32 CET 2007


Hi,

       1 how to insert the  'vsync' into this example?
       2  how the parameter 'vsync' works? 
1 how to insert the  'vsync' into this example?
./ffmpeg -f x11grab -s cif -i :0.0 -r 12   -vcodec mpeg4 -f mpegts   -an udp:192.168.119.1:1234
2  how the parameter 'vsync' works? 
              i  see this functions 
 parse_options(argc, argv, options, opt_output_file);
  but   how does it know the vsync? i can't  find the trace..
        thank you !

`-vsync parameter' 
Video sync method. Video will be stretched/squeezed to match the timestamps, it is done by duplicating and dropping frames. With -map you can select from which stream the timestamps should be taken. You can leave either video or audio unchanged and sync the remaining stream(s) to the unchanged one. 


2007-12-23 



redsuyu 




More information about the ffmpeg-devel mailing list