
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 (77)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (8687)
-
How to write command in android when I m using FFmpeg Native with C++ file ?
16 octobre 2019, par axita.savaniUsing FFmpeg lastest version ("Ada") with native code and write command in android .cpp file below it’s very simple function VideogetDuration() :
#include
#include <string>
#include <iostream>
#include <android></android>log.h>
#include
extern "C" {
#include <libavutil></libavutil>timestamp.h>
#include <libavformat></libavformat>avformat.h>
#include <libavutil></libavutil>display.h>
}
/***
*
* @param input - the absolute path to file
* @returns the duration of file in seconds
*
*/
extern "C"
JNIEXPORT jint JNICALL
Java_com_ffmpegjni_videoprocessinglibrary_VideoProcessing_getDuration(JNIEnv *env,
jobject instance,
jstring input_) {
av_register_all();
AVFormatContext *pFormatCtx = NULL;
if (avformat_open_input(&pFormatCtx, jStr2str(env, input_), NULL, NULL) < 0) {
throwException(env, "Could not open input file");
return 0;
}
if (avformat_find_stream_info(pFormatCtx, NULL) < 0) {
throwException(env, "Failed to retrieve input stream information");
return 0;
}
int64_t duration = pFormatCtx->duration;
avformat_close_input(&pFormatCtx);
avformat_free_context(pFormatCtx);
return (jint) (duration / AV_TIME_BASE);
}
</iostream></string>when this value returns 0 value either the wrong value.
also i have read the below docs for more information.
1)http://dranger.com/ffmpeg/data.html
2)https://static.packt-cdn.com/downloads/Developing_Multimedia_Applications_with_NDK.pdf
3)https://github.com/KucherenkoIhor/VideoProcessingLibrary (also see this project)
4)https://github.com/leandromoreira/ffmpeg-libav-tutorial#video---what-you-seei have also add the same problem with below link :
how to use libavcodec/ffmpeg to find duration of video file -
FLAC__stream_encoder_finish : Sanity improvement
30 janvier 2017, par Erik de Castro Lopo -
FFMPEG exec exit code 126
17 mai 2020, par Ali Lordhere is my code for FFMPEG



$mp3path=realpath("1.mp3");
$cmd = "/usr/include/ffmpeg -i $mp3path -ab 128 /home/swiftfa1/public_html/output.mp3 2>&1";
exec($cmd, $output, $value);
echo '<pre>'; print_r($output); echo '</pre>';
echo '<pre>'; print_r($value); echo '</pre>';
exit;




and here is my result :



Array
(
 [0] => sh: /usr/include/ffmpeg: Is a directory
)
126




I used whereis for ffmpeg path and searched a lot but can't solve my issue. any command returns 126 !