Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (49)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (9382)

  • Evolution #3924 : Changer #FILE dans la boucle DATA source ls pour mettre le chemin complet

    28 février 2018, par BoOz -

    sauf cas particulier où ^v est un dir

    Le #FILE d’un répertoire serait alors avec un / à la fin. Ca va ? ou je vire le / ?

    2018-02-28 17:33:25 - File : IMG/gif/ - basename : gif

  • merge video of images(without audio) to another video(with audio) through ffmpeg in android

    28 février 2018, par Raghav Sharma

    I am using the below qwery for creating video from image

    String imageToVideo[]={"-loop","1","-i",picturePath,"-pix_fmt","yuv420p","-t","6",VideoSavePath};

    successfully created video and then i merge created video to another video but getting issue

    below is the command for merging two videos

    VideoSavePath — created video from image

    secondVideoPath — path of some random video

    String VidCommand[]={"-y","-i",VideoSavePath ,"-i", secondVideoPath, "-filter_complex","[0:0][1:0]concat=n=2:v=1:a=0", bothMerge}

    But now i am stuck with this error :

    Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.829 9364-9364/com.demovideomerge D/MainActivity : progress : libavutil 55. 17.103 / 55. 17.103
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity : progress : libavcodec 57. 24.102 / 57. 24.102
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : progress : libavformat 57. 25.100 / 57. 25.100
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.832 9364-9364/com.demovideomerge D/MainActivity : progress : libavdevice 57. 0.101 / 57. 0.101
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : progress : libavfilter 6. 31.100 / 6. 31.100
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : progress : libswscale 4. 0.100 / 4. 0.100
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : progress : libswresample 2. 0.101 / 2. 0.101
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity : progress : libpostproc 54. 0.100 / 54. 0.100
    02-27 21:14:57.857 9364-9389/com.demovideomerge V/RenderScript : Application requested CPU execution
    02-27 21:14:57.900 9364-9389/com.demovideomerge V/RenderScript : 0xb772e190 Launching thread(s), CPUs 4
    02-27 21:14:57.945 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.947 9364-9364/com.demovideomerge D/MainActivity : progress : Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Movies/Merge_Video5.mp4’ :
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity : progress : major_brand : isom
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity : progress : minor_version : 512
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity : progress : compatible_brands : isomiso2avc1mp41
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity : progress : encoder : Lavf57.25.100
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity : progress : Duration : 00:00:06.00, start : 0.000000, bitrate : 80 kb/s
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.962 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : VideoHandler
    02-27 21:14:58.318 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.321 9364-9364/com.demovideomerge D/MainActivity : progress : Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’ :
    02-27 21:14:58.322 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity : progress : major_brand : mp42
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.325 9364-9364/com.demovideomerge D/MainActivity : progress : minor_version : 0
    02-27 21:14:58.326 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity : progress : compatible_brands : isommp42
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.329 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.331 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.333 9364-9364/com.demovideomerge D/MainActivity : progress : Duration : 00:00:05.59, start : 0.000000, bitrate : 8748 kb/s
    02-27 21:14:58.334 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.338 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    02-27 21:14:58.339 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity : progress : rotate : 90
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.342 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.343 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.344 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : VideoHandle
    02-27 21:14:58.345 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity : progress : encoder : MOTO
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity : progress : Side data :
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.350 9364-9364/com.demovideomerge D/MainActivity : progress : displaymatrix : rotation of -90.00 degrees
    02-27 21:14:58.351 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #1:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.362 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.363 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.365 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : SoundHandle
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity : progress : [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity : progress : [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity : progress : Error configuring complex filters.
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.377 9364-9364/com.demovideomerge D/MainActivity : progress : Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity : FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (GCC)
    configuration : —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=
    libavutil 55. 17.103 / 55. 17.103
    libavcodec 57. 24.102 / 57. 24.102
    libavformat 57. 25.100 / 57. 25.100
    libavdevice 57. 0.101 / 57. 0.101
    libavfilter 6. 31.100 / 6. 31.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Movies/Merge_Video5.mp4’ :
    Metadata :
    major_brand : isom
    minor_version : 512
    compatible_brands : isomiso2avc1mp41
    encoder : Lavf57.25.100
    Duration : 00:00:06.00, start : 0.000000, bitrate : 80 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’ :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : isommp42
    creation_time : 2018-02-09 14:34:30
    Duration : 00:00:05.59, start : 0.000000, bitrate : 8748 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    Metadata :
    rotate : 90
    creation_time : 2018-02-09 14:34:30
    handler_name : VideoHandle
    encoder : MOTO
    Side data :
    displaymatrix : rotation of -90.00 degrees
    Stream #1:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata :
    creation_time : 2018-02-09 14:34:30
    handler_name : SoundHandle
    [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    Error configuring complex filters.
    Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity : Finished command : ffmpeg [Ljava.lang.String ;@8061ebb

    Any help would be appreciated. I am badly stuck in this. Thanks in Advance.

  • Using ffmpeg to generate dash manifest and it cannot be played by dash.js

    18 mars 2019, par Punkhead

    I’m using ffmpeg to encode incoming stream via rtmp protocol, the code as following :

    ffmpeg -re -i rtmp://localhost:1935${StreamPath} -use_timeline 1 /
    -use_template 1 -window_size 10 -min_seg_duration 5000 -f dash out.mpd

    The manifest looks like this :

    <?xml version="1.0" encoding="utf-8"?>
    <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M36.4S" minbuffertime="PT8.3S">
       <programinformation>
       </programinformation>
       <period start="PT0.0S">
           <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true" framerate="30/1">
           <representation mimetype="video/mp4" codecs="avc1.640028" width="1920" height="1080" framerate="30/1">
               <segmenttemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="4">
                   <segmenttimeline>
                       <s t="384000" d="128000"></s>
                       <s d="71680"></s>
                       <s d="128000" r="4"></s>
                       <s d="56832"></s>
                       <s d="128000"></s>
                       <s d="72704"></s>
                   </segmenttimeline>
               </segmenttemplate>
           </representation>
       </adaptationset>
       <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
           <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="44100">
               <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
               <segmenttemplate timescale="44100" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="4">
                   <segmenttimeline>
                       <s t="1099755" d="367616"></s>
                       <s d="205824"></s>
                       <s d="367616" r="4"></s>
                       <s d="162816"></s>
                       <s d="367616"></s>
                       <s d="207872"></s>
                   </segmenttimeline>
               </segmenttemplate>
           </representation>
       </adaptationset>
    </period>
    </mpd>

    When I try to play it on dash.js player, a error occured :

    [112] Parsing complete: ( xml2json: 3.50ms, objectiron: 1.76ms, total: 0.00526s) Debug.js:127
    [116] SegmentTimeline detected using calculated Live Edge Time Debug.js:127
    [118] MediaSource attached to element.  Waiting on open... Debug.js:127
    [119] Manifest has been refreshed at Tue Jan 02 2018 01:57:35 GMT+0800 [1514829455.1] Debug.js:127
    [155] MediaSource is open! Debug.js:127
    [156] Duration successfully set to: 96.4 Debug.js:127
    [157] Added 0 inline events Debug.js:127
    [158] video codec: video/mp4;codecs="avc1.640028" Stream.js:225
    Uncaught TypeError: Cannot read property 'type' of null
       at z (Stream.js:225)
       at C (Stream.js:285)
       at D (Stream.js:373)
       at E (Stream.js:398)
       at Object.d [as activate] (Stream.js:107)
       at y (StreamController.js:363)
       at MediaSource.c (StreamController.js:342)

    then it fails to playback...

    Is it because I didn’t set the parameters right on ffmpeg or this is a bug in dash.js ?

    I really stuck here !