All Boards Video Host

cancel
Showing results for 
Search instead for 
Did you mean: 

All Boards Video Host

No ratings

All Boards Video Host

Video in Host Side

Converting images (png, jpg, etc) to YUV format

ffmpeg -f image2 -i test.png -pix_fmt yuv420p test.yuv

Converting AVI files to YUV format

To convert AVI to YUV you can use the lav2yuv program. In Ubuntu Linux this program is in mjpegtools package. This is the way to convert:

lav2yuv myfile.avi > myfile.yuv

Converting YUV video files to AVI (DivX)

Use the ffmpeg tool:

ffmpeg -s 176x144 -i kuuba_maisema_25fps_qcif.yuv -vcodec mpeg4 -sameq -aspect 4:3 ~/kuuba.avi

You need to specify the video dimensions (176 × 144), the video codec (mpeg4), and the aspect ratio (4:3).

Converting MP4 to AVI

Use the mencoder tool:

mencoder Bike1.mp4 -ovc lavc -oac lavc -o NewBike1.avi
Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:02 AM
Updated by:
 
Contributors