Because each mobile phone, MP4 video formats are not completely the same, such as mobile phones, are 3GP format, but video encoding can use H.263, MPEG-4 and other formats, so sometimes even 3GP format, the mobile phone may not be able to play the video, and the video resolution is also an important factor, for example, my OPPO MP4 can only play 320x240 videos, while the MP4 files of 352x288 cannot play the
Android video player selection interface pop-up mechanism, android Mechanism
1. file manager and videos have different video recognition mechanisms.
A) file manager identifies the file based on the suffix. 3gp, mp4, and avi are considered as three different video formats respectively. Therefore, the video player selection page is displayed.
B) In videos, video recognition is set based on the file mimetype. 3gp
Supports a wide range of formats to quickly convert mpeg1, AVI (rmvb) to MPEG2, AVI (rmvb) to DVD, AVI (rmvb) to VCD, and AVI (rmvb) convert SVCD, Avi to rmvb. all the preceding video formats can also be converted to DivX or AVI. Avi, mpeg1, VCD, ASF, WMV, RM, and QuickTime mov can be converted to rmvb. supports conversion from multiple video formats to WMV.
Convert multiple formats to the mobile phone 3GP format, and convert more formats to the MP4 f
Support rich format, can quickly complete AVI (RMVB) conversion Mpeg1, AVI (RMVB) to MPEG2, AVI (RMVB) Turn DVD, AVI (RMVB) to VCD, AVI (RMVB) to SVCD, AVI to RMVB. Also support the above all video format into DivX format or AVI format, support AVI,MPEG1,VCD,ASF,WMV,RM, QuickTime mov conversion to RMVB format. Supports multiple video format conversion to WMV.
Multi-format conversion to mobile phone 3GP format, more format converted to MP4 format.
Supp
Through the above example we can see that the reasonable title is not to let every keyword is completely appear, more times we should combine search engine fuzzy combination, word segmentation function. The above example does not say that some of the attention, reasonable title should also be combined with the actual situation to layout, first of all, should analyze the competitive strength of keywords, if the key words competition is strong, then you do not go to fantasy fuzzy combination, the
[J2-mmapi]
Of
Cannot parse this type of AMR
Exception Discussion
Zheng Drafting20060417
[
Symptom
]
First, let's assume that people who encounter such errors know how to use them.MmapiTo excludeCodeImproper use.
Playing 3GP Media files "Java. Lang. Exception: cannot parse this type of AMR" Exception error. If suspected FFmpeg Or other ConversionProgramThen you can Nokia Upload the video recorded by the mobile phone PC The
352x240 a.jpgConvert the first 30 frames of the video into a animated Gif
Ffmpeg-i test.asf-vframes 30-y-F gif a.gifIntercept a thumbnail for a specified time
Ffmpeg-i test.avi-y-F image2-ss 8-t 0.001-s 350x240 test.jpg-ss the time unit followed by the seconds convert file to 3GP format
-acodec aac-ac 2-ar 22500-ab 24-f 3gp test.3gpOr
Ffmpeg-y-I test.wmv-ac 1-acodec libamr_nb-ar 8000-ab 12200-s 176x144-b 1
. ASF-vframes 30-y-F GIF a.gif
Truncate a thumbnail at a specified time
FFmpeg-I test. Avi-y-F image2-SS 8-T 0.001-s 350x240 test.jpg
-SS followed by time in seconds
Convert the file to 3GP format
FFmpeg-y-I test. MPEG-bitexact-vcodec h263-B 128-R 15-s 176x144-Acodec AAC-AC 2-ar 22500-AB 24-F 3GP test.3gp
Video Production
Screen Video expert
Screen video experts are professional video recording tools, in a variety of formats, easy to operate (see instructions to operate).
Video Compression method
1. Same format conversion: Reduce the resolution (video playback window size), change the encoding mode (mainly for AVI), reduce audio quality. Usually set the "Advanced" option content when converting;
2. Conversion of different formats: converting into RMVB and mov is a good choice. Before convert
as a file handle under Linux. As a general rule, options are generally used for the next specific file. If you give –b 64 option, re-election will set the next video rate. For the original input file, the formatting options may be required. By default, FFmpeg tries to do as much lossless conversion as possible, using the same audio video parameters as input to output. (by TERNENCE.HSU)
2. Video Conversion
H264 Video turn TS video streamFfmpeg-i Test.h264-vcodec copy-f M
0.001-s 352x240 a.jpg gif pictures
Convert the first 30 frames of the video into a animated GifFfmpeg-i test.asf-vframes 30-y-F gif a.gif intercept a thumbnail for a specified time
Ffmpeg-i test.avi-y-F image2-ss 8-t 0.001-s 350x240 test.jpg-ss the time unit followed by the seconds convert file to 3GP format
Ffmpeg-y-I test.mpeg-bitexact-vcodec h263-b 128-r 15-s 176x144 -acodec aac-ac 2-ar 22500-ab 24-f 3gp
types not listed in the table.
Note:Not all android platforms support all formats, and some require specific versions such as Android 3.0 +
Table 1.Supported core media formats and codecs.
Type
Format/Codec
Encoding
Decoding
Details
Supported file types/contained formats
Audio
Aac lc/LTP
•
•
Single-channel/Stereo content with a standard bitrate of up to 160 kbps and a sampling rate ranging from 8 to 48 khz in any combination
• 3GPP (.
+ )"
Table 1. Core media formats and CODEC support
Type
Format/codecs
Encoder
Decoder
Details
Supported file types/containers and formats
Audio
Aac lc/LTP
•
•
Use a standard bit rate of up to kbps and a sampling frequency of 8 to 48 khz to freely combine single-channel/Stereo content.
• 3GPP (. 3gp)• MPEG-4 (.mp4,. m4a)• ADTS raw AAC (. aac, decoding: Android 3.1 +, encoding
Convert the first 30 frames of the video into a animated GifFfmpeg-i test.asf-vframes 30-y-F gif a.gif
Intercept a thumbnail for a specified timeFfmpeg-i test.avi-y-F image2-ss 8-t 0.001-s 350x240 test.jpg
The time unit followed by the-SS is secondsConvert file to 3GP formatFfmpeg-y-I test.mpeg-bitexact-vcodec h263-b 128-r 15-s 176x144
-acodec aac-ac 2-ar 22500-ab 24-f 3gp test.
-of-the-box Media Library is as follows:
Therefore, if the file name extension is not. mov,. mp4,.flv, users can not upload files to the Media library, and even by changing the extension to upload files, the Media Library can not play these files, because the out-of-the-box Media Library on the support of the code has strict restrictions, See video coding and Audio coding bar.
However, there are many types of multimedia files in the market, such as 3GP
a animated Gif
Ffmpeg-i test.asf-vframes 30-y-F gif a.gif
To intercept a thumbnail of a specified time
Ffmpeg-i test.avi-y-F image2-ss 8-t 0.001-s 350x240 test.jpg
the time unit followed by-ss is seconds
Convert file to 3GP format
Ffmpeg-y-I test.mpeg-bitexact-vcodec h263-b 128-r 15-s 176x144 -acodec aac-ac 2-ar 22500-ab 24-f 3gp test.3 Gp
http://blog.csdn.net/lius1984/article/details/4367150
Organize common ffmpeg commands so that you find them easily.
1. avi to FLV
Ffmpeg-i video_origine.avi-acodec libmp3lame-ab 56k-ar 44100-b 200k-r 15-s 320x240-f flv video_finale.flv
2.AVI turn DivX encoded MPEG4 avi
Ffmpeg-i video_origine.avi-s 320x240-vcodec MSMPEG4 Video_finale.avi
3. Save the audio in AVI to MP3 file
Ffmpeg-i source_video.avi-vn-ar 44100-acodec libmp3lame-ac 2-ab 192k-f mp3 Sound.mp3
4. Convert to
Previously, "Install FFMPEG in Ubuntu to support 3GP format" was installed in Ubuntu server8.04. With the upgrade of Ubuntu and the effectiveness of some libraries, there will be various errors during the installation process. Now I will refer to the article on installing FFMPEG in Ubuntu server9.04Article(From http://marshal.easymorse.com/archives/1635)
The Installation Steps mainly refer to fakeoutdoorsman's two posts:
Howto: install and u
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.