Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (91)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (21004)

  • avcodec/nvenc : add UHQ to AV1 for NVENC

    8 janvier, par Diego de Souza
    avcodec/nvenc : add UHQ to AV1 for NVENC
    

    This commit adds support for Ultra High Quality mode for AV1 on
    NVIDIA GPUs.

    Signed-off-by : Diego de Souza <ddesouza@nvidia.com>
    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/nvenc.h
    • [DH] libavcodec/nvenc_av1.c
  • ffmpeg livestream from static image and audio

    23 mai 2017, par boygiandi

    I’m trying to livestream by ffmpeg using static image and audio file. The ffmpeg command like this

    ffmpeg -re -loop 1 -f image2 -i ’/tmp/11.jpg’ -f lavfi -i amovie=/tmp/5117.mp3:loop=999 -video_size 600x480 -c:v libx264 -x264-params keyint=60 -bufsize 500k -c:a aac -ar 44100 -b:a 128k -r 30 -g 60 -pix_fmt yuv420p -f flv "rtmp ://"

    /tmp/11.jpg was generated by another process and keep updated twice per second. The ffmpeg command doesn’t look right, first, it show status like this

    frame= 85 fps=9.4 q=29.0 size= 2261kB time=00:02:24.19 bitrate= 128.4kbits/s speed= 16x

    As you see, 16x is not good, 1x is the right value for livestream. Then, after a while, it show many warning log like this

    [flv @ 0x322bd60] Non-monotonous DTS in output stream 0:1 ; previous : 335993, current : 297752 ; changing to 335993. This may result in incorrect timestamps in the output file.

    Please help to fix it.

  • How to convert video file to audio file by using FFMPEG ?

    15 janvier 2020, par Aamir Naseer

    I’m making video to audio converter app but need help to convert video to audio using ffmpeg. I checked many answers and websites but their answers are not easy to understand and I’m confused with command that is used to convert. What is the proper command to convert video to audio and is I’m executing the command in right way ?

    public class VideoConvertActivity extends AppCompatActivity {

       private VideoView videoView;
       private Button convertButton;
       private String filePath;
       private FFmpeg ffmpeg;


       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_video_convert);

           videoView = findViewById(R.id.videoviewID);
           convertButton = findViewById(R.id.convertbuttonID);

           ffmpeg = FFmpeg.getInstance(VideoConvertActivity.this);

    // in variable video i'm getting the path of video path from previous activity through intent and that video will have to convert to audio file
           Intent extras = getIntent();
           final String video = extras.getStringExtra("video");

           videoView.setVideoPath(video);
           videoView.start();

           convertButton.setOnClickListener(new View.OnClickListener() {
               @Override
               public void onClick(View v) {

                   try {

                       File moviesDir = Environment.getExternalStoragePublicDirectory(
                               Environment.DIRECTORY_MUSIC
                       );

                       String filePrefix = "convert_audio";
                       String fileExtn = ".mp3";
                       File dest = new File(moviesDir, filePrefix + fileExtn);

                       int fileNo = 0;
                       while (dest.exists()) {
                           fileNo++;
                           dest = new File(moviesDir, filePrefix + fileNo + fileExtn);
                       }
                       filePath = dest.getAbsolutePath();

                       // to execute "ffmpeg -version" command you just need to pass "-version"
                       String[] command = {"-y", "-i", video, "-vn", "-ar", "44100", "-ac", "2", "-b:a", "256k", "-f", "mp3", filePath};
                       ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                               Toast.makeText(VideoConvertActivity.this,"Started",Toast.LENGTH_LONG).show();
                           }

                           @Override
                           public void onProgress(String message) {
                               Toast.makeText(VideoConvertActivity.this,"Progress",Toast.LENGTH_LONG).show();
                           }

                           @Override
                           public void onFailure(String message) {
                               Toast.makeText(VideoConvertActivity.this,"Failed",Toast.LENGTH_LONG).show();
                           }

                           @Override
                           public void onSuccess(String message) {
                               Toast.makeText(VideoConvertActivity.this,"Succeed",Toast.LENGTH_LONG).show();
                           }

                           @Override
                           public void onFinish() {
                               Toast.makeText(VideoConvertActivity.this,"Finished",Toast.LENGTH_LONG).show();
                           }
                       });
                   } catch (FFmpegCommandAlreadyRunningException e) {
                       // Handle if FFmpeg is already running
                   }

                    Toast.makeText(VideoConvertActivity.this,"Converted Successfully",Toast.LENGTH_SHORT).show();

               }
           });

       }

    }