
Recherche avancée
Autres articles (69)
-
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
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 -
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 (13479)
-
12 ways Matomo Analytics helps you to protect your visitor’s privacy
-
UWP run ffmpeg process to capture
16 février 2018, par InspiracvionVI’m developing a UWP app with C# and I need to start FFmpeg in a process.
I use this
ffmpeg
command which works good in CMD :D :\ffmpeg.exe -f dshow -crossbar_video_input_pin_number 1 -i
video="AVerMedia BDA Analog Capture" -vcodec rawvideo -pix_fmt yuv420p
-s 864x768 -r 10 "D :\capture\output.yuv" -loglevel 16But when I start the process with the same command and arguments in my UWP app I get this error from ffmpeg :
[dshow @ 000001bd43907e80] Unable to BindToObject for AVerMedia BDA
Analog Capture [dshow @ 000001bd43907e80] Could not find video device
with name [AVerMedia BDA Analog Capture] among source devices of type
video. video=AVerMedia BDA Analog Capture : I/O errorThis is my code :
string filename = @"D:\ffmpeg.exe";
string arg = " -f dshow -crossbar_video_input_pin_number [VIDEOPIN] -i video=\"AVerMedia BDA Analog Capture\" -vcodec rawvideo -pix_fmt [PIXELCONF] -s [SIZE] -r [FPS] \"[FOLDER]\\[VIDEONAME]\" -loglevel 16";
arg = path.Text;
if (!File.Exists(filename))
System.Diagnostics.Debug.WriteLine("Not exist ffmpeg");
arg = arg.Replace("[VIDEOPIN]", "1");
arg = arg.Replace("[VIDEODEVICE]", "AVerMedia BDA Analog Capture");
arg = arg.Replace("[PIXELCONF]", "yuv420p");
arg = arg.Replace("[SIZE]", "864x768");
arg = arg.Replace("[FPS]", "10");
arg = arg.Replace("[FOLDER]", "D:\\capture");
arg = arg.Replace("[VIDEONAME]", "output.yuv");
ProcessStartInfo pi = new ProcessStartInfo(filename, arg);
System.Diagnostics.Debug.WriteLine(pi.FileName + " " + pi.Arguments.ToString());
pi.RedirectStandardInput = true;
pi.RedirectStandardOutput = true;
pi.RedirectStandardError = true;
pi.UseShellExecute = false;
pi.CreateNoWindow = true;
process = new Process();
process.StartInfo = pi;
process.EnableRaisingEvents = true;
process.OutputDataReceived += new DataReceivedEventHandler(MyProcOutputHandler);
process.ErrorDataReceived += new DataReceivedEventHandler(MyProcErrorHandler);
process.Exited += new EventHandler(ExitedProcess);
process.Start();
process.BeginErrorReadLine();
process.BeginOutputReadLine();EDIT : This is what i have with :
ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version N-90054-g474194a8d0 Copyright (c) 2000-2018 the FFmpeg
developers built with gcc 7.2.0 (GCC) configuration : —enable-gpl
—enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —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-libmfx —enable-amf —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth libavutil 56. 7.101 / 56. 7.101 libavcodec 58. 11.101 / 58. 11.101 libavformat 58. 9.100 / 58. 9.100 libavdevice 58. 1.100 / 58. 1.100 libavfilter 7. 12.100 / 7. 12.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 [dshow @ 0000029065b07940] DirectShow video devices (some may be both video and audio devices) [dshow @ 0000029065b07940]
"AVerMedia BDA Analog Capture" [dshow @ 0000029065b07940] Alternative
name
"@device_pnp_~?\pci#ven_1a0a&dev_6202&subsys_620f1461&rev_01#4&3632f028&0&00e6#65e8773d-8f56-11d0-a3b9-00a0c9223196ca465100-deb0-4d59-818f-8c477184adf6"
[dshow @ 0000029065b07940] "AVerMedia BDA Analog Capture Secondary"
[dshow @ 0000029065b07940] Alternative name
"@device_pnp_~?\pci#ven_1a0a&dev_6202&subsys_620f1461&rev_01#4&3632f028&0&00e6#65e8773d-8f56-11d0-a3b9-00a0c9223196ede957b0-eaa5-4bf4-acf3-6e10cb4836c3"
[dshow @ 0000029065b07940] DirectShow audio devices [dshow @
0000029065b07940] Could not enumerate audio only devices (or none
found). dummy : Immediate exit requested -
Using ffmpeg To Convert wav file to g729 file
30 novembre 2023, par UserProgI am using
ffmpeg
in my Windows laptop to convert.wav
to.g729
format. I have spent some times on the documentation, tutorials, and some threads with no success till now.


Below is my
ffmpeg
version details :


ffmpeg version N-89674-g57d0c24132 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 8.100 / 7. 8.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100



I have tried
ffmpeg -i testA.wav -c:a libavformat -f g.729 output.g729
and ended up with error saying[NULL @ 0000022aa639dd80] Requested output format 'g.729' is not a suitable output format
output.g729: Invalid argument
.


I did try some different format names with no success still.



Appreciate some guidance on this. Thanks.