
Recherche avancée
Autres articles (75)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (3906)
-
command not working to find duration of the video file in android ?
25 octobre 2018, par Dinesh SI want to find duration of the video file. For this purpose i used the below command.
It is working file in Desktop. While running in android.It is showing error. I also attached error message . can anyone able to tell me why it is not working ?execFFmpegBinary("-i "+file.getAbsolutePath()+" 2>&1 | find \"Duration\"");
//Function used to run command
private static void execFFmpegBinary(final String command)
{
try
{
ffmpeg.execute(command, new ExecuteBinaryResponseHandler()
{
@Override
public void onFailure(String s)
{
Log.d(TAG, "FAILED with output : " + s);
}
@Override
public void onSuccess(String s)
{
Log.d(TAG, "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s)
{
Log.d(TAG, "Started command : ffmpeg " + command);
Log.d(TAG, "progress : " + s);
}
@Override
public void onStart()
{
Log.d(TAG, "Started command : ffmpeg " + command);
}
@Override
public void onFinish()
{
Log.d(TAG, "Finished command : ffmpeg " + command);
}
});
}
catch (FFmpegCommandAlreadyRunningException e)
{
// do nothing for now
Log.i(TAG,"Command Already running");
}
}Error Message :
[NULL @ 0xac11acd0] Unable to find a suitable output format for '2>&1'
2>&1: Invalid argument -
Piping from ffmpeg to x264 not working
23 mai 2016, par JiZhaku_SanI want to encode video file to AVC-I50. I have a vbs script.
set objShell = WScript.CreateObject ("WScript.Shell")
objShell.run "cmd.exe /C Processors\ffmpeg.exe -i """ & PathToInputFile & """ -f lavfi
-i aevalsrc=0 -loglevel quiet -shortest -filter_complex
""[0:1]pan=1|c0=c0[a1],[0:1]pan=1|c0=c1[a2],[0:1]pan=1|c0=c2[a3],[0:1]pan=1|c0=c3[a4]""
-map ""[a1]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\01.wav
-map ""[a2]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\02.wav
-map ""[a3]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\03.wav
-map ""[a4]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\04.wav
-map 0:v -c:v rawvideo -strict -1 -vf format=yuv420p10,fps=fps=30000/1001
-s 1440x1080 -q:v 0 -an -f yuv4mpegpipe pipe:output.y4m | Processors\x264.exe -
--demuxer y4m --frames 1077 --interlaced --tff --output-csp i420 --no-cabac
--force-cfr --keyint 1 --colorprim bt709 --transfer bt709 --tune psnr --sar 1:1
--nal-hrd cbr --pic-struct --videoformat component --vbv-maxrate 50000 --vbv-bufsize 2000
--colormatrix bt709 --bitrate 50000 --avcintra-class 50 --output tmp\Result.h264 ", 1, trueWhen I try to run in cmd this vbs file, it is working.
But when I try to run it in C# as Process - it doesn’t.
Btw. when I try to run it as plain command in cmd it sais that
"-" is not an input for x264. -
Piping from ffmpeg to x264 not working
23 mai 2016, par JiZhaku_SanI want to encode video file to AVC-I50. I have a vbs script.
set objShell = WScript.CreateObject ("WScript.Shell")
objShell.run "cmd.exe /C Processors\ffmpeg.exe -i """ & PathToInputFile & """ -f lavfi
-i aevalsrc=0 -loglevel quiet -shortest -filter_complex
""[0:1]pan=1|c0=c0[a1],[0:1]pan=1|c0=c1[a2],[0:1]pan=1|c0=c2[a3],[0:1]pan=1|c0=c3[a4]""
-map ""[a1]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\01.wav
-map ""[a2]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\02.wav
-map ""[a3]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\03.wav
-map ""[a4]"" -c:a pcm_s24le -ar 48000 -y -t """ & duration & """ tmp\04.wav
-map 0:v -c:v rawvideo -strict -1 -vf format=yuv420p10,fps=fps=30000/1001
-s 1440x1080 -q:v 0 -an -f yuv4mpegpipe pipe:output.y4m | Processors\x264.exe -
--demuxer y4m --frames 1077 --interlaced --tff --output-csp i420 --no-cabac
--force-cfr --keyint 1 --colorprim bt709 --transfer bt709 --tune psnr --sar 1:1
--nal-hrd cbr --pic-struct --videoformat component --vbv-maxrate 50000 --vbv-bufsize 2000
--colormatrix bt709 --bitrate 50000 --avcintra-class 50 --output tmp\Result.h264 ", 1, trueWhen I try to run in cmd this vbs file, it is working.
But when I try to run it in C# as Process - it doesn’t.
Btw. when I try to run it as plain command in cmd it sais that
"-" is not an input for x264.