Re: setting default video encoder

154 views
Skip to first unread message

abhi

unread,
Jul 17, 2012, 9:37:42 AM7/17/12
to android-...@googlegroups.com
Hi,
    I am getting the above error in running CTS camera test cases ,where it fails to set the proper encoder, I have tried to set the value in build.prop using ro.media.enc.vid.codec=m4v ,but it still fails to set. Can anybody throw light in this issue

Thanks a lot!

On Friday, 13 July 2012 20:07:34 UTC+5:30, abhi wrote:
Hi Everyone,      
                   I like to know where we can set the default video encoder in frameworks as there is a call from application  using the Api setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT) .In the api parameters we can able to use h263,h264 and mpeg4 .How can we let the system know that the default video encoder is mpeg4. 

Thanks!

钟小文

unread,
Jul 19, 2012, 11:08:22 PM7/19/12
to android-...@googlegroups.com
Hi,
 if you use hardware ,you can read  the file "framework/base/media/libstagefright/OMXCodec.cpp".

2012/7/17 abhi <s.abhil...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/p8jpBxvsrHMJ.

To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

abhi

unread,
Jul 20, 2012, 2:10:26 AM7/20/12
to android-...@googlegroups.com
Hi Bill ,

          Thanks for the reply , I have found out that stagefright recorder uses the h263 codec as default .I am using software encoders for the purpose.


On Friday, 20 July 2012 08:38:22 UTC+5:30, Bill Zhong wrote:
Hi,
 if you use hardware ,you can read  the file "framework/base/media/libstagefright/OMXCodec.cpp".

2012/7/17 abhi <s.abhil...@gmail.com>
Hi,
    I am getting the above error in running CTS camera test cases ,where it fails to set the proper encoder, I have tried to set the value in build.prop using ro.media.enc.vid.codec=m4v ,but it still fails to set. Can anybody throw light in this issue

Thanks a lot!


On Friday, 13 July 2012 20:07:34 UTC+5:30, abhi wrote:
Hi Everyone,      
                   I like to know where we can set the default video encoder in frameworks as there is a call from application  using the Api setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT) .In the api parameters we can able to use h263,h264 and mpeg4 .How can we let the system know that the default video encoder is mpeg4. 

Thanks!

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/p8jpBxvsrHMJ.

To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages