Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (31)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6443)

  • ffmpeg set watermark using java

    20 mai 2020, par SynixQueen

    I want to add a watermark( like .png) to a video.
This is the way for the command line :

    



    


    ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=1500:1000" output.mp4

    


    



    found >here<

    &#xA;&#xA;

    my Implementation so fairs like that :

    &#xA;&#xA;

    FFmpegResult result = FFmpeg.atPath(Setup.getBin())&#xA;            .addInput(UrlInput.fromPath(inFile.toPath()))&#xA;            .addInput(UrlInput.fromPath(picture.toPath())&#xA;                    .setDuration(10, TimeUnit.SECONDS))         // set duration time&#xA;            .setComplexFilter(FilterGraph.of(&#xA;                    Filter.withName("overlay")&#xA;                    .addArgument("20","20")&#xA;                    .addOutputLink("lowerright")&#xA;            ))&#xA;            .addOutput(UrlOutput.toPath(output.toPath()))&#xA;            .execute();&#xA;

    &#xA;&#xA;

    at the point .setComplexFilter I am unsure I cannot find any sources to get this right atm &#xA;like here >FFmegDokumentation<

    &#xA;&#xA;

    any ideas ?

    &#xA;

  • ffmpeg crashes on crossfades between 3 clips if 2 clips coming from same input file [closed]

    14 avril 2020, par Erik

    I observed that ffmpeg 4.2.2 (macOS) crashes in particular cases of crossfades between clips, if one clip comes from file 1.dv, and two clips are cut out of file 2.dv, as shown below :

    &#xA;&#xA;

    ffmpeg -f lavfi -i color=black:size=720x576:duration=11:rate=25 -i 1.dv -i 2.dv -filter_complex "\&#xA;    [1:v]trim=5:10,setpts=expr=PTS-STARTPTS,yadif,fade=alpha=1:d=2:st=3:type=out,setpts=expr=PTS-STARTPTS,fifo[s5];\&#xA;    [2:v]split=2[s7][s8];\&#xA;    [s7]trim=5:10,setpts=expr=PTS-STARTPTS,yadif,fade=alpha=1:d=2:type=in,fade=alpha=1:d=2:st=6:type=out,setpts=expr=PTS-STARTPTS&#x2B;(3/TB),fifo[s15];\&#xA;    [s8]trim=12:17,setpts=expr=PTS-STARTPTS,yadif,fade=alpha=1:d=2:type=in,setpts=expr=PTS-STARTPTS&#x2B;(6/TB),fifo[s22];\&#xA;    [0:v][s5]overlay=eof_action=repeat[s6];\&#xA;    [s6][s15]overlay=eof_action=repeat[s16];\&#xA;    [s16][s22]overlay=eof_action=repeat[s24];\&#xA;    [1:a]atrim=5:10,asetpts=expr=PTS-STARTPTS[s26];\&#xA;    [2:a]asplit=2[s27][s28];\&#xA;    [s27]atrim=5:10,asetpts=expr=PTS-STARTPTS[s30];\&#xA;    [s28]atrim=12:17,asetpts=expr=PTS-STARTPTS[s33];\&#xA;    [s26][s30]acrossfade=d=2[s31];\&#xA;    [s31][s33]acrossfade=d=2[s36]" \&#xA;     -map "[s24]" -map "[s36]" -ab 128k -acodec aac -crf 23 -movflags faststart -preset medium -tune film -vcodec libx264 -aspect 1024:576 out.mp4 -y&#xA;

    &#xA;&#xA;

    The order makes a difference : if the two clips from 2.dv are used first and then the clip from 1.dv is appended, everything works fine. Also, if all clips are coming from different files.

    &#xA;&#xA;

    ffmpeg 3.4.6 (ubuntu 18.04) shows no issues in any case.

    &#xA;&#xA;

    A self-compiled ffmpeg version N-97322-gb1699f4 (commit 2020-04-13) works with short clips as above, but crashes if one of the two clips taken from 2.dv is getting longer. In my tests 1500 frames (64 sec) is OK, 1700 (68 sec) leads to a segmentation fault. That is, if you replace in the command line above :

    &#xA;&#xA;

      &#xA;
    • [s7]trim=5:10... -> [s7]trim=0:68 and accordingly
    • &#xA;

    • [s27]atrim=5:10... -> [s27]atrim=0:68
    • &#xA;

    &#xA;&#xA;

    Interestingly, the length of the clip taken from 1.dv does not play a role.

    &#xA;&#xA;

    The ffmpeg output shows about 20 times :

    &#xA;&#xA;

    frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x  &#xA;

    &#xA;&#xA;

    before it continues (seg fault case) :

    &#xA;&#xA;

    frame=    4 fps=0.3 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   24 fps=1.6 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   25 fps=1.5 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   34 fps=1.9 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   36 fps=2.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   39 fps=2.1 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   40 fps=2.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   40 fps=2.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   40 fps=1.9 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;&#xA;

    &#xA;&#xA;

    success case :

    &#xA;&#xA;

    frame=    5 fps=0.4 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   42 fps=3.2 q=28.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;frame=   53 fps=3.9 q=28.0 size=       0kB time=00:00:00.36 bitrate=   2.9kbits/s speed=0.0264x    &#xA;frame=   65 fps=4.6 q=28.0 size=       0kB time=00:00:00.84 bitrate=   1.2kbits/s speed=0.0594x &#xA;...   &#xA;

    &#xA;&#xA;

    Slightly older versions included in the newest MacOS builds from zeranoe.com (git-2020-04-13-59e3a9a) and evermeet.cx (N-97308-g14dd0a9057-tessus, from 2020-04-12) are working nicely - also on my production cases (longer clips).

    &#xA;&#xA;

    Any feedback would be appreciated !

    &#xA;

  • VLC - standard output 'dst=-' stopped working

    2 juin 2020, par gdogg371

    Using VLC 3 I had the following command working perfectly a few months back :

    &#xA;&#xA;

    "G:\VLC\vlc" --ffmpeg-hw --avcodec-hw=any dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K&#x2B;)" :dshow-adev="Audio (2- 00 Pro Capture HDMI 4K&#x2B;)" :dshow-threads=8 :dshow-aspect-ratio=16\:9 :dshow-size="3840x2160" :dshow-pixel_format=yuv444p16le :dshow-tune=film :dshow-preset=lossless :dshow-profile=main10 show-vcodec=hevc_nvenc :dshow-fps=50 :dshow-crf=0 :dshow-acodec=mp4a :dshow-stereo-mode=5 :dshow-force-surround-sound=0 :dshow-ab=128 :dshow-samplerate=44100 :no-dshow-config :live-caching=300 --sout "#transcode{venc=ffmpeg,vcodec=mp2v,threads=8,aspect=16:9,width=3840,height=2160,fps=50,acodec=a52,ab=1500,channels=6,samplerate=48000,soverlay}:standard{access=file,dst=-,mux=ts}"&#xA;

    &#xA;&#xA;

    ...however dst=- suddenly seems to be causing a problem. I get the following error :

    &#xA;&#xA;

    -- logger module started --&#xA;main: Running vlc with the default interface. Use &#x27;cvlc&#x27; to use vlc without interface.&#xA;file error: write error: Bad file descriptor&#xA;stream_out_standard error: no suitable sout access module for `file/ts://-&#x27;&#xA;main error: stream chain failed for `transcode{venc=ffmpeg,vcodec=mp2v,threads=8,aspect=16:9,width=3840,height=2160,fps=50,acodec=a52,ab=1500,channels=6,samplerate=48000,soverlay}:standard{access=file,dst=-,mux=ts}&#x27;&#xA;main error: cannot start stream output instance, aborting&#xA;file error: write error: Bad file descriptor&#xA;stream_out_standard error: no suitable sout access module for `file/ts://-&#x27;&#xA;main error: stream chain failed for `transcode{venc=ffmpeg,vcodec=mp2v,threads=8,aspect=16:9,width=3840,height=2160,fps=50,acodec=a52,ab=1500,channels=6,samplerate=48000,soverlay}:standard{access=file,dst=-,mux=ts}&#x27;&#xA;main error: cannot start stream output instance, aborting&#xA;-- logger module stopped --&#xA;

    &#xA;&#xA;

    Previous behaviour observed was that VLC would open and start streaming. The purpose of this exercise is to pipe the VLC output into a PVR called NPVR.

    &#xA;&#xA;

    I have tried uninstalling VLC and downloading a fresh install, but I still have the same issue. Any ideas ?

    &#xA;