Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (75)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7515)

  • Improve hls VOD mode hls performance problem.

    19 août 2018, par Ronak Patel
    Improve hls VOD mode hls performance problem.
    

    This fixes the creation of the hls manifest in hlsenc.c by writing the
    entire manifest at the end for VOD playlists. Live & Event Playlists are unaffected.
    This also fixes the behavior with HLS_TEMP_FILE to work correctly when
    - hlsflags temp_file is specified, instead of always relying on use_rename, which caused these problems.

    Files that would previously take over a week to fragment now take
    1 minute on the same hardware. This was a 153 hour audio file (2.2GB of audio).

    Signed-off-by : Ronak Patel <ronak2121@yahoo.com>

    • [DH] libavformat/hlsenc.c
  • Crontab starts again befor the process of conversion in ffmpeg ends(depending on time supose /2 minutes) How to Control that ?

    18 décembre 2016, par A Sahra

    I am running a bash .sh file every two minutes with crontab. the problem is that when crontab runs bash file the process of ffmpeg video conversion starts,the conversion time varies depending on length of videos, i have set the crontab to run every two minutes. crontab runs again after two minutes before end of ffmpeg conversion.

    How to Figure out :

    control of crontab and conversion process so the crontab doesn’t starts again until process of conversion is not completed.

    #!/bin/bash
    # set PATH to check existance of video file in this directory
    checkfiles=/home/webuser/public_html/shareportal/convert_Up_videos/*
    checkforfiles=/home/webuser/public_html/shareportal/convert_Up_videos
    movetodire=/home/webuser/public_html/shareportal/uploaded_videos/
    conversionprocessdir=/home/webuser/public_html/shareportal/conversion_process/
    movetoArchive=/home/webuser/public_html/shareportal/Video_Archive/
    blockpath=/home/webuser/public_html/shareportal/block.txt
    processid=/home/webuser/public_html/shareportal/processid.txt
    #format of output video file
    webm='webm'
    if [ "$(ls -A $checkforfiles)" ]
    then
    #check directory for files to convert
    for f in $checkfiles
       do  
           fullfilename="$f"
           filename=$(basename "$f")
           filewithoutextforimage="${filename%.*}"
           nametofile=$filewithoutextforimage | cut -c1-10;
           echo $filewithoutextforimage | cut -c1-10 1> $blockpath 2>&amp;1
       filewithoutext="${f%.*}"
       fileextention="${f##*.}"
       image_path='/home/webuser/public_html/shareportal/video_images/'$filewithoutextforimage'.png'
       outputfilename=$conversionprocessdir"$filewithoutextforimage.webm"
       #ffmpeg conversion process starts here
       if (ffmpeg -i "$f" "$outputfilename" 1>> $blockpath 2>&amp;1)
       then
           #Extract Image of video file on provided time stamp
           if (ffmpeg -ss 00:00:06 -i "$f" -vframes:v 1 "$image_path")
           then
               echo "Image Extracted"
           else
               echo "Could not Extract Image"
           fi
           echo "Video Converted";
       else
           echo "Could Not Convert Video"
       fi
       #conversion Ends!!
       mv "$outputfilename" $movetodire
       mv "$fullfilename" $movetoArchive
    done
    else
    echo "File Not Found Directory is empty!!!-----"
    fi
  • How to fix the problem I'm having with FFmpeg ?

    23 février 2023, par John

    I'm working with the ffmpeg library to convert mp4 video files to mp3 audio files.&#xA;Here is my code :

    &#xA;

    package com.exer;&#xA;&#xA;&#xA;import android.app.Activity;&#xA;import android.app.ProgressDialog;&#xA;import android.os.Bundle;&#xA;import android.os.Environment;&#xA;import android.widget.Toast;&#xA;import com.github.hiteshsondhi88.libffmpeg.ExecuteBinaryResponseHandler;&#xA;import com.github.hiteshsondhi88.libffmpeg.FFmpeg;&#xA;import com.github.hiteshsondhi88.libffmpeg.FFmpegLoadBinaryResponseHandler;&#xA;&#xA;public class MainActivity extends Activity {&#xA;    &#xA;    FFmpeg ffmpeg;&#xA;    private ProgressDialog progressDialog;&#xA;    &#xA;    &#xA;    @Override&#xA;    protected void onCreate(Bundle savedInstanceState) {&#xA;        super.onCreate(savedInstanceState);&#xA;        setContentView(R.layout.activity_main);&#xA;    &#xA;        &#xA;        &#xA;        try {&#xA;            setUp();&#xA;            String[] command = {&#xA;                "-i", getPaths()&#x2B;"/dir/input.mp4", "-vn", getPaths()&#x2B;"/dir/output.mp3"&#xA;            };&#xA;            //convert("ffmpeg -i input.mp4 -vn output.mp3");&#xA;            convert(command);&#xA;            &#xA;        } catch (Exception e) {&#xA;            Toast.makeText(getApplicationContext(), e.getCause().toString(), Toast.LENGTH_SHORT).show();&#xA;        }&#xA;    }&#xA;    &#xA;    &#xA;    public void setUp() throws Exception {&#xA;        &#xA;        if(ffmpeg == null) {&#xA;            &#xA;            ffmpeg = FFmpeg.getInstance(this);&#xA;            ffmpeg.loadBinary(new FFmpegLoadBinaryResponseHandler(){&#xA;                    &#xA;            @Override&#xA;            public void onFailure() {&#xA;                Toast.makeText(getApplicationContext(), "failed to load library", Toast.LENGTH_SHORT).show();   &#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onSuccess() {&#xA;                Toast.makeText(getApplicationContext(), "loaded!", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onStart() {&#xA;                        &#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onFinish() {&#xA;                        &#xA;            }&#xA;                    &#xA;                    &#xA;            });&#xA;            &#xA;        }&#xA;        &#xA;    }&#xA;    &#xA;    &#xA;    private void convert(String[] cmd) throws Exception {&#xA;        &#xA;        ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler(){&#xA;            &#xA;            @Override&#xA;            public void onFailure(String message){&#xA;                super.onFailure(message);&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onFinish(){&#xA;                super.onFinish();&#xA;                Toast.makeText(getApplicationContext(), "finished!", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onStart(){&#xA;                super.onStart();&#xA;                Toast.makeText(getApplicationContext(), "start conversion...", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onProgress(String message){&#xA;                super.onProgress(message);&#xA;            }&#xA;        });&#xA;        &#xA;    &#xA;    }&#xA;    &#xA;    private String getPaths() {&#xA;        return Environment.getExternalStorageDirectory().getPath();&#xA;    }&#xA;    &#xA;}&#xA;

    &#xA;

    When I run the app, the Toast messages are shown :

    &#xA;

    loaded!&#xA;start converting...&#xA;finished! as I write them in the functions, apart that nothing else happens the file is not converted what's wrong ?

    &#xA;

    Here my manifest file :

    &#xA;

    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;<manifest package="com.exer">&#xA;    &#xA;    &#xA;    &#xA;    &#xA;    &#xA;        &#xA;            &#xA;                <action></action>&#xA;&#xA;                <category></category>&#xA;            &#xA;        &#xA;    &#xA;&#xA;</manifest>&#xA;

    &#xA;

    I've tried to delete the specified file on the phone to see what erros I might got, but still those three Toasts.

    &#xA;