sharpffmpeg

FFmpeg for Windows Phone development

為{幸葍}努か 提交于 2019-12-10 18:42:07
问题 I have used FFmpeg in ASP.Net web-based applications. Now I want to use it for Windows Phone development. Is it possible to use it? If yes, then how? 回答1: FFmpeg is not supported on Windows Phone 7 at all and, as far as I could find it on the web, there is no port to Windows Phone 8. Windows Phone 7 never supported native code which was introduced back in Windows Phone 8. Apparently it is not possible to compile it for Windows Phone 8 and heavy investment must be made. If you want to play

How can I extract a good quality JPEG image from an H264 video file with ffmpeg?

南笙酒味 提交于 2019-11-26 19:26:33
Currently I am using this command to extract the images: ffmpeg.exe -i 10fps.h264 -r 10 -f image2 10fps.h264_%03d.jpeg But how can I improve the JPEG image quality? Use -qscale:v Use -qscale:v (or the alias -q:v ) as an output option. Effective range for JPEG is 2-31 with 31 being the worst quality. I recommend trying values of 2-5. To output a series of images: ffmpeg -i input.mp4 -qscale:v 2 output_%03d.jpg To output a single image at ~60 seconds duration: ffmpeg -ss 60 -i input.mp4 -qscale:v 4 -frames:v 1 output.jpg This will work with any video input. See below if your input is MJPEG.

How can I extract a good quality JPEG image from an H264 video file with ffmpeg?

独自空忆成欢 提交于 2019-11-26 06:14:58
问题 Currently I am using this command to extract the images: ffmpeg.exe -i 10fps.h264 -r 10 -f image2 10fps.h264_%03d.jpeg But how can I improve the JPEG image quality? 回答1: Use -qscale:v Use -qscale:v (or the alias -q:v ) as an output option. Effective range for JPEG is 2-31 with 31 being the worst quality. I recommend trying values of 2-5. To output a series of images: ffmpeg -i input.mp4 -qscale:v 2 output_%03d.jpg To output a single image at ~60 seconds duration: ffmpeg -ss 60 -i input.mp4