Article Title: convert a video to a 3GP format in Linux. Linux is a technology channel of the IT lab in China. Some basic categories, including desktop applications, Linux system management, kernel research, embedded systems, and open source systems, have been concerned with this problem since mobile phones with playback multimedia are available: in linux, how does one convert the video format to 3GP. there seems to be too many tools under win, but it is not easy to find a free tool.
Such formats as 3GP are born on mobile phones. They are small, very small, and of course support from nokia. But the effect is not very good, of course.
Back to the topic, in linux, mencoder is acceptable. Now mplayer even supports real, and converting rmvb to 3GP is not acceptable. However, the method I have seen today is to use ffmpeg. Of course, first of all, make sure that the compiled ffmpeg supports x264 and aac, because the former is 3GP video decoding, the latter is 3GP audio decoding, which is indispensable. Use the following command to convert the format:
Ffmpeg-I. avi-ar 8000-ac 1-acodec aac-vcodec h263-s 176x144-r 12-B 30-AB 12. 3gp
Explain the parameters. -The I parameter specifies the original file. The-ar parameter specifies the audio channel. The phone will not talk about it. One audio channel is sufficient. Do not misunderstand that only one ear plug can have a sound; -The acodec parameter specifies the audio format in the output file. aac is recommended.-The same applies to vcodec, that is, specify the video format of the output file, and h263 for 3GP; the-s parameter is the screen size of the output video. In fact, my mobile phone is actually X, which may not be very standard. You can only choose one of the three provided by him, it seems that 176x144 is relatively close, and the supported size is 128x96,176x144,352x288,704x576,140 8x1152. The-r parameter should be the concept of "limit; -parameter B is the video bit rate, and parameter-AB is the audio bit rate.
I used the above command to transfer an NBA video of 34.7 M rockets to jazz. The format is avi, And the size after conversion is M. The compression is hard enough and I put it on my mobile phone, the effect is poor, as if many mosaic works together. Then add the parameter value, namely:
ffmpeg -i .avi -ar 8000 -ac 1 -acodec aac -vcodec h263 -s 176x144 -r 20 -b 60 -ab 32 .3gp
|
After that, the volume is increased to 47 M, and the effect is better. At least the T-mac is located.