
Recherche avancée
Autres articles (53)
-
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 (...) -
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 ;
-
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 (6249)
-
Capture raw video byte stream for real time transcoding
9 septembre 2012, par user1145905I would like to achieve the following :
Set up a proxy server to handle video requests by clients (for now, say all video requests from any Android video client) from a remote video server like YouTube, Vimeo, etc. I don't have access to the video files being requested, hence the need for a proxy server. I have settled for Squid. This proxy should process the video signal/stream being passed from the remote server before relaying it back to the requesting client.
To achieve the above, I would either
1. Need to figure out the precise location (URL) of the video resource being requested, download it really fast, and modify it as I want before HTTP streaming it back to the client as the transcoding continues (simultaneously, with some latency)
2. Access the raw byte stream, pipe it into a transcoder (I'm thinking ffmpeg) and proceed with the streaming to client (also with some expected latency).
Option #2 seems tricky to do but lends more flexibility to the kind of transcoding I would like to perform. I would have to actually handle raw data/packets, but I don't know if ffmpeg takes such input.
In short, I'm looking for a solution to implement real-time transcoding of videos that I do not have direct access to from my proxy. Any suggestions on the tools or approaches I could use ? I have also read about Gstreamer (but could not tell if it's applicable to my situation), and MPlayer/MEncoder.
And finally, a rather specific question : Are there any tools out there that, given a YouTube video URL, can download the byte stream for further processing ? That is, something similar to the Chrome YouTube downloader but one that can be integrated with a server-side script ?
Thanks for any pointers/suggestions !
-
How to get real video duration in php with ffmpeg [closed]
24 avril 2013, par user82098ffmpeg -i *filename*
tries to get info from video headers, but*filename*
can be corrupted and then headers data will be incorrect
for exampleffmpeg -i *filename*
can return me smth like "Duration : 00:20:21.09"
but after converting*filename*
I get video w duration 00:05:13 -
Streaming video segments uploaded in real time
3 avril 2013, par HaneTVI have an application that send quicktime video segments (5s) to a nodejs server that convert them into mpeg-ts in order to stream them to a wowza server in real time :
ffmpeg -i tempPath -c copy -bsf:v h264_mp4toannexb -f mpegts uploadDir/file.ts
I want to know if there is a way to stream those segments in real time as they come on my nodejs server to a wowza server without interruption (assuming I can get the segments in time).
I tried an Http live streaming style by making a playlist like this (updated when segments are uploaded)#EXTM3U
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:5
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5,
movie0.ts
#EXTINF:5,
movie1.ts
#EXTINF:5,
movie2.tsAnd calling ffmpeg to send it to wowza :
ffmpeg -re -i hls+file://mypath/uploadDir/playlist.m3u8 -c copy -f flv rtmp://127.0.0.1/live/stream
but without any success : ffmpeg doesn't want to stream without #EXT-X-ENDLIST tag and removing the 'hls+' produces lots of errors
st:0 PTS: 0 DTS: 0 < 4997 invalid, clipping
Is there a way to accomplish that ?