Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (100)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (14416)

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