Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (105)

  • 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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (11294)

  • FFMPEG version 0.6.5 video rotate

    18 octobre 2017, par Sanjyot Shah

    I am writing a php code to rotate the video using ffmpeg 0.6.5 (This is the version installed on the client’s web-server). Unfortunately, I have not been able to find any documentation for this version of ffmpeg.

    Here is the command for ffmpeg I have written using few references I could find online.

    /usr/bin/ffmpeg -vfilters 'rotate=90' -i /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4 /hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/output.mp4

    The error for this command -

    array(18) [0]=> string(67) "FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers" [1]=> string(74) " built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)" [2]=> string(649) " configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —mandir=/usr/share/man —incdir=/usr/include —disable-avisynth —extra-cflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector —param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC’ —enable-avfilter —enable-avfilter-lavf —enable-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-gpl —enable-nonfree —enable-postproc —enable-pthreads —enable-shared —enable-swscale —enable-vdpau —enable-version3 —enable-x11grab" [3]=> string(35) " libavutil 50.15. 1 / 50.15. 1" [4]=> string(35) " libavcodec 52.72. 2 / 52.72. 2" [5]=> string(35) " libavformat 52.64. 2 / 52.64. 2" [6]=> string(35) " libavdevice 52. 2. 0 / 52. 2. 0" [7]=> string(35) " libavfilter 1.19. 0 / 1.19. 0" [8]=> string(35) " libswscale 0.11. 0 / 0.11. 0" [9]=> string(35) " libpostproc 51. 2. 0 / 51. 2. 0" [10]=> string(135) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/hsphere/local/home/testdomain.com/ffmpeg-php-class-master/examples/media/nsa.mp4’ :" [11]=> string(11) " Metadata :" [12]=> string(26) " major_brand : mp42" [13]=> string(23) " minor_version : 0" [14]=> string(39) " compatible_brands : mp42mp41isomavc1" [15]=> string(60) " Duration : 00:00:11.44, start : 0.000000, bitrate : 2163 kb/s" [16]=> string(124) " Stream #0.0(und) : Video : h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 2160 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc" [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    The main part of the error is the last line - [17]=> string(24) "Unrecognized option ’vfilters’" int(1)

    I have tried using -vf as well instead of vfilters and I get the same error.

    Could someone please help me with any pointers ? I am open to any other technique to rotate video orientation. I have to rotate and save the video in the correct orientation.

    Thank you !

  • What is the right command to convert an mp3 file to the required codec version (MPEG version 2) and bit rate (48 kbps) for Amazon Alexa SSML ?

    1er février 2019, par Asimov4

    I am trying to convert an mp3 file to the format expected by the audio tag in the Amazon Alexa SSML markup language as described here : https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference

    The documentation recommends using https://www.ffmpeg.org/ffmpeg.html

    I tried this command but can’t find the right codec to use :
    ffmpeg -y -i input.mp3 -ar 44100 -ab 48k -codec:a mpeg2 -ac 1 output.mp3

    I know I need to convert the file because Alexa fails with the following error : The audio is not of a supported MPEG version

  • avformat/dashdec : add dash demuxer base version

    9 septembre 2017, par Steven Liu
    avformat/dashdec : add dash demuxer base version
    

    ffmpeg need a dash demuxer for demux the dash formats base on
    https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/000001_add_dash_demux.patch

    TODO :
    1. support multi bitrate dash.

    v2 fixed :
    1. from autodetect to disabled
    2. from camelCase code style to ffmpeg code style
    3. from RepType to AVMediaType
    4. fix variable typo
    5. change time value from uint32_t to uint64_t
    6. removed be used once API
    7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm
    8. merge complex free operation to free_fragment
    9. use API from snprintf to av_asprintf

    v3 fixed :
    1. fix typo from —enabled-xml2 to —enable-xml2

    v4 fixed :
    1. from —enable-xml2 to —enable-libxml2
    2. move system includes to top
    3. remove nouse includes
    4. rename enum name
    5. add a trailing comma for the last entry enum
    6. fix comment typo
    7. add const to DASHContext class front
    8. check sscanf if return arguments and give warning message when error
    9. check validity before free seg->url and seg
    10. check if the val is null, before use atoll

    v5 fixed :
    1. fix typo from mainifest to manifest

    v6 fixed :
    1. from realloc to av_realloc
    2. from free to av_free

    v7 fixed :
    1. remove the -lxml2 from configure when require_pkg_config

    v8 fixed :
    1. fix replace filename template by av_asprintf secure problem

    v9 modified :
    1. make manifest parser clearly

    v10 fixed :
    1. fix function API name code style
    2. remove redundant strreplace call
    3. remove redundant memory operation and check return value from get_content_url()
    4. add space between ) and
    5. remove no need to log the value for print

    v11 fixed :
    1. from atoll to strtoll
    Suggested-by : Michael Niedermayer <michael@niedermayer.cc>

    v12 fixed :
    1. remove strreplace and instead by av_strreplace
    Suggested-by : Nicolas George <george@nsup.org>

    v13 fixed :
    1. fix bug : cannot play :
    http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd
    Reported-by : Andy Furniss <adf.lists@gmail.com>

    v14 fixed :
    1. fix bug : TLS connection was non-properly terminated
    2. fix bug : No trailing CRLF found in HTTP header
    Reported-by : Andy Furniss <adf.lists@gmail.com>

    v15 fixed :
    1. play youtube link : ffmpeg -i $(youtube-dl -J "https://www.youtube.com/watch?v=XmL19DOP_Ls" ; | jq -r ".requested_formats[0].manifest_url")
    2. code refine for timeline living stream
    Reported-by : Ricardo Constantino <wiiaboo@gmail.com>

    v16 fixed :
    1. remove the snprintf and instead by get_segment_filename make safety
    2. remove unnecessary loops
    3. updated xmlStrcmp and xmlFree to av_* functions
    4. merge code repeat into one function
    5. add memory alloc faild check
    6. update update_init_section and open_url
    7. output safety error message when filename template not safe
    Suggested-by : wm4 <nfxjfg@googlemail.com>

    v17 fixed :
    1. add memory alloc faild check
    2. fix resource space error at free_representation

    v18 fixed :
    1. add condition of template format

    v19 fixed :
    1. fix typo of the option describe

    v20 fixed :
    1. add the c->base_url alloc check
    2. make the DASHTmplId same to dashenc

    v21 fixed :
    1. remove get_repl_pattern_and_format and get_segment_filename
    2. process use dashcomm APIs

    v22 fixed :
    1. modify the include "dashcomm.h" to include "dash.h"
    2. use internal API from dash_fill_tmpl_params to ff_dash_fill_tmpl_params

    Signed-off-by : Steven Liu <lq@onvideo.cn>
    Signed-off-by : samsamsam <samsamsam@o2.pl>

    • [DH] configure
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/dashdec.c