
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (82)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5878)
-
ffmpeg avcodec_decode_video2 is crashing the andrid app
18 octobre 2013, par AzhagiriHI i am using ffmpeg library in my android app. Using the library from
https://github.com/churnlabs/android-ffmpeg-sampleMy application crashes when i am calling the avcodec_decode_video2() function. My code
int decode_packet(int *got_frame, int cached){
int ret = 0;
int decoded = packet.size;
if (packet.stream_index == videoStream) {
/* decode video frame */
ret = avcodec_decode_video2(pCodecCtx, pFrame, got_frame, &packet);
if (ret < 0) {
LOGE("Error decoding video frame");
return ret;
}
if (*got_frame) {
av_image_copy(video_dst_data, video_dst_linesize, (const uint8_t **)(pFrame->data), pFrame->linesize, pCodecCtx->pix_fmt, pCodecCtx->width, pCodecCtx->height);
/* write to rawvideo file */
LOGE("Frame Count [%d]",video_frame_count++);
// fwrite(video_dst_data[0], 1, video_dst_bufsize, videoOut);
}
return decoded;
}
}The app crashes at the line
ret = avcodec_decode_video2(pCodecCtx, pFrame, got_frame, &packet);
Help to get resolve the problem. I'll attach the ndk-stack output also
********** Crash dump: **********
Build fingerprint: 'samsung/ja3gxx/ja3g:4.2.2/JDQ39/I9500XWUBMG5:user/release-keys'
pid: 12494, tid: 12512, name: Thread-1088 >>> com.churnlabs.ffmpegsample <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000020
Stack frame #00 pc 00285804 /data/app-lib/com.churnlabs.ffmpegsample-1/libffmpegutils.so (avcodec_decode_video2+60)
Stack frame #01 pc 00285854 /data/app-lib/com.churnlabs.ffmpegsample-1/libffmpegutils.so (avcodec_decode_video2+140)
Crash dump is completedFrom this i can find the function which crashes but i can't find the reason for the crash and how to get out from that
-
avformat/mov_muxer : Extended MOV muxer to handle EVC video content
15 juin 2023, par Dawid Kozinskiavformat/mov_muxer : Extended MOV muxer to handle EVC video content
Changes in mov_write_video_tag function to handle EVC elementary stream
Provided structure EVCDecoderConfigurationRecord that specifies the decoder configuration information for ISO/IEC 23094-1 video content
Signed-off-by : Dawid Kozinski <d.kozinski@samsung.com>
-
How can I capture low resolution video on Android reliably across a range of devices ?
26 octobre 2015, par MisterMatHello Android video experts :)
I am developing an Android application which allows the user to capture video and upload it to a remote server (it’s more involved than that but the rest of the app is not important). Because of the upload requirement, it is important that the video is of a reasonable size, so not super high resolution. Let’s say a max of 680x480 or 10Mb/minute. This is no problem on Apple devices.
I have had what can only be described as a complete nightmare trying to capture video at a reasonably low bitrate reliably across a range of Android devices.
As I understand it there are two ways of capturing video on Android :
1) Using the Media Recorder/Camera API
2) Using an Intent to open the cameras video capture application
Option 1) gives the most flexibility and allows us to easily change the capture resolution. However the Android Camera API is NOT reliable across a range of devices, and I have very good information (including from someone who liaised with Google on this issue) that if you capture video using this API then it will crash on a good 50% of the devices out there. There is a reason that Zoom Camera FX uses an Intent for video capture. Zoom Camera (different app) seems to use Media Recorder, but has lots of bad reviews for video crashing or not working.
Option 2) works well across a range of devices, as it uses the in built application on the device. The trouble is you have no control whatsoever on the resolution, there is a quality hint on the Intent but the camera app will normally ignore this. My Samsung Galaxy S3 records video by default at about 2Mb/s. This is way too high resolution. The built in application can of course change the resolution, but this relies on action by the user which is difficult to control.
I understand that I could use a library such as ffmpeg to change the resolution of the video after capture. However this requires me to compile the library for Android, and also I have been informed that in order to legally use the decode/encode codecs on the device you have to pay license fees that amount to about $1 per copy of the app. Since this app will be free to use, this is not an option.
So that’s where I’m at. I’ve searched long and high for answers, but I can’t figure out how to capture low resolution video reliably using Android.
Any help very much appreciated !
Matthew