
Recherche avancée
Autres articles (18)
-
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 (4085)
-
What does it mean for avcodec_find_decoder() to return 0 ? [duplicate]
11 février 2019, par Lucas ZanellaThis question already has an answer here :
This part of my code
m_pAVCodec = avcodec_find_decoder(AV_CODEC_ID_H264);
is returning 0, which means it failed to find the codec.
What does it mean for ffmpeg to not find a codec ? Is it something related with my system ? I need somehow to install the h264 codec ?
I’m using Ubuntu
UPDATE :
By doing
avcodec_register_all() ;before, it works. It’s kinda strange because
av_register_all()
was deprecated long ago and won’t even compile.What more needs to be registered ?
-
PHP exec or shell_exec not returning process id (PID) on Windows Wamp
17 mai 2013, par HoplaYannI am on windows 7, using a WampServer, and trying to use FFMPEG.
The encoding works, but I can't get a process id back from either the
exec()
method nor theshell_exec()
methods.This is my code :
$cmd = C:\ffmpeg\bin\ffmpeg.exe -i "C:\...\4ch.wav" -ar 44100 -ab 48000 -f mp3 -y "C:\...\enc_4ch.mp3"
This what I was trying to do with shell_exec :
shell_exec("nohup $cmd > /dev/null & echo $!");
And with exec :
exec("nohup " . $this->_command . " > /dev/null 2>/dev/null &") ; // returns null
exec("nohup " . $this->_command . " > /dev/null 2>&1 &"); // also returns nullPlease let me know what I do wrong, as I'd like later to use the following method to check if my process is still running :
private function is_process_running($proccess_id)
{
exec("ps $proccess_id", $process_state);
return (count($process_state) >= 2);
}thank you in advace
-
avformat_open_input return value, error code on NaCl Module
7 février 2016, par JarI’m trying to port FFmpeg into my NaCl module.
So far, my module linked ffmpeg and SDL libraries.
It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it’s very easy).
Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns
-5
when input is URL string, such asrtmp://
ormmsh://
; it returns-1052488119
when input is file name, such as/saved/tmp
(I mount the file system - html5fs).
There are some questions :
- What means of -5 and -1052488119 ?
- If file can’t open by avformat_open_input, is it possible the input type is from buffer not from file name or url string ?
If I’m not clearly about my question or description, you can tell me.
If you are doing the same thing or having the same problem, we can discuss together.Thanks,
Jar