
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (76)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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
Sur d’autres sites (9132)
-
Using ffmpeg to generate dash manifest and it cannot be played by dash.js
18 mars 2019, par PunkheadI’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.mpdThe 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 !
-
running ffmpeg.exe command on golang windows
27 février 2018, par Mehak Ayub Awanc:\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")
-
Post request not processing upload
21 février 2018, par user3799793I 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.31msAfter 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
endHere’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