Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (45)

  • 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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6190)

  • broken ffmpeg default settings detected

    4 octobre 2023, par Ramakrishna

    I am getting broken ffmpeg error while VideoWrite using X264 Fourcc codec.I have install all the dependencies.How can I rectify this problem.The sample code that I have been using is as follows.

    



    VideoWriter oVideoWriter ("path.mp4", CV_FOURCC('X','2','6','4'), 15, frameSize, false);


    



    Operating system : Ubuntu 14.04 64-bit

    



    Console Error :

    



    [libx264 @ 0x8d6220] broken ffmpeg default settings detected&#xA;[libx264 @ 0x8d6220] use an encoding preset (e.g. -vpre medium)&#xA;[libx264 @ 0x8d6220] preset usage: -vpre <speed> -vpre <profile>&#xA;[libx264 @ 0x8d6220] speed presets are listed in x264 --help&#xA;[libx264 @ 0x8d6220] profile is optional; x264 defaults to high&#xA;Could not open codec &#x27;libx264&#x27;: Unspecified errorOpenCV Error: Unsupported format or combination of formats (Your version of Gstreamer doesn&#x27;t support this codec acutally or needed plugin missing.) in CvVideoWriter_GStreamer::open, file /home/mbox140/Development/opencv-2.4.9/modules/highgui/src/cap_gstreamer.cpp, line 518&#xA;terminate called after throwing an instance of &#x27;cv::Exception&#x27;&#xA;  what():  /home/mbox140/Development/opencv-2.4.9/modules/highgui/src/cap_gstreamer.cpp:518: error: (-210) Your version of Gstreamer doesn&#x27;t support this codec acutally or needed plugin missing. in function CvVideoWriter_GStreamer::open&#xA;</profile></speed>

    &#xA;&#xA;

    Suggest me any solution for this.

    &#xA;

  • What is the proper input format for drawtext's timecode option in fluent-ffmpeg (node.js) ?

    24 janvier 2023, par Gil Dekel

    I am trying to generate short video clips from 3 images with a simple millisecond counter at the top left per user request. So far I was able to generate the clips using the videoshow npm lib, no issues here.

    &#xA;&#xA;

    However, when I try to add the timer via fluent-ffmpeg's drawtext filter to an already generated video, I run into the following issue.

    &#xA;&#xA;

    Here's what I have so far :

    &#xA;&#xA;

    ffmpeg(&#x27;video.mp4&#x27;)&#xA;    .on(&#x27;error&#x27;, function(err, stdout, stderr) {&#xA;      console.log("ffmpeg stdout:\n" &#x2B; stdout);&#xA;      console.log("ffmpeg stderr:\n" &#x2B; stderr);&#xA;    })&#xA;    .videoCodec(&#x27;libx264&#x27;)&#xA;    .format(&#x27;mp4&#x27;)&#xA;    .fps(fps)&#xA;    .complexFilter([&#xA;        {&#xA;            filter: &#x27;drawtext&#x27;,&#xA;            options: {&#xA;                fontsize: 15,&#xA;                timecode: &#x27;00\:00\:00\:00&#x27;,  //&lt;--- Issue is most likely here&#xA;                fontsize: 32,&#xA;                fontcolor: &#x27;white&#x27;,&#xA;                boxcolor: &#x27;black&#x27;,&#xA;                box: 1&#xA;            }&#xA;        }&#xA;    ]).save(&#x27;out.mp4&#x27;);&#xA;

    &#xA;&#xA;

    From what I found online I am quite convinced that my problem is with the timecode input format. Here's my error log :

    &#xA;&#xA;

    ffmpeg stderr:&#xA;ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers&#xA;  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-nonfree&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;video.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf57.83.100&#xA;  Duration: 00:00:01.03, start: 0.000000, bitrate: 585 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x1136 [SAR 923:924 DAR 130:231], 573 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;[Parsed_drawtext_0 @ 0x7f91aa700700] Both text and text file provided. Please provide only one&#xA;[AVFilterGraph @ 0x7f91aa700440] Error initializing filter &#x27;drawtext&#x27; with args &#x27;fontsize=32:timecode=00:00:00:00:fontcolor=white:boxcolor=black:box=1&#x27;&#xA;Error initializing complex filters.&#xA;Invalid argument&#xA;

    &#xA;&#xA;

    Specifically this :

    &#xA;&#xA;

    [Parsed_drawtext_0 @ 0x7f91aa700700] Both text and text file provided. Please provide only one&#xA;

    &#xA;&#xA;

    When I run what should be the equivalent to my code in shell, it works perfectly :

    &#xA;&#xA;

    ffmpeg -i video.mp4 \&#xA;       -vf drawtext="fontsize=15:timecode=&#x27;00\:00\:00\:00&#x27;:rate=60:fontsize=32:fontcolor=&#x27;white&#x27;:\&#xA;           boxcolor=0x000000AA:box=1" \&#xA;       -f mp4 out.mp4&#xA;

    &#xA;&#xA;

    I already spent a whole day trying to find any previous solutions to this problem, or documentation online regarding the proper format of drawtext's timecode option within node.js with no luck. It seems most of the information out there is for bash/shell use. I need to do this programmatically on a server per request, and I just can't find the right example to solve this.

    &#xA;&#xA;

    Any help to resolve this would be appreciated.

    &#xA;

  • Im getting error "deprecated pixel format used, make sure you did set range correctly using ffmpeg".. can someone check my code below ?

    6 avril 2021, par Mavs Mavs

    This is my code using ffmpeg I want to have video thumbnail but I'm not familiar in ffmpeg can someone know the error I got.

    &#xA;

    [swscaler @ 0x7ff8da028c00] deprecated pixel format used, make sure you did set range correctly&#xA;Output #0, mjpeg, to &#x27;image.jpg&#x27;:&#xA;Metadata:&#xA;major_brand     : mp42&#xA;minor_version   : 0&#xA;compatible_brands: isommp42&#xA;encoder         : Lavf56.36.100&#xA;Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 320x240 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)&#xA;Metadata:&#xA;  creation_time   : 2016-11-06 09:40:22&#xA;  handler_name    : ISO Media file produced by Google Inc.&#xA;  encoder         : Lavc56.41.100 mjpeg&#xA;Stream mapping:&#xA;Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))&#xA;Press [q] to stop, [?] for help&#xA;frame=    1 fps=0.0 q=4.8 Lsize=      16kB time=00:00:01.00 bitrate= 129.5kbits/s    &#xA;video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%&#xA;

    &#xA;

    Also This is my code :

    &#xA;

    $video_url =&#x27;https://URL/upload/4b8acab123563649f19e07450d810df6.mp4&#x27;;&#xA;&#xA;$ffmpeg = &#x27;/opt/local/bin/ffmpeg&#x27;;&#xA;$image = &#x27;image.jpg&#x27;;&#xA;$interval = 5;&#xA;$size = &#x27;320x240&#x27;;&#xA;shell_exec($tmp = "$ffmpeg -i $video_url -deinterlace -an -ss $interval -f mjpeg -t 1 -r 1 -y -s $size $image 2>&amp;1");  &#xA;

    &#xA;