
Recherche avancée
Autres articles (81)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4846)
-
How to stream video using C/C++
19 janvier 2015, par Arif Ali SaiyedI want to stream video to a file/ or memory buffer using VC++ on windows.
Can anyone suggest easy to integrate library ?(that has one H,one LIB and one DLL).I am exploring the libVLC right now and gonna explore FFMPEG also.
dont want to spend time in building these complex software fully myself, would appreciate any help/pointer/ references.
My ultimate goal is to stream a video and consume the stream on HTML5 viewer.
I tried streaming using VLC media player and streamed to a OGG file, I used same OGG file in a HTML5-Video tag and it worked.Now I want to do the streaming part using libVLC instead of VLC media player.
I want to stream the video file to File or memory stream.I have found this sample https://wiki.videolan.org/Stream_to_memory_(smem)_tutorial/
BUt unsure of how to get started ?
1) Where do i get the libVLC.dll, libVLC.lib, libVLC.h , Is there any sample visual studio that has everything setup and I can straight begin to write the code using libVLC etc.2) Since libVLC is said to depdend on 200+ other libraries/modules/plugins, what will I have include and distribute with my application ?
http://www.enjoythearchitecture.com/vlc-architecture.html
https://wiki.videolan.org/Contrib_Status/3) streaming format : above example seems to stream into PCM format, cant I get it stream in some format that has better codec and regonized by HTML5 ? For example when i tried using VLC media player , my options were as following
:sout=#transcodevcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100:filedst=C :\Users\testUser\stream-output.ogg,no-overwrite :sout-keep -
Anomalie #3456 (Nouveau) : bug sur |liens_absolus
26 mai 2015, par Fil UpLa fonction des liens absolus recherche bêtement src=… sur tout le contenu de la balise img, ce qui fait que si on a un data-original-src="xxxx", il ne trouve pas le src= et rate sa cible.
Proposition de patch :
```
// ne s’applique qu’aux textes contenant des liens
// http://doc.spip.org/@liens_absolus
function liens_absolus($texte, $base=’’)
- if (preg_match_all(’,(<(a|link|image):space :+[^<>]*href=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
+ if (preg_match_all(’,(<(a|link|image|img|script)\s[^<>]*(href|src)=[^<>]*>),imsS’,
$texte, $liens, PREG_SET_ORDER))
foreach ($liens as $lien)
- $abs = url_absolue($lien3, $base) ;
- if ($abs <> $lien3 and !preg_match(’/^#/’,$lien3))
- $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
+ foreach(array(’href’, ’src’) as $attr)
+ $href = extraire_attribut($lien0, $attr) ;
+ if (strlen($href)>0)
+ $abs = url_absolue($href, $base) ;
+ if ($href != $abs and !preg_match(’/^#/’,$href))
+ $texte = inserer_attribut($texte, $attr, $abs) ;
+
+
+
- if (preg_match_all(’,(<(img|script):space :+[^<>]*src=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
- $texte, $liens, PREG_SET_ORDER))
- foreach ($liens as $lien)
- $abs = url_absolue($lien3, $base) ;
- if ($abs <> $lien3)
- $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
-
-
+
return $texte ;
``` -
Is there a way to non-linear speed-up video with ffmpeg ?
3 mars 2020, par leoossaI’ve seen thousands of websites suggesting using setpts to speedup video
ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" output.mp4
The thing is - I don’t want to speed-up video in a linear way. I want it to accelerate. So I want ’acceleration’ (Wiki) to be constant and ’speed’ to be growing.
From what I’ve seen on ffmpeg docs setpts can be an equation, I tried to play with PREV_OUTPTS but with no success.
Is it even possible to achieve that with ffmpeg ?