
Recherche avancée
Autres articles (48)
-
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 -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (4157)
-
OpenCV + FFmpeg : Error when recording lossless video
9 avril 2015, par testusI’m trying to record a lossless video from a webcam using opencv.
I would like to use the FFV1 codec for this.I open my video writter like this :
theVideoWriter.open(filename,CV_FOURCC('F','F','V','1'), 30, cv::Size(1280,720), true);
I can successfully open the video writter but while recording I get following error message :
[ffv1 @ 26d78020] Provided packet is too small, needs to be 8310784
The resulting video is not playable. Other FFmpeg codecs like FMP4 work fine.
What does that error mean and how can I fix it ?
-
unknown encoder libx264 windows
28 novembre 2012, par shampooi am testing clip bucket on a windows xp system , clip bucket (open source video share) uses ffmpeg to convert videos, the final command clip bucket executes is (i changed it a little to make it compatible with the current ffmpeg) :
D:\ffmpeg-snapshot-git\ffmpeg\ffmpeg.exe -i C:
\wamp\www\chclip/files/conversion_queue/1352973741c353c.mp4 -f flv -vcodec libx2
64 -pre normal -r 25 -s 426x240 -aspect 1.775 -vf "pad=10:20:30:40:yellow" -ac
odec libfaac -ab 128000 -ar 22050 C:\wamp\www\chclip/files/videos/13540939451e18
4.flv 2> C:\wamp\www\chclip/files/temp/13540939461c124.tmp 2>&1and this is the response i get
ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 19 2012 16:42:42 with gcc 4.6.2 (GCC)
configuration:
libavutil 52. 8.100 / 52. 8.100
libavcodec 54. 73.100 / 54. 73.100
libavformat 54. 37.100 / 54. 37.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.101 / 3. 23.101
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\wamp\www\chclip/files/conversion_que
ue/1352973741c353c.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.21.0
Duration: 00:00:51.67, start: 0.000000, bitrate: 344 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 426x240 [
SAR 1:1 DAR 71:40], 308 kb/s, 15 fps, 15 tbr, 15 tbn, 30 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 31
kb/s
Metadata:
handler_name : SoundHandler
Unknown encoder 'libx264'how can i get this libx264 working in windows ?
-
Getting an error while using JAVE library in an Android project
27 mai 2015, par Archer2486I’m using an external library called JAVE in my Android project in order to extract the audio from a video file.
My code :
public void extractAudio() {
File source = new File(Environment.getExternalStorageDirectory().getPath() + "/test.flv");
File target = new File(Environment.getExternalStorageDirectory().getPath() + "/test.mp3");
AudioAttributes audio = new AudioAttributes();
audio.setCodec("libmp3lame");
audio.setBitRate(new Integer(128000));
audio.setChannels(new Integer(2));
audio.setSamplingRate(new Integer(44100));
EncodingAttributes attrs = new EncodingAttributes();
attrs.setFormat("mp3");
attrs.setAudioAttributes(audio);
Encoder encoder = new Encoder();
try {
encoder.encode(source, target, attrs);
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (InputFormatException e) {
e.printStackTrace();
} catch (EncoderException e) {
e.printStackTrace();
}
}These are the errors I get :
11-09 18:26:49.874: W/System.err(6594): java.io.IOException: Error running exec(). Command: [/bin/chmod, 755, /sdcard/jave-1/ffmpeg] Working Directory: null Environment: null
11-09 18:26:49.874: W/System.err(6594): at java.lang.ProcessManager.exec(ProcessManager.java:211)
11-09 18:26:49.874: W/System.err(6594): at java.lang.Runtime.exec(Runtime.java:168)
11-09 18:26:49.884: W/System.err(6594): at java.lang.Runtime.exec(Runtime.java:123)
11-09 18:26:49.884: W/System.err(6594): at it.sauronsoftware.jave.DefaultFFMPEGLocator.<init>(DefaultFFMPEGLocator.java:85)
11-09 18:26:49.884: W/System.err(6594): at it.sauronsoftware.jave.Encoder.<init>(Encoder.java:111)
11-09 18:26:49.884: W/System.err(6594): at com.yt.ringtones.RipActivity.extractAudio(RipActivity.java:236)
11-09 18:26:49.894: W/System.err(6594): at com.yt.ringtones.RipActivity$1$DownloadFromUrl.onPostExecute(RipActivity.java:94)
11-09 18:26:49.894: W/System.err(6594): at com.yt.ringtones.RipActivity$1$DownloadFromUrl.onPostExecute(RipActivity.java:1)
11-09 18:26:49.894: W/System.err(6594): at android.os.AsyncTask.finish(AsyncTask.java:602)
11-09 18:26:49.894: W/System.err(6594): at android.os.AsyncTask.access$600(AsyncTask.java:156)
11-09 18:26:49.986: W/System.err(6594): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
11-09 18:26:49.986: W/System.err(6594): at android.os.Handler.dispatchMessage(Handler.java:99)
11-09 18:26:49.986: W/System.err(6594): at android.os.Looper.loop(Looper.java:137)
11-09 18:26:49.994: W/System.err(6594): at android.app.ActivityThread.main(ActivityThread.java:4424)
11-09 18:26:49.994: W/System.err(6594): at java.lang.reflect.Method.invokeNative(Native Method)
11-09 18:26:49.994: W/System.err(6594): at java.lang.reflect.Method.invoke(Method.java:511)
11-09 18:26:50.014: W/System.err(6594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
11-09 18:26:50.014: W/System.err(6594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
11-09 18:26:50.024: W/System.err(6594): at dalvik.system.NativeStart.main(Native Method)
11-09 18:26:50.024: W/System.err(6594): Caused by: java.io.IOException: No such file or directory
11-09 18:26:50.024: W/System.err(6594): at java.lang.ProcessManager.exec(Native Method)
11-09 18:26:50.034: W/System.err(6594): at java.lang.ProcessManager.exec(ProcessManager.java:209)
</init></init>I’m rather new to Android development and I’m not really sure what’s the problem here. I’d appreciate any help.