
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (33)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4840)
-
Revision 663916cea7 : SVC improvements These changes were originally made in the Stratacaster team-re
12 octobre 2013, par Ivan MaltzChanged Paths :
Modify /libs.mk
Add /test/svc_test.cc
Modify /test/test.mk
Modify /vp9/common/vp9_onyx.h
Modify /vp9/encoder/vp9_onyx_if.c
Modify /vp9/vp9_cx_iface.c
Modify /vp9_spatial_scalable_encoder.c
Modify /vpx/exports_enc
Add /vpx/src/svc_encodeframe.c
Add /vpx/svc_context.h
Modify /vpx/vp8cx.h
Modify /vpx/vpx_codec.mk
SVC improvementsThese changes were originally made in the Stratacaster team-review repository
commit e114bffcd82ad74c3696ec58e13c0ac895d6c82d
Author : Charles 'Buck' Krasic <ckrasic@google.com>
Date : Mon Oct 14 16:52:13 2013 -0700Make dummy frame handling a bit more explicit, fixing bug
with single layer encodes.Squashed commit of the following :
commit 1ebbfd976c0fadb02bf1ea562a2d0e3f0206daad
Merge : ac468dd 54e88b7
Author : Ivan Maltz <ivanmaltz@google.com>
Date : Fri Oct 11 17:29:58 2013 -0700Move SVC code from vp9_spatial_scalable_encoder to libvpx module accessible
from ffmpegcommit 54e88b78b160becc9569fc3c6cb6b0a8c95dc357
Author : Ivan Maltz <ivanmaltz@google.com>
Date : Tue Oct 8 09:08:40 2013 -0700common svc encoding code for sample app and ffmpeg
added svc_encodeframe.c, svc_context.h, svc_test.cc
vp9_spatial_scalable_encoder uses vpx_svc_encode
commit 5616ec8e2e3d3e8d277333d8a9242f6c70151162
Merge : 4528014 e29137d
Author : Ivan Maltz <ivanmaltz@google.com>
Date : Tue Oct 8 08:47:58 2013 -0700Merge branch 'master' into stratacaster
commit 45280148450b1f3d61e390df8aadedf85cd5bce1
Merge : bb2b675 1ab60f7
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Fri Oct 4 10:22:31 2013 -0700Merge branch 'master' into stratacaster
commit bb2b675e595dc9bfc8551e963edf56800c3aea61
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Wed Oct 2 12:37:26 2013 -0700Track individual frame sizes and psnrs instead of averages.
commit c6d303b714795c81e7ceb4173967115c9f8ff5b7
Merge : fa87df9 3583087
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Fri Sep 27 10:05:35 2013 -0700Merge branch 'master' into stratacaster
commit fa87df94fba923d9f7aeb8ae20c6e15f777e00b5
Merge : bf22d71 3c465af
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Thu Sep 26 16:10:31 2013 -0700Merge branch 'master' into stratacaster
commit bf22d7144895a82e0c348ac177c8a261b9e2b88e
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Thu Sep 26 11:10:34 2013 -0700Parameterized quantizer, 16th scalefactors, more logging, enabled single
layer encodes to generate baseline.commit ceffd7e6025b765f9886b5ea0f324248aa37e327
Author : Sujeevan Rajayogam <sujee@google.com>
Date : Thu Sep 19 10:04:49 2013 -0700- Include new mode for 3 layer I frame with 5 total layers.
- Refactor svc api.Change-Id : Ie4d775e21e006fa597d884c59488dc999478e9b5
-
FFMPEG screen grab of windows desktop and then exporting to multiple bandwidth ts and m3u8 files with master playlist
26 juillet 2018, par Tank DanielsForgive me as this is my first post as I’m really stuck and need help. My boss needs me to screen capture a windows desktop as input and be able to output at least four outputs dependent on bandwidth. Each output "Stream"(im guessing is the right terminology) must have its own .ts files and .m3u8 files, along with a master m3u8 playlist that lists the four individual m3u8 files.
Every attempt ive made only produces a master m3u8 file with a single listing of an output stream. (Code enclosed below).
The end result I need to produce is to have a master m3u8 that can go into a webpage that can stream mp4 hls of the users screen grab and that video output will be changed dependant upon the users bandwidth available. If you can please help me with any advice I will be eternally grateful as I need to impress my new boss in my new job, and I’ve been working on this for ages now with no joy.
Example :
This is what I need it to look like.What the M3U8 needs to look like
Example :
This is what it actually looks like now.What the current M3U8 actually looks like when i run my code
Below is the code I am currently using. Please help.
ffmpeg -f dshow -i video="UScreenCapture":audio="virtual-audio-capturer" -master_pl_name master.m3u8 -master_pl_publish_rate 30 -tune fastdecode -vf scale=w=640:h=360:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename 360p_%03d.ts 360p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=842:h=480:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename 480p_%03d.ts 480p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename 720p_%03d.ts 720p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename 1080p_%03d.ts 1080p.m3u8
Many Thanks for looking. Chris.
-
FFMPEG - How to transcode and segment to multiple bitrates ?
25 juillet 2014, par ipegasusI would like to know how to use FFMPEG to transcode video (Prores codec) and segment videos to multiple bitrates. Is it possible to do it in one command ?
Current working solution with X264 :
-
Encode Videos Using X264.
/home/ubuntu/bin/ffmpeg -y -i "$video_path" -threads 1 -f mpegts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline -x264opts "fps=12:keyint=36:bitrate=200" -s 416x234 "$DIR_VIDEO_OUTPUT/$filename"/p1.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline -x264opts "fps=12:keyint=36:bitrate=400" -s 480x270 "$DIR_VIDEO_OUTPUT/$filename"/p2.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline -x264opts "fps=24:keyint=72:bitrate=600" -s 640x360 "$DIR_VIDEO_OUTPUT/$filename"/p3.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline -x264opts "fps=24:keyint=72:bitrate=1200" -s 640x360 "$DIR_VIDEO_OUTPUT/$filename"/p4.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main -x264opts "fps=24:keyint=72:bitrate=1800" -s 960x540 "$DIR_VIDEO_OUTPUT/$filename"/p5.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main -x264opts "fps=24:keyint=72:bitrate=2500" -s 960x540 "$DIR_VIDEO_OUTPUT/$filename"/p6.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main -x264opts "fps=24:keyint=72:bitrate=4500" -s 1280x720 "$DIR_VIDEO_OUTPUT/$filename"/p7.ts -
Using an extrenal segmenter
cd $DIR_VIDEO_OUTPUT/$filename
mkdir M3U8
for p in p1 p2 p3 p4 p5 p6 p7 ; do mkdir $DIR_VIDEO_OUTPUT/$filename/M3U8/$p.seg ; (cd M3U8 ; m3u8-segmenter —input $DIR_VIDEO_OUTPUT/$filename/$p.ts —duration 7 —output-prefix $p.seg/$p —m3u8-file $p.m3u8 —url-prefix "") ; done -
And finally manualy the individual playlists are joined into one
echo ’
EXTM3U
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=264000,RESOLUTION=416x234
p1.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=480x270
p2.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=664000,RESOLUTION=640x360
p3.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=640x360
p4.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1864000,RESOLUTION=960x540
p5.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2564000,RESOLUTION=960x540
p6.m3u8
EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4564000,RESOLUTION=1280x720
p7.m3u8’ >> $filename.m3u8
cd "$DIR_VIDEO_OUTPUT/$filename"/
sudo rm *.ts
-