Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (16)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4884)

  • configure : Automatically add -isysroot for darwin if —sysroot is specified

    21 juin 2017, par Martin Storsjö
    configure : Automatically add -isysroot for darwin if —sysroot is specified
    

    Check the existing flags in the cc/cflags/cppflags/ldflags for
    occurrances of -isysroot ; if none is found but —sysroot was specified,
    set -isysroot to the same value as —sysroot.

    This simplifies configuring cross-builds for iOS, if the global
    environment variable SDKROOT isn’t set.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] configure
  • Including ffmpeg in qt project on windows causes the program to unexpectedly finish

    1er avril 2016, par Burn-Man

    I am trying to include ffmpeg in my qt project on windows. I am running QT4 and compiling with microsoft visual compiler 2010 on 32 bit windows 7. I am trying to include ffmpeg 2.8 which I got the dev and shared downloads from zeranoe. When I run it I get the following output :

    Starting (executable path)...
    The program has unexpectedly finished.
    (executable path) exited with code -1073741819

    I am able to produce this output with the following :

    ffmpeg_test.pro :

    QT += core
    TARGET = ffmpeg_test

    INCLUDEPATH += (ffmpeg dev path)/include
    LIBS += -L(ffmpeg dev path)/lib
    LIBS += -lavformat

    SOURCES += main.cpp

    main.cpp :

    extern "C"
    {
    #ifndef __STDC_CONSTANT_MACROS
    #define __STDC_CONSTANT_MACROS
    #endif
    #include <libavformat></libavformat>avformat.h>
    }

    int main(int argc, char *argv[])
    {
     av_register_all();
     return 0;
    }

    I have put the .dll files from the ffmpeg share bin into the same folder that QT builds ffmpeg_test.exe into. I have also confirmed that they are found using dependency walker which shows a question mark when they are not in that directory and the avformat-56.dll file path when they are (the fact that the .dll files are found does not effect the output of the program).

    Dependency walker does reveal that something weird is going on as there are no expected functions, but the functions found in avformat-56.dll look correct. I also have ran Dumpbin.exe /EXPORTS on avformat.lib and it also looks fine (I can post output if it would be helpful). It is worth noting that I have included this version of ffmpeg in a different application on this machine, it was not a qt project however. That project generated its make file with CMake rather than QMake and was built with Microsoft Visual C++ 2010 rather than QT Creator.

    I have also included other .lib/.dll pairs in qt and they have no problems. I am noticing two differences from those pairs. First in the ffmpeg-dev lib folder instead of having only .lib files (as is the case for all my other .lib/.dll pairs) I also have a .def and a .dll.a file for each library. Second ffmpeg is a c library whereas all my other included libraries are c++.

    update 3/29 :

    I have tried replacing the LIBS lines in my .pro with both of the following :

    LIBS += (ffmpeg dev path)/lib/avformat.lib

    LIBS += (ffmpeg dev path)/lib/libavformat.dll.a

    Both give the same error message. I have also tried adding the following to my .pro file also with no effect.

    DEFINES += __STDC_CONSTANT_MACROS
    QMAKE_CXX_FLAGS += -D_STDC_CONSTANT_MACROS

    Additionally I tried adding #define inline __inline to main.cpp as suggested on the ffmpeg website. Any ideas of things to try would be hugely appreciated !

    update 3/31 :

    I have tried to start over with a new Windows build environment but the result remains unchanged with the test code above. (The new environment was able to run a hello world program).

    My process for setting up this environment was to install a fresh version of 32 bit windows 7. Install Visual C++ 2010 Express from the Visual Studio 2010 Express All-in-one ISO. Install Qt 4.8.6 for 32 bit windows and Visual Studio 2010. And finally install Qt Creator 2.5.2. To set up Qt creator I went under tools->options and told it where to find the Qt 4.8.6 qmake. I downloaded the dev and shared builds for ffmpeg 2.8 from Zeranoe. I was missing stdint.h and inttypes so I downloaded them and put the files in /include/libavutil. Then I corrected any of the header files that complained from to "stdint.h" ect. I then put the dll files from ffmpeg-2.8-win32-shared/bin into the folder where qt was building ffmpeg_test ffmpeg_test-build-desktop-Qt_4_8_6__4_8_6__Release/release.

  • IOException when trying to run ffmpeg command on Android

    20 avril 2020, par Rashid Faheem

    I am using this library through gradle with Android Studio 3.6.

    &#xA;&#xA;

    implementation &#x27;com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5&#x27;&#xA;

    &#xA;&#xA;

    This is path of input and output file.

    &#xA;&#xA;

    String VideoIn = Environment.getExternalStorageDirectory().getAbsolutePath() &#x2B; "/Download/Ab.mp4";&#xA;String VideoOut = Environment.getExternalStorageDirectory().getAbsolutePath() &#x2B; "/Download/Ab1.avi";&#xA;

    &#xA;&#xA;

    This is code where I load ffmpeg and try to execute command to convert an mp4 into avi. (Same command i use on windows to do this task). But it say IOException (No such file or directory) although input file is present in Download folder.

    &#xA;&#xA;

    private void convert(String VideoIn, String VideoOut) {&#xA;    ffmpeg = FFmpeg.getInstance(this);&#xA;    try {&#xA;        ffmpeg.loadBinary(new LoadBinaryResponseHandler() {&#xA;            @Override&#xA;            public void onFailure() {&#xA;                super.onFailure();&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onSuccess() {&#xA;                super.onSuccess();&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onStart() {&#xA;                super.onStart();&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onFinish() {&#xA;                super.onFinish();&#xA;            }&#xA;        });&#xA;    } catch (FFmpegNotSupportedException e) {&#xA;        Log.e(TAG, e.getMessage());&#xA;    }&#xA;&#xA;    try {&#xA;        ffmpeg.execute("-i " &#x2B; VideoIn &#x2B; " " &#x2B; VideoOut, new ExecuteBinaryResponseHandler() {&#xA;            @Override&#xA;            public void onSuccess(String message) {&#xA;                Log.e(TAG, message);&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onProgress(String message) {&#xA;                Log.e(TAG, message);&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onFailure(String message) {&#xA;                Log.e(TAG, message);&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onStart() {&#xA;                Log.e(TAG, "onStart called");&#xA;            }&#xA;&#xA;            @Override&#xA;            public void onFinish() {&#xA;                Log.e(TAG, "onFinish called");&#xA;            }&#xA;        });&#xA;    } catch (FFmpegCommandAlreadyRunningException ex) {&#xA;        Log.e(TAG, ex.getMessage());&#xA;    }&#xA;}&#xA;

    &#xA;&#xA;

    Here is log data for your to understand. I am not that expert in that so I couldn't figure out what is wrong with my code. Path is correct and file is there. Maybe I am calling this command wrong or what ?

    &#xA;&#xA;

    I searched google and stack overflow much but nothing helped me solve it. Any help would be appreciated.

    &#xA;&#xA;

    04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video&#xA0;to&#xA0;Mp3: Input File Path: &#xA;/storage/emulated/0/Download/Ab.mp4&#xA;04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video&#xA0;to&#xA0;Mp3: Output File Path: &#xA;/storage/emulated/0/Download/Ab1.avi&#xA;04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video&#xA0;to&#xA0;Mp3: Device not supported&#xA;04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video&#xA0;to&#xA0;Mp3: onStart called&#xA;04-20 12:08:26.084 12696-13027/com.example.myapplication E/FFmpeg: Exception while trying to run: &#xA;/data/user/0/com.example.myapplication/files/ffmpeg -i /storage/emulated/0/Download/Ab.mp4 &#xA;/storage/emulated/0/Download/Ab1.avi&#xA;java.io.IOException: Error running exec(). Command: [/data/user/0/com.example.myapplication/files/ffmpeg, -i, /storage/emulated/0/Download/Ab.mp4, /storage/emulated/0/Download/Ab1.avi] Working Directory: null Environment: null&#xA;    at java.lang.ProcessManager.exec(ProcessManager.java:211)&#xA;    at java.lang.Runtime.exec(Runtime.java:186)&#xA;    at java.lang.Runtime.exec(Runtime.java:259)&#xA;    at java.lang.Runtime.exec(Runtime.java:202)&#xA;    at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)&#xA;    at android.os.AsyncTask$2.call(AsyncTask.java:307)&#xA;    at java.util.concurrent.FutureTask.run(FutureTask.java:237)&#xA;    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)&#xA;    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)&#xA;    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)&#xA;    at java.lang.Thread.run(Thread.java:833)&#xA; Caused by: java.io.IOException: No such file or directory&#xA;    at java.lang.ProcessManager.exec(Native Method)&#xA;    at java.lang.ProcessManager.exec(ProcessManager.java:209)&#xA;    at java.lang.Runtime.exec(Runtime.java:186)&#xA0;&#xA;    at java.lang.Runtime.exec(Runtime.java:259)&#xA0;&#xA;    at java.lang.Runtime.exec(Runtime.java:202)&#xA0;&#xA;    at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)&#xA0;&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)&#xA0;&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)&#xA0;&#xA;    at android.os.AsyncTask$2.call(AsyncTask.java:307)&#xA0;&#xA;    at java.util.concurrent.FutureTask.run(FutureTask.java:237)&#xA0;&#xA;    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)&#xA0;&#xA;    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)&#xA0;&#xA;    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)&#xA0;&#xA;    at java.lang.Thread.run(Thread.java:833)&#xA0;&#xA;04-20 12:08:26.084 12696-12696/com.example.myapplication E/Video&#xA0;to&#xA0;Mp3: onFinish called&#xA;

    &#xA;