
Advanced search
Medias (91)
-
MediaSPIP Simple : futur thème graphique par défaut?
26 September 2013, by
Updated: October 2013
Language: français
Type: Video
-
avec chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
sans chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
config chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
SPIP - plugins - embed code - Exemple
2 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
Other articles (87)
-
MediaSPIP version 0.1 Beta
16 April 2011, byMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 September 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 June 2013, byExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1); Installation des dépendances pour Smush; Installation de MediaInfo et FFprobe pour la récupération des métadonnées; On n’utilise plus ffmpeg2theora; On n’installe plus flvtool2 au profit de flvtool++; On n’installe plus ffmpeg-php qui n’est plus maintenu au profit de (...)
On other websites (9702)
-
Youtube livestream stops receiving video from time to time (ffmpeg)
15 December 2020, by wht_5005I have ip cam, raspberry pi (Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1036-raspi2 armv7l)) with ffmpeg (3.4.8-0ubuntu0.2) on board and I am trying to do 24/7 youtube livestream.
I have set up a service that start ffmpeg on boot. It receives rtsp stream from camera and sends it to youtube. Here is the ffmpeg setup:


ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp://cam_address -c:v copy -af "aresample=async=1:first_pts=0" -c:a aac -ac 2 -ar 44100 -fflags +genpts -f flv rtmp://youtube_address -nostdin -nostats



I have noticed that ffmpeg may accidentally stop working from time to time (rather rarely but still) so the service should restart if ffmpeg crashes. Additionally just in case I have set up a cron job that restarts the service every hour, so if it stops working for some reason and that magic that should bring it up fails it should still get up within an hour.


What bothers me, sometimes it stops working but in an unusual way. The service on raspberry pi is running, ffmpeg is running as well, nethogs shows that ffmpeg is both receiving and sending proper amount of data. Stream status on youtube is all right as if everything was just fine but there is no video there (it looks as if it was still loading/buffering but it is not). Restarting the service does not make it work. However if I stop the service, wait a few seconds and start it again the youtube stream starts working as it is supposed to.


Why such things happen and how can I fix it?


-
YouTube coding parameters [closed]
13 May 2013, by Tim NI am trying to find the transcoding parameters to apply to a video to avoid recoding after upload.
Currently the best google seems to offer is lots of info on the API, and a 404 when it comes to the actual content itself. -
correct way to download a mp4 [Audio only] file as a mp3 file via php
3 February 2018, by KapilI am asking this question because i found it impossible as far my knowledge stands. However i believe here on stackoverflow a lot of genius persons visits so maybe someone can give a good advice / trick.
My problem is, I am downloading a audio/mp4 file of youtube hosted on googlevideo.com’s server.
My PHP code for this purpose:
$mp3path is url of videoheader('Content-Description: File Transfer');
if(strpos($mp3path, "https://") === false) {
header('Content-length: ' . size($mp3path)); //size is custom function
}
header("Content-Type: audio/MP4A-LATM, audio/MP4A, audio/m4a, audio/mp4, audio/mp4a, audio/mp4-audio, audio/mpeg");
header('Content-Type: application/force-download');
header("Accept-Ranges: bytes");
header('Content-Transfer-Encoding: binary');
header('Content-disposition: attachment; filename="'.$title.'.mp3"');
header('Connection: Keep-Alive');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header("Cache-Control: private", false);
header('Pragma: no-cache');
readfile($mp3path);
exit;I can download this audio file but few mp3 players are not able to play it when i did some research on by using mp3val [mp3val.sourceforge.net]. I found this file do not contain sample-rate, bit-rate or some other required codecs inside the file.
Error received from mp3val: Unknown file formatI know one possible way of doing this which is ffmpeg but i am looking for a less time consuming option of doing this because first ffmpeg download the whole file and then convert it to mp3 and save it on server. It takes a lot of time.
I am looking for a easiest solution in which, i dont want to save the whole file on my server. I want to call this file from remote server and want to add sample rate, bit-rate in the file and then just somehow with php i want to start download on browser.
All i mean to say i need a faster solution. I have seen 2 yt to mp3 converter, They are doing the same thing, giving instant download. i dont know how?
Please if you think its a stupid question or not possible then dont report to stackoverflow. I am trying to figure it out that’s why i am asking this question here. I hope you’ll understand my curiosity.
Thanks,