Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (59)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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

Sur d’autres sites (11106)

  • Post request not processing upload

    21 février 2018, par user3799793

    I am having trouble uploading large videos to my elastic beanstalk rails instance. When I upload small videos, my application works fine. But, when uploading large videos the post request doesn’t seem to process the video. The output of the log only returns :

    I, [2018-02-13T19:47:11.947391 #20262]  INFO -- : [7f5d6846-c9b4-473d-b1fe-1e94056a6474] Started POST "/movies" for 108.71.214.220 at 2018-02-13 19:47:11 +0000

    The post request should look something like this :

    I, [2018-02-20T03:01:00.228579 #24802]  INFO -- : [174f98cf-d26f-4cc9-987f-021987ead17c] Started POST "/movies" for 108.71.214.220 at 2018-02-20 03:01:00 +0000
    I, [2018-02-20T03:01:06.584806 #24802]  INFO -- : [174f98cf-d26f-4cc9-987f-021987ead17c] [paperclip] saving /movies/videos/000/000/003/original/SampleVideo_640x360_30mb.flv
    D, [2018-02-20T03:01:09.390598 #24802] DEBUG -- : [174f98cf-d26f-4cc9-987f-021987ead17c]   ^[[1m^[[35m (0.9ms)^[[0m  ^[[1m^[[35mCOMMIT^[[0m
    I, [2018-02-20T03:01:09.392579 #24802]  INFO -- : [174f98cf-d26f-4cc9-987f-021987ead17c] [ActiveJob] Enqueued DelayedPaperclip::ProcessJob (Job ID: 01373ae4-89cb-486c-9d44-eaa74d9211c5) to Async(paperclip) with arguments: "Movie", 3, "video"
    I, [2018-02-20T03:01:09.392707 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] Performing DelayedPaperclip::ProcessJob (Job ID: 01373ae4-89cb-486c-9d44-eaa74d9211c5) from Async(paperclip) with arguments: "Movie", 3, "video"
    I, [2018-02-20T03:01:09.396173 #24802]  INFO -- : [174f98cf-d26f-4cc9-987f-021987ead17c] Completed 201 Created in 3046ms (Views: 0.4ms | ActiveRecord: 4.5ms)
    D, [2018-02-20T03:01:09.409028 #24802] DEBUG -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5]   ^[[1m^[[36mMovie Load (0.4ms)^[[0m  ^[[1m^[[34mSELECT  "movies".* FROM "movies" WHERE "movies"."id" = $1 LIMIT $2^[[0m  [["id", 3], ["LIMIT", 1]]
    I, [2018-02-20T03:01:09.409801 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] copying /movies/videos/000/000/003/original/SampleVideo_640x360_30mb.flv to local file /tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv
    I, [2018-02-20T03:01:12.383537 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] Command :: file -b --mime '/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1xdygtx.flv'
    I, [2018-02-20T03:01:12.387977 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
    I, [2018-02-20T03:01:12.389194 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
    I, [2018-02-20T03:01:12.433230 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Found ["ffmpeg"], using: Ffmpeg
    I, [2018-02-20T03:01:12.433323 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
    I, [2018-02-20T03:01:12.434721 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
    I, [2018-02-20T03:01:12.436039 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Found ["ffmpeg"], using: Ffmpeg
    I, [2018-02-20T03:01:12.436099 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: ffmpeg -i "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv" 2>&1
    I, [2018-02-20T03:01:12.658521 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] [transcoder] Transocding supported file /tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv
    I, [2018-02-20T03:01:12.658618 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter ["acodec", "aac"]
    I, [2018-02-20T03:01:12.658657 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter ["strict", "experimental"]
    I, [2018-02-20T03:01:12.658704 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter [:s, "640x480"]
    I, [2018-02-20T03:01:12.658759 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: ffmpeg -i "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv" -acodec aac -strict experimental -s 640x480 -y "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl20180220-24802-1hl2kvo.mp4"
    I, [2018-02-20T03:01:12.434721 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
    I, [2018-02-20T03:01:12.436039 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Found ["ffmpeg"], using: Ffmpeg
    I, [2018-02-20T03:01:12.436099 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: ffmpeg -i "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv" 2>&1
    I, [2018-02-20T03:01:12.658521 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] [transcoder] Transocding supported file /tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv
    I, [2018-02-20T03:01:12.658618 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter ["acodec", "aac"]
    I, [2018-02-20T03:01:12.658657 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter ["strict", "experimental"]
    I, [2018-02-20T03:01:12.658704 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Adding output parameter [:s, "640x480"]
    I, [2018-02-20T03:01:12.658759 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [AV] Running command: ffmpeg -i "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl.flv" -acodec aac -strict experimental -s 640x480 -y "/tmp/1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl20180220-24802-1hl2kvo.mp4"
    I, [2018-02-20T03:02:03.194536 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] [transcoder] Successfully transcoded 1198ad681cf1d8dabf71cd056e42731f20180220-24802-1mzblvl to #
    I, [2018-02-20T03:02:03.227408 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] saving /movies/videos/000/000/003/original/SampleVideo_640x360_30mb.flv
    I, [2018-02-20T03:02:06.164693 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] [paperclip] saving /movies/videos/000/000/003/medium/SampleVideo_640x360_30mb.mp4
    D, [2018-02-20T03:02:08.467048 #24802] DEBUG -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5]   ^[[1m^[[35m (0.2ms)^[[0m  ^[[1m^[[35mBEGIN^[[0m
    D, [2018-02-20T03:02:08.469704 #24802] DEBUG -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5]   ^[[1m^[[36mMovie Exists (0.4ms)^[[0m  ^[[1m^[[34mSELECT  1 AS one FROM "movies" WHERE LOWER("movies"."title") = LOWER($1) AND ("movies"."id" != $2) LIMIT $3^[[0m  [["title", "test"], ["id", 3], ["LIMIT", 1]]
    D, [2018-02-20T03:02:08.471260 #24802] DEBUG -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5]   ^[[1m^[[35mSQL (0.3ms)^[[0m  ^[[1m^[[33mUPDATE "movies" SET "video_file_name" = $1, "video_updated_at" = $2, "updated_at" = $3 WHERE "movies"."id" = $4^[[0m  [["video_file_name", "SampleVideo_640x360_30mb.flv"], ["video_updated_at", "2018-02-20 03:01:12.308214"], ["updated_at", "2018-02-20 03:02:08.470020"], ["id", 3]]
    D, [2018-02-20T03:02:08.472524 #24802] DEBUG -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5]   ^[[1m^[[35m (0.9ms)^[[0m  ^[[1m^[[35mCOMMIT^[[0m
    I, [2018-02-20T03:02:08.472777 #24802]  INFO -- : [ActiveJob] [DelayedPaperclip::ProcessJob] [01373ae4-89cb-486c-9d44-eaa74d9211c5] Performed DelayedPaperclip::ProcessJob (Job ID: 01373ae4-89cb-486c-9d44-eaa74d9211c5) from Async(paperclip) in 59079.31ms

    After the initial post request there should be a statements show the processing of the request and the processing of ffmpeg. As you can see i get none of those. There is not even a statement of completion.
    Any help will be appreciated.

    Here’s a copy of my create action

    def create      
       movie = Movie.new(movie_params)

       if movie.save
           Resque.enqueue(TranscodeVideo, movie.id)
           render json: movie, status: 201
       else
           render json: { errors: movie.errors }, status: 422
       end
    end

    Here’s a copy of the worker

    class TranscodeVideo
       @queue = :movie_queue

       def self.perform(movie_id)
                       movie = Movie.find(movie_id)

                       Delayed::Worker.new.work_off
                       movie.reload
       end
    end
  • running ffmpeg.exe command on golang windows

    27 février 2018, par Mehak Ayub Awan
    c:\goWorkSpace\src\github.com\tus\tusd\cmd\tusd\bin\ffmpeg.exe -y -i c:\goWorkSpace\src\github.com\tus\tusd\cmd\tusd\data\ac629d87f876835d3720059eb3e5d8a7.bin  -vcodec h264 "E:\MP4Files/27.02.2018/PM.mp4"

    My command is working in cmd but not on exec.command using this :

    exec.Command("cmd", "-c",c:\goWorkSpace\src\github.com\tus\tusd\cmd\tusd\bin\ffmpeg.exe -y -i c:\goWorkSpace\src\github.com\tus\tusd\cmd\tusd\data\ac629d87f876835d3720059eb3e5d8a7.bin  -vcodec h264 "E:\MP4Files/27.02.2018/PM.mp4")

  • 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 !