Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (111)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (15025)

  • ffmpeg poor audio(only) streaming quality ? how to configure

    9 mai 2021, par Tera

    ffmpeg streams audio only with bad quality.. i need better quality, lantency isn't a problem !

    



    im making a discord bot that streams audio from my local input..

    



    i saw the -aq short for -q:audio but changing that doesn't seem to make a diffrence.. im sure 48k samplerate should be plenty.
need stereo channel.

    



    have no idea how to change the bitrate or the compression... maybe that might be the problem ?

    



    using ffmpeg i got it working but i found that the quality isn't perfect..
how do i get loseless audio only ? or is there somthing wrong with my parameters ?

    



      {
    FileName = "ffmpeg.exe",
    Arguments = $"-hide_banner -loglevel panic -f dshow -i audio=\"{Program.AUDIO_DEVICE_NAME}\" -aq 8 -ac 2 -f s16le -ar 48000 pipe:1",
    UseShellExecute = false,
    RedirectStandardOutput = true
  }


    



    expected : close too or lossless quality, high lantency is fine (not more than 10 secs)

    



    reuslt : 8/10 quality and 1.5 sec lantency.. could be better

    



    if ffmpeg isn't the answer to my solution what else can i use ?

    



    edit : found out that the -f s16le is an audio format i tried switching to other pcm with no luck s24le gives me white noise with barely audbile audio
same as s32le ? im using voice meter btw as a virtual input i suspect the low quality is because the format is only 16bit..

    



    edit2 : bitrate other than 48000 seems to dail the songs in diffrent speeds

    


  • ffplay - how to use cmdutil.h

    4 décembre 2018, par Lucker10

    As I get decoding artefacts with a custom ffmpeg player application (ffmpeg stream decoding - artefacts when not using ffplay) while ffplay shows a perfect image without artefacts, I need to implement my player in the same way ffplay does.

    ffplay.c uses an

    AVDictionary *codec_opts;

    which is defined (correct me) in cmdutils.c. I need this dictionary to do the codec initialization analogue to ffplay (line 2615f.), but I dont understand how it is created. Is there a way to

    a) include cmdutils in the same way ffplay does - linking to cmdutils.o in the end gives me in the end

    :-1: error: /.../cmdutils.o: undefined reference to symbol 'swresample_version@@LIBSWRESAMPLE_3'

    although I included libswresample using (QT) :

    LIBS +=-L/usr/local/lib -lavformat -lswscale -lswresample -lavutil -lavcodec

    b) get access to the AVDictionary codec_opts in any other way ?

  • Why this function not working, i am try to add watermark in Video for download [closed]

    13 août 2020, par Ajay Kumar

    I am trying to download Video with watermark but this function not working why

    


    SHOW massege error. Video file exist in temp folder with watermark but not download

    


    Failed to download Video if this function enabled and if disabled Video are download successful

    


    function waterMark($videoURL,$username)
{


    require 'video_editor/vendor/autoload.php';

    $ffmpeg = FFMpeg\FFMpeg::create(array(
        'ffmpeg.binaries'  => ffmpeg_lib,
        'ffprobe.binaries' => ffprobe_lib,
        'timeout'          => 8600, // The timeout for the underlying process
        'ffmpeg.threads'   => 42,   // The number of threads that FFMpeg should use
    ), null);
    $ffmpeg_string = ffprobe_lib;


    $tempFile=rand().time();
    $outputFile='tmp/'.$tempFile.'.mp4';

    $video = $ffmpeg->open($videoURL);

    $watermarkPath = watermark_Path;
    $video
        ->filters()
        ->watermark($watermarkPath, array(
            'position' => 'absolute',
            'x' => 15,
            'y' => 30,
        ));
    $text="@".$username;
    $command = "text='$text': fontcolor=white:fontfile=OpenSans-Bold.ttf: fontsize=18: x=20: y=70:";
    $format = new FFMpeg\Format\Video\X264();
    $format->setAudioCodec("aac");

    try
    {

            $video->filters()->custom("drawtext=$command");
            $video->save($format, $outputFile);

            $array_out = array();
            $array_out[] =
            array(
                "download_url" => checkVideoUrl($outputFile)
            );

            $output=array( "code" => "200", "msg" => $array_out);
            print_r(json_encode($output, true));

    }
    catch(Exception $e)
    {
            echo $e->getMessage();
            die;
    }


}


    


    Please solve this isu

    


    Why this function not working, i am try to add watermark in Video for download