Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (27)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (7377)

  • How to increase speed of ffmpeg stream when running in cli assuming streaming over network

    28 juin 2020, par VRu11ra

    I'd like to increase the speed of playback so that I can catch up to whatever the newest available audio packet is. Using PulseAudio on archlinux for server, client uses windows although that really shouldn't matter.

    


    Server commands issued :

    


    pactl load-module module-null-sink sink_name=remote
ffmpeg -f pulse -i "remote.monitor" -ac 2 -acodec pcm_s16le -ar 48000 -f s16le "udp://{LAN_IP_OF_CLIENT}:{PORT}"


    


    Client command issued :

    


    ffplay.exe -nodisp -ac 2 -acodec pcm_s16le -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:{PORT}


    


    Current setup is using pavucontrol to put the audio output to the pactl sink from firefox and just keeping the cli application running somewhere. Often times the network is slow, and the audio will grow an increasingly noticable lag behind whatever is onscreen. When I re-execute the commands on both server and client it catches up. If possible I'd like to keep up with whatever's being broadcast- I figure the simplest solution is to nudge the playback speed a little faster than audio is being sent over so that in the mid-long term it will fix itself.

    


    If there's just a way to discard audio packets that aren't the newest ones and jump ahead when possible I'd prefer that as a solution- I know too little about ffmpeg to know if that's possible to do easily.

    


  • Revision 7b7c843870 : Add utiltest target to Makefile. Add target for running tests via make. Runs vp

    22 avril 2014, par Tom Finegan

    Changed Paths :
     Modify /build/make/Makefile


     Modify /libs.mk



    Add utiltest target to Makefile.

    Add target for running tests via make. Runs vpxdec.sh and vpxenc.sh.

    Change-Id : I5fddb7356b6ac37e284b4f15b47310f108ae3da3

  • running ffmpeg command in java Process hangs in waitFor()

    9 juin 2015, par Mahesha M

    I’m running ffmpeg command to generate video for given images (img001.jpg, img002.jpg ...) it’s creating slide.mp4, but it waits infinitely :

    public class Ffmpeg {

    public static void main(String[] args) throws IOException, InterruptedException {
       String path = "E:\\pics\\Santhosh\\FadeOut\\testing";      
       String cmd = "ffmpeg -r 1/5 -i img%03d.jpg -c:v libx264 -r 30 -y -pix_fmt yuv420p slide.mp4";
       runScript (path, cmd);
    }

    private static boolean runScript(String path, String cmd) throws IOException, InterruptedException {      
       List<string> commands = new ArrayList<string>();
       commands.add("cmd");
       commands.add("/c");
       commands.add(cmd);
       ProcessBuilder pb = new ProcessBuilder(commands);
       pb.directory(new File(path));
       pb.redirectErrorStream(true);
       Process process = pb.start();  
       flushInputStreamReader(process);                
       int exitCode = process.waitFor();
       return exitCode == 0;
    }    
    }

    private static void flushInputStreamReader (Process process) throws IOException, InterruptedException {
               BufferedReader input = new BufferedReader(new InputStreamReader(process.getInputStream()));
               String line=null;
               StringBuilder s = new StringBuilder();
               while((line=input.readLine()) != null) {            
                   s.append(line);
               }
           }
    </string></string>

    Any suggestions ?

    After writing the function flushInputStreamReader, its working