Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (93)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP 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.

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6565)

  • Android : Not able to merge two audio files using ffmpeg Android

    29 mars 2019, par Asif Sb

    I am trying to merge two wav audio files into one using FFMPEG library.

    Here is the command I used for merging two audio files.

    String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;

    Below is my audio merger code :

    public void mergeMediaFiles(Context context,String[] cmd) {
               FFmpeg ffmpeg = FFmpeg.getInstance(context);
               try {
                   try {
                       //Load the binary
                       ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                           }

                           @Override
                           public void onFailure() {
                           }

                           @Override
                           public void onSuccess() {
                           }

                           @Override
                           public void onFinish() {
                           }
                       });
                   } catch (FFmpegNotSupportedException e) {
                       // Handle if FFmpeg is not supported by device
                   }
                   // to execute "ffmpeg -version" command you just need to pass "-version"
                   ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           Log.d("ttt", "onStart:merge ");
                       }

                       @Override
                       public void onProgress(String message) {
                           Log.d("ttt", "onProgress: merge");
                       }

                       @Override
                       public void onFailure(String message) {
                           Log.d("ttt", "onFailure: stock down");
                       }

                       @Override
                       public void onSuccess(String message) {
                           Log.d("ttt", "onSuccess: stock up");
                           File file= new File(finalAudio);
                           if (file.exists()) {
                               Log.d(TAG, "onPostExecute: mila bhai");
                               startPlaying(file.getPath());
                           }
                       }

                       @Override
                       public void onFinish() {
                           Log.d("ttt", "onFinish: merge ");
                       }
                   });
               } catch (FFmpegCommandAlreadyRunningException e) {
                   //
               }
           }

       }

    When I try to run this code. It always triggers failure callback.
    I just wanted to understand what is the issue with the command and merger code ?

  • Android : Not able to merge two audio files using ffmpeg Android (onFailure)

    1er avril 2019, par Asif Sb

    I am trying to merge two wav audio files into one using FFMPEG library.

    Here is the command I used for merging two audio files.

    String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;

    Below is my audio merger code :

    public void mergeMediaFiles(Context context,String[] cmd) {
               FFmpeg ffmpeg = FFmpeg.getInstance(context);
               try {
                   try {
                       //Load the binary
                       ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                           }

                           @Override
                           public void onFailure() {
                           }

                           @Override
                           public void onSuccess() {
                           }

                           @Override
                           public void onFinish() {
                           }
                       });
                   } catch (FFmpegNotSupportedException e) {
                       // Handle if FFmpeg is not supported by device
                   }
                   // to execute "ffmpeg -version" command you just need to pass "-version"
                   ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           Log.d("ttt", "onStart:merge ");
                       }

                       @Override
                       public void onProgress(String message) {
                           Log.d("ttt", "onProgress: merge");
                       }

                       @Override
                       public void onFailure(String message) {
                           Log.d("ttt", "onFailure: stock down");
                       }

                       @Override
                       public void onSuccess(String message) {
                           Log.d("ttt", "onSuccess: stock up");
                           File file= new File(finalAudio);
                           if (file.exists()) {
                               Log.d(TAG, "onPostExecute: mila bhai");
                               startPlaying(file.getPath());
                           }
                       }

                       @Override
                       public void onFinish() {
                           Log.d("ttt", "onFinish: merge ");
                       }
                   });
               } catch (FFmpegCommandAlreadyRunningException e) {
                   //
               }
           }

       }

    When I try to run this code. It always triggers failure callback.
    I just wanted to understand what is the issue with the command and merger code ?

  • PSNR for YUV files using matlab [duplicate]

    29 février 2016, par apiproj

    This question already has an answer here :

    In my video streaming application I have two yuv files.One is original which is am streaming over the network after x264 encoding, another is reconstructed decoded yuv file in receiver side.

    How to calculate PSNR value between two YUV files in MATLAB or ldecoder or using any other tool ?

    Thanks in advance.