
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (66)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (5003)
-
Running ffmpeg commands from android ffmpeg syntax error in logcat
30 septembre 2015, par Chaitanya ChandurkarI have successfully compiled ffmpeg for android and have ported it.
I placed
- libffmpeg.so in /system/lib directory
- ffmpeg executable in /system/bin and /system/xbin directory (i was not sure where to place it). i directly copied ffmpeg executable from source directory (Not sure whether it’s a correct way)
Now i am executing commands from android with following code !!
imports *
public class LatestActivity extends Activity {
private Process process;
String command,text;
static {
System.loadLibrary("ffmpeg");
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_latest);
//Execute Command !!
try {
Execute();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public void Execute() throws IOException, InterruptedException{
try {
File dir=new File("/system/bin");
String[] cmd= {"ffmpeg","-codecs"};
process=Runtime.getRuntime().exec(cmd,null,dir);
} catch (IOException e) {
// TODO Auto-generated catch block
Log.d("Process IOException starts:",e.getMessage());
e.printStackTrace();
Log.d("System Manual exit !!",e.getMessage());
System.exit(MODE_PRIVATE);
}
BufferedReader stdInput = new BufferedReader(new InputStreamReader(process.getInputStream()),16384);
BufferedReader stdError = new BufferedReader(new InputStreamReader(process.getErrorStream()));
// read the output from the command
Log.d("Application output: ","Output if any !");
while ((text = stdInput.readLine()) != null) {
Log.d("Output: ",text); //$NON-NLS-1$
}
text="";
// read any errors from the attempted command
Log.d("Application output: ","Errors if any !"); //$NON-NLS-1$
while ((text = stdError.readLine()) != null) {
Log.d("Error: ",text); //$NON-NLS-1$
}
stdInput.close();
stdError.close();
process.waitFor();
process.getOutputStream().close();
process.getInputStream().close();
process.getErrorStream().close();
destroyProcess(process);
//process.destroy();
}
private static void destroyProcess(Process process) {
try {
if (process != null) {
// use exitValue() to determine if process is still running.
process.exitValue();
}
} catch (IllegalThreadStateException e) {
// process is still running, kill it.
process.destroy();
}
}
}And Here is the logcat output :
09-05 15:29:13.287: D/dalvikvm(2670): No JNI_OnLoad found in /system/lib/libffmpeg.so 0x44e7e910, skipping init
09-05 15:29:29.117: I/global(2670): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
09-05 15:29:29.117: D/Application output:(2670): Output if any !
09-05 15:29:29.117: D/Application output:(2670): Errors if any !
09-05 15:29:29.127: D/Error:(2670): /system/bin/ffmpeg: 1: Syntax error: "(" unexpectedm neither getting any errors nor output of command.
At the end it shows syntax error.
I want to know what kind of syntax error it is. how to tackle it ?m i doing something wrong ?
-
Burn subtitles Ffmpeg Segmantation Fault error
5 septembre 2012, par Batuhan TopbaşI have vps and ffmpeg latest version. I wanna burn subtitles on videos then i use this input
ffmpeg -i ohd.avi -report -acodec copy -strict -2 -vcodec libx264 -acodec aac -sameq -vf ass=ohd.ass outputass.mp4
But this is give me error. Segmantation Fault. See in output..
ffmpeg started on 2012-09-05 at 10:30:37
Report written to "ffmpeg-20120905-103037.log"
ffmpeg version N-44073-g54ca7e3 Copyright (c) 2000-2012 the FFmpeg developers
built on Aug 31 2012 16:15:40 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
configuration: --enable-libfreetype --enable-libx264 --enable-gpl --enable-libfaac --enable-libass --enable-nonfree
libavutil 51. 70.100 / 51. 70.100
libavcodec 54. 55.100 / 54. 55.100
libavformat 54. 25.104 / 54. 25.104
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 15.101 / 3. 15.101
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'ohd.avi':
Metadata:
encoder : Lavf54.25.104
Duration: 00:01:00.22, start: 0.000000, bitrate: 4538 kb/s
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, s16, 192 kb/s
File 'outputass.mp4' already exists. Overwrite ? [y/N] y
FreeType library version: 2.2.1
[Parsed_ass_0 @ 0xa6b4b00] FreeType headers version: 2.2.1
[Parsed_ass_0 @ 0xa6b4b00] Init
[Parsed_ass_0 @ 0xa6b4b00] File size: 622
[Parsed_ass_0 @ 0xa6b4b00] [0xa6b7420] Style: Default,FreeSerif,24,&H00FFFFFF,&H00FFFFFF,&H00FFFFFF,&H00C0C0C0,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
[Parsed_ass_0 @ 0xa6b4b00] Added subtitle file: 'ohd.ass' (1 styles, 1 events)
[Parsed_ass_0 @ 0xa6b4b00] Fontconfig disabled, only default font will be used.
[graph 0 input from stream 0:0 @ 0xa6cd900] w:1280 h:720 pixfmt:yuv420p tb:1001/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
[graph 1 input from stream 0:1 @ 0xa6b0ae0] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0xa6b0c60] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[auto-inserted resampler 0 @ 0xa6b17c0] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt r:44100Hz
[libx264 @ 0xa6bfa20] using SAR=1/1
[libx264 @ 0xa6bfa20] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
[libx264 @ 0xa6bfa20] profile High, level 3.1
[libx264 @ 0xa6bfa20] 264 - core 125 r2208 d9d2288 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'outputass.mp4':
Metadata:
encoder : Lavf54.25.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (ac3 -> aac)
Press [q] to stop, [?] for help
Segmentation faultWhat is wrong my input code ? i can't find because i am amateur.
-
xuggler on debain compiling error [closed]
14 septembre 2012, par Marcel ColombI try to install xuggler on a debian server. If I run :
ant run-tests
I get following Error :
[exec] libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
[exec] libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/'
[exec] libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
[exec] libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/'
[exec] Makefile:239: /tests/fate.mak: No such file or directory
[exec] Makefile:240: /tests/fate2.mak: No such file or directory
[exec] Makefile:242: /tests/fate/aac.mak: No such file or directory
[exec] Makefile:243: /tests/fate/als.mak: No such file or directory
[exec] Makefile:244: /tests/fate/fft.mak: No such file or directory
[exec] Makefile:245: /tests/fate/h264.mak: No such file or directory
[exec] Makefile:246: /tests/fate/mp3.mak: No such file or directory
[exec] Makefile:247: /tests/fate/vorbis.mak: No such file or directory
[exec] Makefile:248: /tests/fate/vp8.mak: No such file or directory
[exec] make[3]: *** No rule to make target `/tests/fate/vp8.mak'. Stop.
[exec] make[2]: *** [all-local] Error 2
[exec] make[1]: *** [all-recursive] Error 1
[exec] make: *** [all-recursive] Error 1
[exec] make[3]: Leaving directory `/usr/local/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/ffmpeg/csrc'
[exec] make[2]: Leaving directory `/usr/local/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive/ffmpeg'
[exec] make[1]: Leaving directory `/usr/local/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/captive'Is someone having the same issue and solved it ? Thank you