
Advanced search
Other articles (108)
-
Les vidéos
21 April 2011, byComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 May 2011, byThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 April 2011, byMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus; de pouvoir déployer rapidement une multitude de sites uniques; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
On other websites (7254)
-
avformat/mov: support for LCEVC tracks
15 August 2024, by James Almer -
Using Rust to execute FFMPEG commands
5 April 2023, by MypantsrtooobigI am using rust to envoke some an ffmpeg command to record desktop audio, microphone audio, and desktop video. I type the command in the CMD and it works, here is that command.

ffmpeg -hide_banner -f dshow -i audio="Microphone (Arctis Nova Pro Wireless)" -f dshow -i audio="What U Hear (Sound Blaster Audigy 5/Rx)" -filter_complex amix=inputs=2 -f gdigrab -framerate 60 -show_region 1 -video_size 600x600 -offset_x 10 -offset_y 20 -i desktop -strftime 1 -y "out%Y-%m-%d_%H-%M-%S.mp4"


And this is the command object with all the arguments


let mut ffmpegcommand = Command::new("ffmpeg");
 ffmpegcommand.arg("-hide_banner")
 .arg("-y")
 .arg("-f")
 .arg("dshow")
 .arg("-i")
 .arg("audio=\"Microphone (Arctis Nova Pro Wireless)\"") 
 .arg("-f")
 .arg("dshow")
 .arg("-i")
 .arg("audio=\"What U Hear (Sound Blaster Audigy 5/Rx)\"")
 .arg("-filter_complex")
 .arg("amix=inputs=2")
 .arg("-f")
 .arg("gdigrab")
 .arg("-framerate")
 .arg("60")
 .arg("-show_region")
 .arg("1")
 .arg("-video_size")
 .arg("600x600")
 .arg("-offset_x")
 .arg("100")
 .arg("-offset_y")
 .arg("100")
 .arg("-i")
 .arg("desktop")
 .arg("-strftime")
 .arg("1")
 .arg("G:\\School\\Capstone\\screenshotFFMPEG\\%Y-%m-%d_%H-%M-%S.mp4");
 ffmpegcommand.status().expect("DID NTO WORK LOSER");



Envoking this command results in this error from the console:


[dshow @ 0000026421be4880] Could not find audio only device with name ["Microphone (Arctis Nova Pro Wireless)"] among source devices of type audio.
[dshow @ 0000026421be4880] Searching for audio device within video devices for "Microphone (Arctis Nova Pro Wireless)"
[dshow @ 0000026421be4880] Could not find audio only device with name ["Microphone (Arctis Nova Pro Wireless)"] among source devices of type video.
audio="Microphone (Arctis Nova Pro Wireless)": I/O error



I would think that the error is the device name is wrong being that they NEED to have the "'s when ffmpeg gets it but I am lost because in the error the name is perfectly identical with the output for the device when I do a ffmpeg -list_devices command


[dshow @ 0000013ea9cfe600] "Microphone (Arctis Nova Pro Wireless)" (audio)
[dshow @ 0000013ea9cfe600] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{DE99F572-E285-4EBC-A263-2D782B212FA7}"



There are no spaces and to my knowledge the names are identical. I am at a loss, any assistance is appriciated.


-
PowerShell doesn't recognize string correctly
20 January 2020, by fdroidI’m passing a command to powershell
Dim command As String
command = "ffmpeg -vsync 0 –hwaccel cuvid -c:v h264_cuvid –resize 1280x720 -i D:\Imagens\nova\bol.mkv -c:a copy -c:v h264_nvenc -b:v 5M D:\Imagens\nova\bol_encod.mkv"with
Dim powerShell As String = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
Process.Start("powershell", "-noexit " + command)but powershell returns
Unable to find a suitable output format for ’ÔÇôhwaccel’ ÔÇôhwaccel:
Invalid argumentwhere I believe ’ÔÇôhwaccel’ to be –hwaccel; That’s completely strange, once when I past the code directly on PowerShell it works fine.
Is that a problem with my string?
thank you!