
Recherche avancée
Autres articles (32)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7648)
-
how to pass a audio file with powershell pipe [duplicate]
9 février 2020, par mudsskyI’m trying to convert flac file to aac use qaac cli.
qaac cli default don’t support flac file,so i use ffmpeg to convert it to wav ,and use pipe pass it to qaacthis command can be run successfully in cmd
ffmpeg.exe -i .\input.flac -f wav -| qaac64.exe -
but in powershell ,the pipe passed string object,so it doesnt’t work properly
ffmpeg.exe -i .\input.flac -f wav -| get-member
Q : what’s the correct way in powershell to pass a file ?
-
Pipe series of images from java application to ffmpeg subprocess
20 juin 2014, par MarcoI am looking for a way to stream series of images (jpegs) from java application into FFMpeg STDIN pipe.
FFMpeg should process these images and create a video file as an output.FFMpeg is executed as sub process of java application with the following command "ffmpeg.exe -i pipe:0 out.avi"
When i run "ffmpeg -i input.jpg out.avi" command in the console, i get the "out.avi" file as expected
But when i use the following tester code in my java application, i got an error.
Code in Java application :
File ffmpeg_output_msg = new File("ffmpeg_output_msg.txt");
ProcessBuilder pb = new ProcessBuilder(
"ffmpeg.exe","-i","pipe:0","out.avi");
pb.redirectErrorStream(true);
pb.redirectOutput(ffmpeg_output_msg);
pb.redirectInput(ProcessBuilder.Redirect.PIPE);
Process p = pb.start();
OutputStream ffmpegInput = p.getOutputStream();
byte[] image;
File file = new File("input.jpg");
image = new byte[(int)file.length()];
FileInputStream fileInputStream = new FileInputStream(file);
fileInputStream.read(image);
ImageInputStream iis = ImageIO.createImageInputStream(
new ByteArrayInputStream(image));
BufferedImage img = ImageIO.read(iis);
ImageIO.write(img, "JPEG", ffmpegInput);FFMpeg output :
ffmpeg version N-59664-g94cf4f8 Copyright (c) 2000-2014 the FFmpeg developers built on Jan 7 2014 22:07:02 with gcc 4.8.2 (GCC)
configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libcaca —enable-libfreetype —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libx264 —enable-libxavs —enable-libxvid —enable-zliblibavutil 52. 62.100 / 52. 62.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.102 / 55. 22.102
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100pipe: : Invalid data found when processing input
Any ideas how to make it work ?
Thank you very much for your time.
-
AVPlayer does not play MPEGTS stream generated by FFMPEG and gives error while writing to socket 9 : Broken pipe (32)
29 mars 2020, par Farooq Nasim AhmadIf I generate an MPEGTS stream with following command using FFMPEG
./ffmpeg -i test5seconds.mov -g 60 -hls_time 2 -c:v libx264 -profile:v baseline -level 3.0 -framerate 30 see.m3u8
It is successfully played by AVPlayer. But if I generate stream through following command send on UDP and then record.
./ffmpeg -i test5seconds.mov -g 60 -framerate 25 -c:v libx264 -profile:v baseline -level 3.0 -framerate 30 -f mpegts "udp://192.168.8.137:1234?pkt_size=1316"
The AVPlayer gives following error "Error while writing to socket 9 : Broken pipe (32)".