I succesed. Thank you. Here is my code;
private MediaScannerConnection mediaconnect;
private MediaScannerConnectionClient _mediaScanConnectionClient =
new MediaScannerConnectionClient() {
public void onMediaScannerConnected() {
mediaconnect.scanFile(filename2,
I'm encoding a video but I need to find which buffer size I should
allocate for the video.. I found a code but 10 isn't enough for
some videos with large size. HOw can I find the optimum size?
And I couldn't understand how I can allocate a buffer size for a
video? Which preferences of a video
But in onScanCompleted one of the parameter is the uri..Shouldn't I
use this function?
Can you write an example code? I couldn't find how it should be.. I'm
confused..
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
I still try but first off all can you tell me what the uri means here??
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
a
Should I do something like this? but it's not correct..
public void onCreate( Bundle savedInstanceState ) {
super.onCreate( savedInstanceState );
setContentView( R.layout.main );
ListView videoListView = (ListView)findViewById(R.id.List);
videoListView.setAdapter(
Hi,
I have a video list like;
*video1
*video2
*video3
And I chose one of these then I create a new video. My new video's
name is added in the videolist but doesn't display in the gallery.
To display the new video I have to restart the emulator.
How can I display the video without restart emulato
I have an array that keeps which frames are the keyframe and I want to
create a video with these keyframes but first off all I try to save
these keyframes in a directory in sdcard called "keyframes".
I use a video that I have 217 keyframe and I think I understand using
of av_seek_frame() wrong .
B
I checked every type that I used for these parameters.There is nothing
wrong.
Actually I had that error once again and it was fixed without doing
anything with the parameter types.
But now I don't understand the cause of this error..
--
You received this message because you are subscribed to the
ece@ubuntu:~/workspace/FFmpeg/jni$ /home/ece/ndk/ndk-build
Install: libffmpeg.so => /home/ece/workspace/FFmpeg/libs/
armeabi
Compile thumb : takepics <= /home/ece/workspace/FFmpeg/jni/takepics.c
/home/ece/workspace/FFmpeg/jni/takepics.c: In function 'fill_image':
/home/ece/workspace/FFmpeg
ece@ubuntu:~/workspace/FFmpeg/jni$ /home/ece/ndk/ndk-build
Install: libffmpeg.so => /home/ece/workspace/FFmpeg/libs/
armeabi
Compile thumb : takepics <= /home/ece/workspace/FFmpeg/jni/takepics.c
/home/ece/workspace/FFmpeg/jni/takepics.c: In function 'fill_image':
/home/ece/workspace/FFmpeg
I have just need H 263 codec. Yes, I built ffmpeg myself.
In my code I found other problems. I share this for everyone..
// Decode video frame
avcodec_decode_video(pCodecCtx, pFrame, &frameFinished,
packet.data, packet.size);
Here avcodec_decode_video is not used anymore like that.. Instead of
i
9:15 pm, emymrin wrote:
> Try to instrument avcodec_open and anything that it calls with
> __android_log_print to get an idea about what is wrong.
>
> On 5 фев, 19:03, cervello wrote:
>
>
>
>
>
>
>
> > I'm trying to decode a video but in my code I think
I'm trying to decode a video but in my code I think there is a problem
about avcodec_find decoder().. I control it with log_message and on
logcat there is "here1" but there isn't "here2" .. So I think there is
a problem with avcodec_find_decoder...
Can anyone any idea?? Please help me, Thanks
And
13 matches
Mail list logo