Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (77)

  • 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 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • 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 (8080)

  • Installing ffmpeg on elastic beanstalk

    9 décembre 2022, par user3813809

    I am trying to install ffmpeg to elastic beanstalk, I have created config file with below commands-

    



    packages:
  yum:
    ImageMagick: []
    ImageMagick-devel: []
commands:
  01-wget:
    command: "wget -O /tmp/ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz"
  02-mkdir:
    command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
  02-tar:
    command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg"
  04-ln:
    command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg-3.4-64bit-static/ffmpeg /usr/bin/ffmpeg; fi"
  05-ln:
    command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffmpeg-3.4-64bit-static/ffprobe /usr/bin/ffprobe; fi"
  06-pecl:
    command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"


    



    Till 05-ln everything seems to be fine, but on 06-pecl I am getting below error-

    



    [2018-03-08T08:06:29.390Z] INFO  [32014] - [Application update app-f8f2d-180308_133451@78/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_1_FranchiseSoft/Command 06-pecl] : Completed activity. Result:
  PHP Warning:  Module 'imap' already loaded in Unknown on line 0
  /bin/sh: line 0: [: 3.1.2: binary operator expected


    


  • ffplay attempt to subscribe to rtmp server failing with : RTMP_ReadPacket, failed to read RTMP packet header

    8 mars 2018, par johnnydonna

    I have an nginx rtmp server loaded with this docker image : https://github.com/DvdGiessen/nginx-rtmp-docker.

    In general I can stream to it fine with ffmpeg and most of the time connect to the stream fine as well with ffplay. However, for some people, they are unable to subscribe to the RTMP stream at all.

    ffmpeg hosts with this command :

    ffmpeg.exe -f,gdigrab,-framerate,20,-draw_mouse,1,-i,desktop,-c:v,h264_nvenc,-profile:v,main,-delay,0,-preset,default,-rc,vbr,-cq,36,-vf,scale=1024:-2,format=yuv420p,-r,20,-g,40,-y,-f,flv,rtmp://url

    ffplay subscribes with this command :

    ffplay.exe -fflags,nobuffer,-flags,low_delay,-an,-window_title,Screen of User,-framedrop,rtmp://url

    The URL does match the url to which the host is streaming from. What happens is that for about 30 seconds, nothing happens with the following ffplay output :

    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0<br />
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0<br />
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

    which repeats until after a while I get the following error :

    RTMP_ReadPacket, failed to read RTMP packet header

    2018/mm/dd 12:--:--:-- [web] rtmp://url: Invalid data found when processing input

    I tried doing what this recommended in regards to the NGINX server setup here : https://github.com/arut/nginx-rtmp-module/issues/1039, setting my worker_processes to 1 which did not change anything.

    It seems like it may just be ffplay timing out but I cannot tell why it occurs only for a few users and not widely. If it is ffplay timing out, what can be done to fix the problem ? It doesn’t seem like an internet speed issue, as these subscribers have pretty good internet. I cannot replicate across different machines, only those few who have continued to have this problem. Any and all help would be appreciated !

  • ffmpeg error on AWS lambda

    13 mars 2018, par anarchos78

    I’m trying to convert a jpg image to mp4 and transcode a mp4 file with ffmpeg on AWS lambda.

    For the first task I issue the following :

    ffmpeg -y -f lavfi -i anullsrc -loop 1 -framerate 30 -i test.jpg -t 2 -pix_fmt yuv420p -vf scale=640:480 -c:v libx264 -profile:v baseline -level 3.0 -c:a aac -map 0:a -map 1:v -strict -2 -preset ultrafast /tmp/jpg_output.mp4

    and for the second :

    ffmpeg -i /var/task/test.mp4 -c:v libx264 -c:a copy -strict -2 -v 9 -preset ultrafast -y /tmp/output.mp4

    The funny thing is that the aforementioned tasks (jpg conversion and video transcoding) complete successfully, both locally and on AWS lambda, but I’m getting the below error messages :

    Locally : "err : ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers"

    AWS LAMBDA : "err : ffmpeg version N-89977-gddd851f7cb-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers"

    Additionally, on AWS Lambda, the function exits with error, which results in re-execution of the function.

    I searched for solutions to no avail. Any suggestions ?