Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6557)

  • tests/fate/source-check : Relax BSD licence check

    22 mai 2024, par Andreas Rheinhardt
    tests/fate/source-check : Relax BSD licence check
    

    Several files already had standard license header (namely
    2-clause BSD files), yet due to the 80 char line length limit,
    they were not treated as such by source-check.sh (which
    fate-source uses). Therefore relax the BSD check.

    Reviewed-by : Rémi Denis-Courmont <remi@remlab.net>
    Reviewed-by : Pierre-Anthony Lemieux <pal@sandflow.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] tests/fate/source-check.sh
    • [DH] tests/ref/fate/source
  • how to make the script re-ask for the input again after failure ?

    6 avril 2022, par Rami Magdi

    this some script for ffmpeg that i added to windows context menu&#xA;so i just copy paste what i want done&#xA;when this .bat fails [wrong argument for instance ] it closes and i have to restart it&#xA;how to make the script re-ask for the input again after failure ?

    &#xA;

    @echo off&#xA;echo    -------------------------------------------------------------&#xA;echo                             FILTERS&#xA;echo    -------------------------------------------------------------&#xA;echo,&#xA;echo   VERTICAL FLIP=    -lavfi vflip&#xA;echo   HORIZONTAL FLIP=  -lavfi hflip&#xA;echo   NEGAT COLORS=     -lavfi Enegate&#xA;echo   NEGATE LUMINANCE= -lavfi lutyuv=y=negval&#xA;echo   GRAYSCALE=        -lavfi hue=s=0&#xA;echo   ISOLATE COLOR=    -lavfi colorhold=color="orange":similarity=0.29:blend=0&#xA;echo   PS CURVES PRESET= -lavfi curves=psfile=&#x27;MyCurvesPresets/purple.acv&#x27;&#xA;echo   VIGNETTE EFFECT=  -lavfi vignette=PI/4&#xA;echo   LOOKUP TABLE=     -lavfi lut3d=c\\:/nnn/ggg.cube&#xA;echo   SPEED UP OR SLOW DOWN=    -lavfi setpts=PTS/2&#xA;echo   SPEED UP VIDEOS, AUDIOS=  -lavfi "[0:v]setpts=PTS/2[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]"&#xA;echo   REVERSE=     -lavfi reverse&#xA;echo   POSTERIZE=   -lavfi elbg=l=8:n=1&#xA;echo   MOTION BLUR= -lavfi tmix=frames=20:weights="10 1 1"&#xA;echo   HARD SUB=    -lavfi subtitles=s.ass&#xA;echo   SOFT SUB=    -scodec mov_text -metadata:s:s:0 language=eng&#xA;echo   ONE IMAGE=   -lavfi -frames 1&#xA;echo   AN IMAGE EVERY 60 SEC= -lavfi fps=1/60&#xA;echo   ONLY IFRAMES= -skip_frame nokey&#xA;echo   GIF=    -lavfi "fps=10,scale=320:-2:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0&#xA;echo   STACKS= -lavfi "[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]" -map "[v]"&#xA;echo   EMBED THUMBNAIL = -i 1.jpg -map 0:0 -map 0:1 -map 1 -c:0 copy -c:v:1 png -disposition:v:1 attached_pic&#xA;ECHO,&#xA;echo    -------------------------------------------------------------&#xA;echo                             CODEC OPTIONS&#xA;echo    -------------------------------------------------------------&#xA;echo,&#xA;echo   -lavfi "[0:v]scale=-2:720,setpts=PTS/1.5[v];[0:a]atempo=1.5[a]" -map "[v]" -map "[a]" -crf 40 -preset ultrafast&#xA;echo   -map 0 -codec copy&#xA;echo   -acodec copy -vcodec libx264 -vsync cfr -crf 20 -pix_fmt yuv420p -tune film -preset veryfast -movflags &#x2B;faststart&#xA;echo   -acodec aac -ac 2 -ab 128k -ar 44100 / -acodec libmp3lame -ab 320k -ar 44100 -id3v2_version 3 &#xA;echo   -qscale:v 2&#xA;echo,&#xA;

    &#xA;

    the main part :

    &#xA;

    set /P extra="ENTER CODEC OPTIONS="&#xA;&#xA;echo,&#xA;echo Processing "%~nx1"&#xA;echo Output will be "%~n1"_output.mp4"&#xA;ffmpeg -v error -stats -y -i "%~1"  %extra%  "%~n1"_output.mp4&#xA;pause&#xA;

    &#xA;

  • GStreamer encountered a general stream error in Qt5 raspberry pi

    14 décembre 2016, par Myanju

    I’m trying to play a video using QtMediaPlayer in Raspberry pi 2 B. The source code is as follows :

    QMediaPlayer *media;
    QVideoWidget *video;
    ...
    ...
    media = new QMediaPlayer(parent);
    video = new QVideoWidget(parent);
    media->setVideoOutput(video);
    media->setMedia(QUrl::fromLocalFile("/home/pi/Desktop/test3.mp4"));
    media->play();

    But the result is a blank video screen and the following error :

    ** (Bus:2148): WARNING **: ffmpegcolorspace-vo: size 1105920 is not a  
    multiple of unit size 829440
    Error: "GStreamer encountered a general stream error."

    System Information

    Running latest raspbian Jessie OS,
    Installed Qt5.3,
    Installed gstreamer0.10-plugins-good/bad/ugly/ffmpeg and
    Installed Mpeg-2 License

    Here is the video test3.mp4

    I ran this code in Windows with Qt5 installed ; it is working there. But it’s not working in the Raspberry pi. Please tell me what I’m missing here.

    Trying Pipe from Shell

    enter image description here