Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (111)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (9511)

  • Revision 55040 : Et toujours sur une idée trouvée sur ...

    1er décembre 2011, par real3t@… — Log

    Et toujours sur une idée trouvée sur http://www.ghacks.net/2011/11/30/embed-facebook-twitter-google-plus-without-javascript/ : la forme la plus basique de l’interaction sociale : imprimer la page.

  • We're Creating a New AI tool and Got Stuck on This 1 Step [closed]

    22 février 2024, par Daniel

    Thanks for helping with this question,

    


    Anybody who knows PHP, React js, FFmpeg, or Open AI API can help here :

    


    We are currently creating a tool with PHP laravel and React JS. It lets normal creators input a simple text prompt and they'll get a fully original short (30 video fast-paced video) for their channel. But we have an output problem :

    


      

    • On the output of the videos, there's supposed to be AI generated images that have cool animations in order to make everything more fast paced. But our developers are making animations that are super slow and not dynamic or interesting enough. What open source library/tech could we use to create stunning animations and more action ?! Any suggestions would help here,
    • 


    



    


    We are currently using an FFmpeg to create a video automatically for our users. The videos consists of [images, captions, voiceover, background music, and animations) all generated by our AI tool and put together.

    


    Here's what we want as a video (dynamic, fast paced, and many animations) : https://drive.google.com/file/d/1ONCczJh_Uk9m6oRDPGFQYjJPWUhy8hdV/view?usp=sharing

    


    Here's what we're getting : https://drive.google.com/file/d/1sMKGB88ouTHsEdahc0Zyt8rKEvZWhTco/view?usp=sharing

    


    Thanks for any help here.

    


  • Unable play Audio AC3 in Exoplayer + FFmpeg, i read the guide correctly, should I be wrong ?

    24 mars 2020, par mOsCpU0

    I would like to implement FFmpeg in Exoplayer in my App, in order to read video formats with AC3 Audio track.

    I followed these steps, but I still don’t hear Audio AC3 and I can’t enable Exoplayer to play the audio track via Software.

    I have my code if needed and the guide I used is this :

    https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg

    I hope for your help !

    package com.omegasus_test.myapplication;

    import androidx.appcompat.app.AppCompatActivity;

    import android.app.Dialog;
    import android.net.Uri;
    import android.os.Bundle;
    import android.os.Environment;
    import android.view.View;
    import android.view.Window;
    import android.widget.Button;
    import android.widget.RelativeLayout;
    import android.widget.TextView;
    import android.widget.Toast;

    import com.google.android.exoplayer2.DefaultRenderersFactory;
    import com.google.android.exoplayer2.ExoPlaybackException;
    import com.google.android.exoplayer2.ExoPlayer;
    import com.google.android.exoplayer2.ExoPlayerFactory;
    import com.google.android.exoplayer2.PlaybackParameters;
    import com.google.android.exoplayer2.Player;
    import com.google.android.exoplayer2.Timeline;
    import com.google.android.exoplayer2.source.ExtractorMediaSource;
    import com.google.android.exoplayer2.source.MediaSource;
    import com.google.android.exoplayer2.source.TrackGroupArray;
    import com.google.android.exoplayer2.source.hls.HlsMediaSource;
    import com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection;
    import com.google.android.exoplayer2.trackselection.DefaultTrackSelector;
    import com.google.android.exoplayer2.trackselection.TrackSelection;
    import com.google.android.exoplayer2.trackselection.TrackSelectionArray;
    import com.google.android.exoplayer2.ui.AspectRatioFrameLayout;
    import com.google.android.exoplayer2.ui.SimpleExoPlayerView;
    import com.google.android.exoplayer2.upstream.BandwidthMeter;
    import com.google.android.exoplayer2.upstream.DefaultBandwidthMeter;
    import com.google.android.exoplayer2.upstream.DefaultDataSourceFactory;
    import com.google.android.exoplayer2.util.Util;

    import java.io.File;
    import java.io.FileOutputStream;

    public class MainActivity extends AppCompatActivity {
       String LINK_TO_PLAY="";
       ExoPlayer player;
       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);
           Uri uri=Uri.parse(LINK_TO_PLAY);
           final SimpleExoPlayerView pv=findViewById(R.id.player_view);
           pv.setVisibility(View.GONE);
           pv.setResizeMode(AspectRatioFrameLayout.RESIZE_MODE_FIT);
           BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
           TrackSelection.Factory videoTrackSelectionFactory =new AdaptiveTrackSelection.Factory(bandwidthMeter);
           DefaultTrackSelector trackSelector =new DefaultTrackSelector(videoTrackSelectionFactory);
           trackSelector.setParameters( trackSelector.getParameters().buildUpon().setPreferredAudioLanguage("ita"));
           DefaultRenderersFactory rf = new DefaultRenderersFactory(getApplicationContext()).setExtensionRendererMode(DefaultRenderersFactory.EXTENSION_RENDERER_MODE_PREFER);
           player = ExoPlayerFactory.newSimpleInstance(getApplicationContext(),rf, trackSelector);
           pv.setPlayer(player);
           MediaSource source;
           if(LINK_TO_PLAY.contains("file://")){
               DefaultDataSourceFactory dataSourceFactory = new DefaultDataSourceFactory(getApplicationContext(), Util.getUserAgent(getApplicationContext(), "com.omegasus_test.myapplication"));
               source = new ExtractorMediaSource.Factory(dataSourceFactory).createMediaSource(uri);
           }else if(LINK_TO_PLAY.contains(".m3u8")){
               DefaultDataSourceFactory dataSourceFactory = new DefaultDataSourceFactory(getApplicationContext(),Util.getUserAgent(getApplicationContext(), "com.omegasus_test.myapplication"));
               source = new HlsMediaSource.Factory(dataSourceFactory).createMediaSource(uri);
           }else{
               DefaultDataSourceFactory dataSourceFactory = new DefaultDataSourceFactory(getApplicationContext(),Util.getUserAgent(getApplicationContext(), "com.omegasus_test.myapplication"));
               source = new ExtractorMediaSource.Factory(dataSourceFactory).createMediaSource(uri);
           }
           player.prepare(source);
           player.addListener(new Player.EventListener(){
               public void onSeekProcessed(){}
               public void onPlayerStateChanged(boolean playWhenReady, int playbackState) {
                   if(playbackState == ExoPlayer.STATE_READY){
                       pv.setVisibility(View.VISIBLE);
                       pv.setResizeMode(AspectRatioFrameLayout.RESIZE_MODE_FIT);
                   }else if(playbackState==ExoPlayer.STATE_BUFFERING){
                   }else if(playbackState==ExoPlayer.STATE_ENDED){
                   }
               }
               public void onTimelineChanged(Timeline p1, Object p2, int p3){

               }
               public void onTracksChanged(TrackGroupArray p1, TrackSelectionArray p2){

               }
               public void onShuffleModeEnabledChanged(boolean p1){

               }
               public void onPositionDiscontinuity(int p1){

               }
               public void onPlaybackParametersChanged(PlaybackParameters p1){

               }
               public void onLoadingChanged(boolean p1){

               }
               public void onPlayerError(ExoPlaybackException p1){
                   if(p1.getMessage()==null){
                       Toast.makeText(getApplicationContext(),"Errore sconosciuto",Toast.LENGTH_SHORT).show();
                   }else{
                       Toast.makeText(getApplicationContext(),"Player Error: "+p1.getMessage(),Toast.LENGTH_SHORT).show();
                   }
                   player.setPlayWhenReady(false);
                   player.stop();
                   player.seekTo(0);
                   player.release();
                   finish();
               }
               public void onRepeatModeChanged(int p1){

               }
           });
           player.setPlayWhenReady(true);
       }

    }