Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (17)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6197)

  • how do i install pyffmpeg on windows 10

    17 avril 2016, par killer

    can anyone point me in the right direction in getting pyffmpeg installed on my windows 10 computer. I seem to be having quite a bit of trouble. is cython required for this ? please all input is appreciated.

    **update I installed cython and it got stuck on setup.py

    it gets stuck installing on line 84

    Traceback (most recent call last):
     File ".\setup.py", line 84, in <module>
    incdir = incdir + list(nd.get_numpy_include_dirs())
    TypeError: cannot concatenate 'str' and 'list' objects
    </module>

    the ffmpeg version is ffmpeg-20160415-git-21acc4d-win32-static

    I did change the filepath for it as well

  • Nginx exec_static reconnect

    12 avril 2016, par Nacsster

    Recently I have installed Nginx with rtmp module and ffmpeg

    I have a few commands like this on my nginx.conf

    exec_static ffmpeg -i http://xxxx.m3u8 -threads 1 -c:v libx264 -profile:v baseline -b:v 370K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://xx.xxx.xx.xx/mobile/nameofstream;

    It transcode the input to low bitrate and all works fine =)

    This is the question :
    Every time I restart my nginx server it executes the commands correctly but (I think) if the stream (m3u8 input) is down, ffmpeg doesn’t wait for a future "input up again", just ignore.
    I try with -re command on ffmpeg but it doesn’t work !

    Any help ? Maybe do I need some bash routine ?

  • ffmepg suddently stopped working

    30 octobre 2013, par jdartland

    Hi Im using ffmpeg jwplayer to handle my video uploads. It worked just fine untill I added a video upload to a new model. My video files gets uploaded to the database but i can't play them in my jwplayer. I also noticed that ffmpeg converts files to avi eaven though I've specifyed it in both of my models to convert files into flv.

    Here is my javascrip "error" :

    Error loading player:
    No playable sources found.

    My models, tabels and vews shuld work cus I haven't changed anything in my old working post module.

    Here is whats happening in the upload :

    Started PATCH "/posts/dsdsdsdsd" for 127.0.0.1 at 2013-10-30 15:37:53 +0100
    Processing by PostsController#update as HTML
     Parameters: {"utf8"=>"✓", "authenticity_token"=>"4Xp=", "post"=>{"title"=>"dsdsdsdsd", "content"=>"sdsdsdsdsd", "photo_delete"=>"0", "video_delete"=>"0", "video"=>#, @original_filename="Drossel_10bar__Pressure_inner_wall.avi", @content_type="video/x-msvideo", @headers="Content-Disposition: form-data; name=\"post[video]\"; filename=\"Drossel_10bar__Pressure_inner_wall.avi\"\r\nContent-Type: video/x-msvideo\r\n">}, "commit"=>"Update Post", "id"=>"dsdsdsdsd"}
     Admin Load (0.9ms)  SELECT "admins".* FROM "admins" WHERE "admins"."id" = 1 ORDER BY "admins"."id" ASC LIMIT 1
     Post Load (0.5ms)  SELECT "posts".* FROM "posts" WHERE "posts"."permalink" = &#39;dsdsdsdsd&#39; ORDER BY created_at desc LIMIT 1
      (0.2ms)  BEGIN
    [paperclip] [ffmpeg] ffmpeg -i "/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt7.avi" 2>&amp;1
    [paperclip] [ffmpeg] Command Success
    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: &#39;Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt7&#39; + &#39;flv&#39;
    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Resize
    [paperclip] [ffmpeg] Convert Options: 400x234
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -i :source -s 400x234 -y :dest
    Command :: ffmpeg -i &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt7.avi&#39; -s 400x234 -y &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt720131030-6965-1fv54qn.flv&#39;
    ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
     built on Apr  2 2013 17:02:36 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, avi, from &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt7.avi&#39;:
     Metadata:
       encoder         : Lavf52.64.2
     Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
       Stream #0.0: Video: mjpeg, yuvj422p, 1588x936, 15 tbr, 15 tbn, 15 tbc
    Incompatible pixel format &#39;yuvj422p&#39; for codec &#39;flv&#39;, auto-selecting format &#39;yuv420p&#39;
    [buffer @ 0xdcd280] w:1588 h:936 pixfmt:yuvj422p
    [scale @ 0xdcd7c0] w:1588 h:936 fmt:yuvj422p -> w:400 h:234 fmt:yuv420p flags:0x4
    Output #0, flv, to &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt720131030-6965-1fv54qn.flv&#39;:
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0: Video: flv, yuv420p, 400x234, q=2-31, 200 kb/s, 1k tbn, 15 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    frame=  451 fps=118 q=2.2 Lsize=     962kB time=30.07 bitrate= 262.1kbits/s    
    video:955kB audio:0kB global headers:0kB muxing overhead 0.759673%
    [paperclip] [qtfaststart] :source :dest
    Command :: qt-faststart &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt720131030-6965-1fv54qn.flv&#39; &#39;/tmp/Drossel_10bar__Pressure_inner_wall20131030-6965-14cqqt720131030-6965-1fv54qn20131030-6965-1a8cksd.flv&#39;
     Post Exists (0.7ms)  SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = &#39;dsdsdsdsd&#39; AND "posts"."id" != 37) LIMIT 1
     SQL (0.7ms)  UPDATE "posts" SET "video_file_name" = $1, "video_content_type" = $2, "video_file_size" = $3, "video_updated_at" = $4, "updated_at" = $5 WHERE "posts"."id" = 37  [["video_file_name", "Drossel_10bar__Pressure_inner_wall.avi"], ["video_content_type", "video/x-msvideo"], ["video_file_size", 41766866], ["video_updated_at", Wed, 30 Oct 2013 14:37:53 UTC +00:00], ["updated_at", Wed, 30 Oct 2013 14:37:57 UTC +00:00]]
      (102.0ms)  COMMIT
    Redirected to http://0.0.0.0:3000/posts/dsdsdsdsd
    Completed 302 Found in 4078ms (ActiveRecord: 105.0ms)


    Started GET "/posts/dsdsdsdsd" for 127.0.0.1 at 2013-10-30 15:37:57 +0100
    Processing by PostsController#show as HTML
     Parameters: {"id"=>"dsdsdsdsd"}
     Post Load (0.5ms)  SELECT "posts".* FROM "posts" WHERE "posts"."permalink" = &#39;dsdsdsdsd&#39; ORDER BY created_at desc LIMIT 1
     Admin Load (0.4ms)  SELECT "admins".* FROM "admins" WHERE "admins"."id" = 1 ORDER BY "admins"."id" ASC LIMIT 1
     Rendered posts/show.html.erb within layouts/application (4.3ms)
    Completed 200 OK in 17ms (Views: 14.3ms | ActiveRecord: 0.9ms)