Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (14610)

  • 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);
       }

    }
  • 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.

    


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