
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (46)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (7787)
-
How to fix "moov atom not found" error in ffmpeg ?
20 avril, par user10664722Well, I'm using this project to create a Telegram bot which receives URL of
.mp4
files, downloads them on server and uploads them to Telegram.

Issue


Everything works fine so far, except converting certain
.mp4
files.

For example if I use a sample
.mp4
video from https://sample-videos.com/. Then it works fine and converts it successfully.

But if I use a video from some random website which is also simple
.mp4
file, it doesn't work and throws this error :



[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1932420] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible !
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1932420] moov atom not found
data/720P_1500K_210306701.mp4 : Invalid data found when processing input




-
No such filter : '"' Error initializing complex filters [duplicate]
28 juin 2019, par sachinThis question already has an answer here :
I am trying add some text on video, but I am getting :
No such filter:
Error initializing complex filters.
Invalid argumentBelow command using for adding text -
In Java :
String complexCommand = "ffmpeg -i "+ savedVideoFilePath +" -filter_complex \"[0:v][1:v]overlay=10:10,drawtext=text="+"'"+ timestamp +"'" + "\""+ " -c:a copy -movflags +faststart " +output_path;
In string format :
ffmpeg -i /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/sample.mp4 -filter_complex "[0:v][1:v]overlay=10:10,drawtext=text='12-08-2019_11:00pm'" -c:a copy -movflags +faststart /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/output_1052019163054.mp4
ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/com.rs.vir.debug/files/appname/videos/sample.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-06-10 10:18:21
com.android.version: 8.1.0
Duration: 00:00:12.18, start: 0.000000, bitrate: 2176 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x480, 1920 kb/s, SAR 1:1 DAR 3:2, 16.66 fps, 16.67 tbr, 90k tbn, 180k tbc (default)
Metadata:
rotate : 90
creation_time : 2019-06-10 10:18:21
handler_name : VideoHandle
Side data:
displaymatrix: rotation of -90.00 degrees
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
Metadata:
creation_time : 2019-06-10 10:18:21
handler_name : SoundHandle
[AVFilterGraph @ 0xe772d080] No such filter: '"'
Error initializing complex filters.
Invalid argumentAnything I need to add or change command, give me any idea ?
-
java.io.IOException : Cannot run program "usr/bin/ffmpeg " : error=2, No such file or directory
8 juin 2021, par Madan MadanI am experiencing errors when executing ffmpeg command from java program in Ubuntu server. When I execute in putty it executes successfully but from java it gives me the exceptions of



java.io.IOException: Cannot run program "/usr/bin/ffmpeg ": 
error=2, No such file or directory




My Code below :



public String convert3gpTomp4(File contentFile, String filename) {
 String[] cmd = new String[6];
 filename = StringUtils.substringBefore(filename, "."); 
 cmd[0] = "/usr/bin/ffmpeg ";
 cmd[1] = "-y ";
 cmd[2] = "-i ";
 cmd[3] = contentFile.getPath();
 cmd[4] = " -acodec copy ";
 String myfilename = filename +"eg.mp4";
 cmd[5] = contentFile.getParent() + "/" + myfilename; 

 if (execute(cmd)){
 return myfilename;
 }else{ 
 return null;
 }

 }
}

public boolean execute(String[] cmd){
 try{
 Runtime rt= Runtime.getRuntime();

 Process proc = rt.exec(cmd);

 StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");
 StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
 errorGobbler.start();
 outputGobbler.start();

 int exitVal = proc.waitFor();
 String sb = outputGobbler.sb.toString();
 String eb = errorGobbler.sb.toString();

 System.out.println("Command Exceute Exit value: " + exitVal);

 proc.destroy();

 return true;
 }
 catch(java.io.IOException e ){System.out.println("IOException "+e);e.printStackTrace();}
 catch(java.lang.InterruptedException e){}

 return false;

}




Output of ffmpeg command :



/usr/bin/ffmpeg -y -i /mydata/clip1.3gp -acodec copy /mydata/clip1eg.mp4




When I run above command in putty , it executes successfully but from Java program.



In the program, I also tried with the following but no success.



usr/bin/ffmpeg
/bin/ffmpeg
ffmpeg
/root/usr/bin/ffmpeg




Please let me know where I am doing wrong.



Thanks,