Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (67)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9379)

  • How to fix call lib ffmpeg by c#

    20 février 2017, par Thang Tran

    string _a= -i "D:_InputFolder\Jamaican man talking the truth about #zika virus.mp4" -filter_complex "[0:a]atempo=0.9,volume=1.6,asetrate=r=44100*33.6/30,atempo=30/33.6,highpass=f=400,lowpass=f=4100,earwax,biquad,compensationdelay,equalizer=f=222:width_type=o:width=2:g=5,equalizer=f=444:width_type=h:width=220:g=5 ; setpts=PTS/0.9" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1400k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -metadata title="" -metadata artist="" -metadata album_artist="" -metadata album="" -metadata date="" -metadata track="" -metadata genre="" -metadata publisher="" -metadata encoded_by="" -metadata copyright="" -metadata composer="" -metadata performer="" -metadata TIT1="" -metadata TIT3="" -metadata disc="" -metadata TKEY="" -metadata TBPM="" -metadata language="eng" -metadata encoder="" -threads 0 -preset superfast "D:_OutputFolder\videoOutput.mp4"

    -----------this is the code goi goi sua sound in c # error

    string _b= -i "D:_InputFolder\Jamaican man talking the truth about #zika virus.mp4" -acodec pcm_u8 -ar 22050 "D:_OutputFolder\videoOutput.wav"
    — with code editing video style is back.

    file class run ffmpeg
    call c# :
    string _result = ffmpeg.RunCommand(_b) ;//wordless

    string _result2 = ffmpeg.RunCommand(_a) ;//error

    file class call ffmpeg :

    -file project demo error :
    https://drive.google.com/open?id=0B9dxSeLrFswjVmNGd1IzcUpncE0

    thank you and sorry if my english is the poor

  • FFmpeg remove background of video with no black outline

    26 février 2024, par Duc Pham The

    Im using this ffmpeg command to overlay a video on video(with remove black background)

    


    ffmpeg -i /home/ducpt/bunny.mp4 -i overlay_video.mp4 -filter_complex "[1:v]colorkey=0x000000:0.1:0.1[ckout];[0:v][ckout]overlay=enable='between(t,0, 4)':format=rgb[out]" -map '[out]' output.mp4


    


    I used filter_complex "colorkey 0x000000:0.1:0.1" to remove background of overlay video but result have a black outline.

    


    This is screenshot of video overlay original
Overlay Original

    


    And this is result

    


    enter image description here

    


    I tried to use unpremultiply=inplace=1 to remove black outline but not working

    


    ffmpeg -i /home/ducpt/bunny.mp4 -i overlay_video.mp4 -filter_complex "[1:v]colorkey=0x000000:0.1:0.1[ckout];[ckout]unpremultiply=inplace=1 [ckout2];[0:v][ckout2]overlay=enable='between(t,0, 4)':format=rgb[out]" -map '[out]' output.mp4


    


    Please help me remove black outline :(

    


    Sorry for my bad English !

    


  • How to optimize FFMPEG/ Editing video ?

    6 mars 2016, par user6964

    I have the next commands for editing video but all the process take a long time. But with the same quality of the original video.

    //First cut original video
    exec("ffmpeg -i $video_path_main -ss $first_time1 -t $first_time2 -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 1 -strict -2 $name_first");
    exec("ffmpeg -i $video_path_main -ss $second_time1 -t $second_time2 -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 1 -strict -2 $name_second");

    $name_edit_second = uniqid() . '.mp4'; //Then editing the second video
    exec("ffmpeg -i $name_second -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 1 -strict -2 -vf movie='" . $image_name . " [watermark]; [in] [watermark] overlay=308:43"."' $name_edit_second");

    //Then merge video file mp4 with Mencoder
    $name_total_1 = uniqid() . '.mp4';
    exec("mencoder -oac pcm -ovc xvid -vf scale -xvidencopts bitrate=460 -o $name_total_1 ".$name_first.' '.$name_edit_second);

    //Then convert the video to 3 formats that is necessary in my Player.
    $name_total = uniqid();

    //Of MP4 a FLV
    exec("ffmpeg -i $name_partial -f flv -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 1 $name_total.flv");

    //Of MP4-Mencoder a MP4-FFMPEG
    exec("ffmpeg -i $name_partial -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 1 -strict -2 $name_total.mp4"));

    //Of MP4 a WEBM
    exec("ffmpeg -i $name_partial -acodec libvorbis -s 476x268 -r 10 -b 2000k -r 30 -g 100 -ar 22050 -ab 48000 -ac 2 -f webm $name_total.webm");

    I don’t know if some of parameters take much time for all the process. Or if one of this command take much time.

    Note : Some videos have more than 2 parts of their original videos.


    UPDATE

    Maybe the parameter -theards 1 help me in NO take a lot of resources of the CPU. Also, I need to optimize the re-encoding because with only 8 users take the 100% of resources.

    I run FFMPEG in a other server that return the video edited to other server where stay my application.

    Sorry for my english.