
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (50)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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 (...)
Sur d’autres sites (6069)
-
Concatenating on Windows throws "Invalid data found when processing input" while it works on Mac and Linux
15 février 2020, par miguelmorinI need to run a command with a nightly build of FFMPEG to report a bug on the
concat
protocol. I found it difficult to compile from source with libx264 support on Linux, and I want to spare my Mac computer, so I use the nightly build on Windows from Zeranoe.I call this command to concatenate the files :
ffmpeg -safe 0 concat -i files_to_combine -vcodec libx264 show.mp4
where
files_to_combine
is :file ./short_DSC_0013.MOV
file ./short_DSC_0014.MOV
file ./short_DSC_0015.MOV
file ./short_DSC_0016.MOV
file ./short_DSC_0017.MOV
file ./short_DSC_0018.MOV
file ./short_DSC_0019.MOVI call this command from the directory containing the video files and
files_to_combine
.On Windows with a nightly build, I get the error :
files_to_combine : Invalid data found when processing input
I changed
file ./DSC_0013.MOV
to these options, all with the same error :file 'short_DSC_0013.MOV'
file '.\short_DSC_0013.MOV'
file 'F:\short_DSC_0013.MOV'How can I debug this error, or what is the syntax for concatenating on Windows with a nightly build ?
Update with log-level 48
I ran the same command with
-v 48
and got :F :\brain squids>C :\Users\migue\Desktop\ffmpeg-20200211-f15007a-win64-static\bin\ffmpeg.exe -v 48 -i files_to_combine -vcodec libx264 show.mp4 ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf libavutil 56. 39.100 / 56. 39.100 libavcodec 58. 68.102 / 58. 68.102 libavformat 58. 38.100 / 58. 38.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 75.100 / 7. 75.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Splitting the commandline. Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’48’. Reading option ’-i’ ... matched as input url with argument ’files_to_combine’. Reading option ’-vcodec’ ... matched as option ’vcodec’ (force video codec (’copy’ to copy stream)) with argument ’libx264’. Reading option ’show.mp4’ ... matched as output url. Finished splitting the commandline. Parsing a group of options : global . Applying option v (set logging level) with argument 48. Successfully parsed a group of options. Parsing a group of options : input url files_to_combine. Successfully parsed a group of options. Opening an input file : files_to_combine. [NULL @ 0000021c781784c0] Opening ’files_to_combine’ for reading [file @ 0000021c78179580] Setting default whitelist ’file,crypto,data’ [AVIOContext @ 0000021c781817c0] Statistics : 182 bytes read, 0 seeks files_to_combine : Invalid data found when processing input
The contents of
files_to_combine
is :file ’short_DSC_0013.MOV’ file ’short_DSC_0014.MOV’ file ’short_DSC_0015.MOV’ file ’short_DSC_0016.MOV’ file ’short_DSC_0017.MOV’ file ’short_DSC_0018.MOV’ file ’short_DSC_0019.MOV’
Update because of wrong command
I had mistyped the command. The right command has a
-f
in front ofconcat
, which I found because the accepted answer was able to make the command work in a similar environment :ffmpeg -safe 0 -f concat -i files_to_combine -vcodec libx264 show.mp4
-
java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied
12 avril 2020, par KANAYO AUGUSTIN UGI am trying to cut a video using
FFmpeg
library fromcom.writingminds:FFmpegAndroid:0.3.2
...
When I try to run my command


String[] complexCommand = { "-y", "-i", inputFilePath,"-ss", "" + trimStart, "-t", "" + trim, "-c","copy", outputFilePath};
execFFmpegBinary(complexCommand);




I get this error :





E/FFmpeg : Exception while trying to run : [Ljava.lang.String ;@c7a48dd

 

java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied





Even after making sure the library loaded successfully



private void loadFFMpegBinary() {
 try {
 if (ffmpeg == null) {
 ffmpeg = FFmpeg.getInstance(cntxt);
 }
 ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
 @Override
 public void onFailure() {
 Log.i("success", "false");
 }

 @Override
 public void onSuccess() {
 Log.i("success", "true");
 }
 });
 } catch (FFmpegNotSupportedException e) {
 } catch (Exception e) {
 }
}




I have enabled
WRITE_PERMISSION
in Android.manifest file, and I also tried to write a file to the storage and it worked.


I guess FFmpeg has a default path to write a file which is
/data/user/0/com.package.name/files/ffmpeg
, but I need to change the default path please anyone with an idea ?

-
FFMPEG, running through subprocess, getting error : "pipe: : Invalid data found when processing input"
19 avril 2020, par mamba9999Im writing a program which getting the stream from ip camera, do with frame what i need and send to ffmpeg for transcoding. Then ffmpeg should convert video and send to output url.
But when i running script, i get the error : "pipe: : Invalid data found when processing input".
Im really newby in ffmpeg. Please help, what i doing wrong.




cap = cv2.VideoCapture("rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov")

command = [
 "ffmpeg",
 "-i", "-",
 "-f", "mpegts",
 "-vcodec", "mpeg1video",
 "-s", "960x540",
 "-b:v", "1000K",
 "-r", "30",
 "-bf", "0",
 "-codec:a", "mp2",

 "http://127.0.0.1:8888/yoursecret"
]

proc = subprocess.Popen(command, stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
out, err = proc.communicate()


print(err)

while True:
 ret, frame = cap.read()
 # _, buf = cv2.imencode('.jpg', frame)
 # img_byte = io.BytesIO(buf.tobytes())
 try: 
 proc.stdin.write(frame.tostring())
 print("SENDED")
 except IOError as e:
 print(e) 
 proc.stdin.close()
 proc.wait() 

proc.stdin.close()
proc.wait()




Traceback



ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
pipe:: Invalid data found when processing input