
Recherche avancée
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (10725)
-
Issue with yt-dlp and FFMPEG Converting Webm to MP4 for 360 video : Unsupported channel layout "ambisonic 1"
22 janvier 2024, par William L W LI am trying to convert .webm files to mp4. These are 360 videos that have been downloaded using yt-dlp.


I have been using this command successfully, but it does not work on an M2 macbook pro. It works fine on PC.


ffmpeg -y -i "/Users/x/Movies/Tropical_Rainforest_360.webm" -c:v libx265 -preset fast -crf 21 -vf "scale=4096x4096:out_range=full" -pix_fmt yuvj420p -aspect 1:1 -movflags faststart "/Users/x/Movies/Tropical_Rainforest_360.mp4"



The error messages are as follows :


[aac @ 0x12ae1fea0] Unsupported channel layout "ambisonic 1"
[aac @ 0x12ae1fea0] Qavg: nan
[aost#0:1/aac @ 0x12ae1fc30] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Invalid argument
[swscaler @ 0x110dd0000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x120158000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x130208000] deprecated pixel format used, make sure you did set range correctly
 Last message repeated 1 times
[out#0/mp4 @ 0x600003f8c480] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=N/A bitrate=N/A speed=N/A 
Conversion failed!




Context : I work in an educational setting which caters for vulnearble pupils. We cannot use Youtube in real time, this is mainly due to adverts or suggested videos that may trigger our pupils. Some children have mental health issues. Some children have also not been outdoors for several months/years due to medical conditions. We use 360 videos and VR to help bring the outside world inside, The YoutubeVR app is not an option since there is no way to install adblockers.


The same script above works fine on a PC virtual machine which I can remote into from my Mac.


-
avdevice/decklink_enc : add support for SMPTE 2038 VANC packet output
30 juin 2023, par Devin Heitmuelleravdevice/decklink_enc : add support for SMPTE 2038 VANC packet output
Support decoding and embedding VANC packets delivered via SMPTE 2038
into the SDI output. We leverage an intermediate queue because
data packets are announced separately from video but we need to embed
the data into the video frame when it is output.Note that this patch has some additional abstraction for data
streams in general as opposed to just SMPTE 2038 packets. This is
because subsequent patches will introduce support for other
data codecs.Thanks to Marton Balint for review/feedback.
Signed-off-by : Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by : Marton Balint <cus@passwd.hu> -
Trouble with Remuxing Video Files in C# using ffmpeg
25 juillet 2023, par sadra hoseiniI am trying to remux MP4 video files in C# using FFmpeg to change their container format without re-encoding the video and audio streams.


However, my current implementation doesn't seem to be working, and I'm encountering issues. Here's the code I've been using :


using System.IO;

private void B()
{
 int i = 0;
 foreach (string file in files)
 {
 while (File.Exists($"{Path.GetDirectoryName(file)}\\{i}.mp4"))
 {
 i++;
 }

 string outputDirectory = Path.GetDirectoryName(file);
 string outputFilePath = Path.Combine(outputDirectory, $"{i}.mp4");

 // Create the output directory if it doesn't exist
 Directory.CreateDirectory(outputDirectory);

 using (Process process = new Process())
 {
 process.StartInfo.FileName = "ffmpeg.exe";
 process.StartInfo.Arguments = $"-i \"{file}\" -c:v copy -c:a copy \"{outputFilePath}\"";
 process.StartInfo.CreateNoWindow = true;
 process.Start();
 process.WaitForExit();
 MessageBox.Show("done");
 }
 }
}



Problem :

when I run the code, nothing happens, and the video files are not remuxed as expected. TheMessageBox.Show("done");
line executes without any issues.

Additionally, I've heard that FFmpeg may not create the output file if the specified directory doesn't exist, so I want to know if there's a way to handle this properly within the code.


I've made sure that FFmpeg is installed correctly and the input file paths are accurate.


Could someone please review my code and point out any potential issues or suggest a correct approach to remuxing MP4 video files using FFmpeg in C# ?