FFmpeg to H264 encoding format, moov (meta data) moved to the head, bit rate to do a certain compression, resolution also lowered

Source: Internet
Author: User

Ffmpeg-i test.mp4-threads 4-vcodec mpeg4-b:v 1000k test_a1.mp4ffmpeg-i test.mp4-threads 8-vcodec mpeg4-b:v 800k t Est_a2.mp4ffmpeg-i test.mp4-threads 8-vcodec mpeg4-b 200k test_a3.mp4--Open 8 threads, compression rate-CRF the smaller the resolution the higher ffmpeg-i Test.mp4-thre Ads 8-CRF 22-y-vcodec mpeg4-strict experimental test_b1.mp4ffmpeg-i test.mp4-threads 8-CRF 26-y-vcodec mpeg4-s Trict experimental test_b2.mp4ffmpeg-i test.mp4-threads 8-CRF 28-y-vcodec mpeg4-strict experimental TEST_B3.MP4FFMP Eg-i test.mp4-threads 8-CRF 30-y-vcodec mpeg4-strict experimental test_b4.mp4--turn h264. -S 640*360--used: ffmpeg-i test.mp4-c:v libx264-b 600k-r 25-s 640*360-ab 48k-strict-2 test_ok.mp4 ffmpeg-i test. Mp4-threads 8-c:v libx264-movflags faststart-b 200k-r 25-ab 48k-strict-2 test_c1.mp4ffmpeg-i test.mp4-c:v libx2 64-movflags faststart-b 600k-r 25-ab 48k-strict-2 test_c2.mp4ffmpeg-i test.mp4-threads 2-c:v libx264-movflags F Aststart-b 600k-r 25-ab 48k-strict-2 test_c3.mp4--Found threads added no use, but feel a bit slow ffmpeg-i test.mp4-c:v libx264-movflags faststart-b 600k-r 25-s 640*360-ab 48k-strict-2 Test_c4.mp4ffmpeg-i C:\Users\guestAdmin\Desktop\K empty Folder \a00000592c0b5b\20180610\img_20180610104643.mp4-c:v libx264  -B 600k-r 25-s 1280*720-ab 48k-strict-2 test_c5.mp4ffmpeg-i dreamitpossible.mp4-c:v libx264-movflags faststart-b 300k-r 25-s 640*360-ab 48k-strict-2 test_c5.mp4ffmpeg-i dreamitpossible.mp4-threads 8-c:v libx264-movflags FAs Tstart-b 300k-r 25-s 320*240-ab 48k-strict-2 test_c6.mp4--support side download side: Qt-faststart test_c4.mp4 test_D1.mp4qt-faststart D Reamitpossible.mp4 Test_d2.mp4---movflags faststart--http://saas.ihaihong.cn/YinShiPin/upload/FTP/ 862107034362822/20180615/filesimg_20180615193440.mp4ffmpeg-i 862107034362822\20180615\filesimg_20180615193440- Old.mp4-c:v libx264 862107034362822\20180615\filesimg_20180615193440-264.mp4qt-faststart 862107034362822\20180615 \filesimg_20180615193440-264.mp4 862107034362822\20180615\filesimg_20180615193440.mp4ffmpeg-i 862107034362822\20180615\filesimg_20180615193440-old.mp4-c:v libx264-movflags FastStart 862107034362822\20180615\filesimg_20180615193440.mp4--reprint Please specify, Haihong software, Ihaihong.cnffmpeg-i 862107034362822\20180615\ Filesimg_20180615183646-old.mp4-c:v libx264-movflags FastStart 862107034362822\20180615\filesimg_20180615183646. mp4

  

MP4 look is mp4 extension, but there are many encoding format, such as 3GP, MP4, MP42, AVC, XviD and so on, MP4 to HTML5 on the Web page <video src= "Xxx.mp4"/> Play, need these two points:

1:moov metadata should be put in front, through-movflags faststart implementation.

2: The format needs to be h264.

So casually with a <video src= "Xxx.mp4" autoplay= "AutoPlay"/> will be able to play.

FFmpeg to H264 encoding format, moov (meta data) moved to the head, bit rate to do a certain compression, resolution also lowered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.