Recherche avancée

Médias (91)

Autres articles (43)

  • 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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (4716)

  • Ruby gem to transcode video on the fly

    28 novembre 2013, par Erick

    I am looking to create myself a little media server (read : little pet project for fun) at home.

    Is there any gem that would allow me to transcode on the fly and stream ?

    I know rvideo wraps ffmpeg but it's a one time thing. The only thing I could do is to transcode to a temp file and then stream that file. It doesn't sound like the idea solution.

    Anyone has done this in the past ?

    [edit] Looking to transcode anything (avi, xvid, divx, mkv, mpeg, flv) into mpeg4 to permit a normal html5 video player to do the job.

  • ffmpeg & png watermark issue

    2 décembre 2013, par mindcast

    I tried to create a watermark (using a png image) on a video like this :

    ffmpeg -i test.wmv -b:a 300k -ar 22050 -t 10 -f flv -s 352x288 -vf "movie = watermark_logo352.png [watermark]; [in][watermark] overlay =0:0 [out]" out.flv

    but I get the error :

    ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
    built on Jun 14 2012 13:14:31 with gcc 4.4.5   configuration:
    --prefix=/home/username --enable-cross-compile --enable-shared --arch=amd64 --target-os=linux --disable-yasm --enable-decoder=png --enable-encoder=png  
           libavutil      51. 35.100 / 51. 35.100  
           libavcodec     53. 61.100 / 53. 61.100  
           libavformat    53. 32.100 / 53. 32.100  
           libavdevice    53.  4.100 / 53.  4.100  
           libavfilter     2. 61.100 /  2. 61.100  
           libswscale      2.  1.100 /  2.  1.100  
           libswresample   0.  6.100 /  0.  6.100
           Input #0, asf, from 'test.wmv':  
           Metadata:
               >     WMFSDKVersion   : 9.00.00.2980
               >     WMFSDKNeeded    : 0.0.0.0000
               >     IsVBR           : 1
               >     VBR Peak        : 351
               >     Buffer Average  : 728   Duration: 00:00:05.59, start: 0.000000, bitrate: 574 kb/s
               >     Stream #0:0(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 22050 Hz, 2 channels, s16, 32 kb/s
               >     Stream #0:1(jpn): Video: wmv1 (WMV1 / 0x31564D57), yuv420p, 352x288, 520 kb/s, SAR 8:9 DAR 88:81, 29.97 tbr, 1k tbn, 1k tbc File
               > 'out2.flv' already exists. Overwrite ? [y/N] y w:352 h:288
               > pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param:
       [image2 @ 0x551f880] decoding for stream 0 failed
       [image2 @ 0x551f880] Could not find codec parameters (Video: png)
       [movie @ 0x551f440] Failed to find stream info
       [movie @ 0x551f440] Failed to find any codec
       Error initializing filter 'movie' with args 'watermark_logo352.png'
       Error opening filters!

    When I use a jpg, it works like a charm.

    I'm use ffmpeg v 0.10.4 on Debian 6 Squeeze.
    Any help would be much appreciated.

    EDIT

    The problem is simpler than i thought. If i use ffmpeg -i with any png image i get a similar error :

     libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    [image2 @ 0xc8b73a0] decoding for stream 0 failed
    [image2 @ 0xc8b73a0] Could not find codec parameters (Video: png)
    watermark.png: could not find codec parameters
  • Can't find preset files

    1er juin 2012, par Bilthon

    this is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the command something like 'commands.getstatusoutput(command)' so I was not sure who the user was.

    The solution ? I just used -fpre and my call now looks like this :

    /usr/local/bin/ffmpeg -i ../files/tmpvideos/myStream.flv -y -acodec libfaac -ab 96k -b 800k -maxrate 800k -minrate 600k -bufsize 800k -s 720x640 -vcodec libx264 -g 300 -r 20 -fpre /home/admin/.ffmpeg/libx264-hq.ffpreset -threads 0 ../files/tmpvideos/4647-60.mp4

    I created that directory under /home/admin and am 100% sure that there the file is there now, but still ffmpeg says :

    File for preset '/home/admin/.ffmpeg/libx264-hq.ffpreset' not found

    So I'm not sure why is it not working since I'm specifying the complete path now. Any ideas ?

    One reason that I'm thinking of, is that it maybe was not compiled correctly, like with all the flags and stuff. What I mean is that while some outputs out there looked like this :

    FFmpeg version SVN-r22976, Copyright (c) 2000-2010 the FFmpeg developers
     built on Apr 30 2010 12:03:12 with gcc 4.2.1-sjlj (mingw32-2)
     configuration: --enable-shared --enable-static --enable-memalign-hack
    --enable
    -libmp3lame --enable-libx264 --enable-gpl
     libavutil     50.14. 0 / 50.14. 0
     libavcodec    52.66. 0 / 52.66. 0
     libavformat   52.61. 0 / 52.61. 0
     libavdevice   52. 2. 0 / 52. 2. 0
     libswscale     0.10. 0 /  0.10. 0

    mine looks more like this :

    Output: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
     built on Nov 12 2010 16:32:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
     configuration:
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libswscale     0.11. 0 /  0.11. 0

    No configuration stuff. What do u think ? could be that this ffmpeg was not compiled correctly so it will never find the presets ? I didn't compile it, so can't be sure.

    Thanks and sorry for the verbosity of the question.

    Nelson