
Recherche avancée
Autres articles (49)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (4759)
-
Is -vfilter not available on Debian 5 ?
3 octobre 2011, par KorI'm getting problems trying to make my website (done in PHP) work online.
At a specific time, I need to upload a video and convert it, also scaling its dimensions. I use a call like this one :ffmpeg -y -i '/path/to/video.mp4' -f flv -ab 56 -ar 22050 -r 20 -vfilter "scale=704:-1" '/path/to/new/video.flv'
It works offline on my computer (Ubuntu 10.10), but it doesn't do the same online (Debian Lenny 5.0). The response I get from the server is :
[Mon Oct 03 15:48:56 2011] [error] [client 81.184.6.124] /servers/path/to/ffmpeg: unrecognized option '-vfilter'
I have also tried with '-vf', but it just doesn't work at all. So my question is, am I doing it wrong, or is it that Debian unables video filters for some reason ?
I give you some info about this server :
Debian 5.0
PHP: 5.2.6
FFmpeg r11872+debian_0.svn20080206-18+lenny1
libavutil 3212800
libavcodec 3355136
libavformat 3409664
libavdevice 3407872EDIT : Oh my, I just saw it. No libavfilter installed. I'll tell you what their support tells me in a couple hours.
-
FFMPEG mkv to mp4 conversion lacks audio
28 septembre 2017, par LandslydeI used
ffmpeg
to convert anmkv
file tomp4
using this command line :ffmpeg -i input.mkv -c copy file-1.mp4
The resulting
mp4
plays fine (video and audio) onLinux Mint's Xplayer
. But after uploading file-1, it played with no audio. So I uploaded anothermp4
file-2, one I didn’t have to convert, and it plays both video and audio without a problem. So whatever’s going on withfile-1
seems to be with my use offfmpeg
.The player I’m using is called
afterglow
. But theHTML5 player
handles these two files the same way : file-1 & file-2Does anyone know why the
ffmpeg
converted file is soundless when played online ? Is there a different conversion command that ensures convertedmkv files
will play with sound by online players ? -
Streaming Encoded MPEG-4 live video from a web camera using RTP in C++
20 juin 2022, par Maad A.GalilI have been working on building a video streamer from a webcam using RTP protocol in C++ language in Linux. I was able to use opencv to take frames from the webcam and send them frame by frame to a client app that shows those frames one by one using the same frame per second parameter.


But that is mostly a MJPEG kind of transfer as the encoding used is JPEG encoding with a specific quality for each frame. However, I would like to use MPEG-4 encoding before transferring the video. After a deep search online I found out that ffmpeg is the best for such purpose. But the samples online mostly work through a command line interface to capture a webcam video and save it as a video file with the given encoding and format.


Is there a possibility to encode the webcam "LIVE", and get byte data while encoding the camera stream ?


I would like to use those byte data to transfer it using RTP for example. And then I would like to decode the received byte data and show the video using opencv imshow function for example.