Use ffmpeg0.6.1 to package. H264 pure bitstream into. mp4. avi format (reprint)

Source: Internet
Author: User

Transferred from: http://cache2.weidaohang.org/h/index.php?q=aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemh1cWluZ183MzkvYXJ0aWNsZS9kZXRhaWxzLzY2MzY4NTc=

Has been more confused a problem, all said FFmpeg function is very powerful, but he has not been to study, today finally saw a bit of its strong place!

First of all, of course, the Linux compiler and installation success FFmpeg, about the specific installation process, you can refer to my previous blog post!

Here is a direct introduction of how to put. H264 Pure stream package into. mp4. avi format, I think this problem also must have a lot of netizens in the study, hope can help everyone!

Plainly speaking, in fact, as long as FFmpeg installation success, playing into various formats has been a command of the matter! For more instructions on FFmpeg, please refer to here:

Http://ffmpeg.org/ffmpeg-doc.html

To make the. H264 Pure code stream into a variety of file formats, first you have to have a. H264 of pure stream files, such as sample.h264, do not know csdn blog How to upload attachments, otherwise I will put my sample.h264 upload up. I think as long as the standard h264 stream, should be no problem!

Take a look at the sample.h264 code stream file under my path:

With the command:

Ffmpeg-i sample.h264 Output.mp4

After that, a Output.mp4 file is generated in the current directory,

After that, copy it to Windows and use the storm to open the watch directly:

Use MSN here, but cut out is a black screen!

==========================================================================================================

Younger brother is not, oneself create a QQ group! Mainly discusses the Linux C language, shell script, drive development and so on, welcome everyone to join, the first statement, I level very dishes .... Oh
qq:213622826

==========================================================================================================

Use ffmpeg0.6.1 to package. H264 pure bitstream into. mp4. avi format (reprint)

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.