
Recherche avancée
Autres articles (101)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (13330)
-
Unable to execute CLI commands through PHP
13 janvier 2012, par user940154OS : ubuntu 11.10
Webserver : Apache
Code : PHP
I am trying to display the output of command "ffmpeg -i " on the webpage using php.
Required : The webpage should show the information about video (text).
Whats happening : The webpage shows no text output on running the php code.
If I was however doing system("ls") the code runs fine and outputs the list of files.
Here's my code<?php
echo "Details of video file:";
system('ffmpeg -i /home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi');
?>The same command works fine on my shell, and my system has ffmpeg installed. Here's a snapshot of executing this command directly on shell :
ThinkPad-T420:~/Videos$ ffmpeg -i /home/xx/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi
ffmpeg version git-2012-01-10-7e2ba2d Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 10 2012 12:01:19 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore- amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 34.100 / 51. 34.100
libavcodec 53. 54.100 / 53. 54.100
libavformat 53. 29.100 / 53. 29.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 58.100 / 2. 58.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 51. 2.100 / 51. 2.100
Input #0, avi, from '/home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi':
Metadata:
encoder : Lavf52.23.1
Duration: 00:00:29.00, start: 0.000000, bitrate: 124422 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specifiedI have tried appending "DISPLAY=:0" to my command and also done "xhost +" before running php code, but nothing is helping me out.
Thanks.
-
FFMPEG in android issue
9 janvier 2012, par AntuI have successfully compiled the FFMPEG library to android using NDK.
(using Rock Player FFMPEG implementation)http://www.rockplayer.com/download/rockplayer_ffmpeg_git_20100418.zipI know that FFMPEG supports .avi, divX, mov ect. But I created a mediaplayer and tried to run them but I was not able to play them. I is this the right way to use the FFMPEG library. Can Any one Help.I am able to play defaut video, mp4, 3gp etc. Here is the code for mediaplayer
public native String stringFromJNI();
static {
System.loadLibrary("ffmpeg");
System.loadLibrary("ffmpeg-test-jni");
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TextView tv =(TextView) findViewById(R.id.textView1);
tv.setText( stringFromJNI() );
System.gc();
Log.d("Video FFmpeg ", "**");
getWindow().setFormat(PixelFormat.TRANSLUCENT);
String filepath = Environment.getExternalStorageDirectory()+"/simple.avi";
Log.d("File path", filepath);
MediaController mc = new MediaController(this);
VideoView video=(VideoView) findViewById(R.id.video);
mc.setMediaPlayer(video);
video.setVideoPath(filepath);
video.setMediaController(mc);
mc.show();
//video.setVideoPath("/mnt/sdcard/Movies/Ishq-Hothon-Se.3gp");
video.start();
View nextButton = findViewById(R.id.button1);
nextButton.setOnClickListener(this);
}
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent i=new Intent(this,NextVideo.class);
startActivity(i);
}
} -
How to realize my web video picture in picture ? [closed]
17 janvier 2013, par windsI want to build a streaming media server in nginx+php that can drag the video progress bar and when my mouse over the video on the progress bar the video show the real-time and the thumbnail.Just like The Youtube. Can anbody understand me ?
Can the ffmpeg help me realize that or give me some examples !
I am so sorry. I am from China.Maybe my description is not clear.I have no authority to upload the image.This is the
URL of the image.
http://d.hiphotos.baidu.com/zhidao/pic/item/aa64034f78f0f736949dc5c90a55b319eac41392.jpgThank you very much !!