
Recherche avancée
Autres articles (68)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5098)
-
How do I use find and ffmpeg to batch convert a bunch of .flac files to .mp3 ?
30 avril 2019, par KeithI have a directory with a bunch of .flac files that I need to convert to .mp3. I plan to use
ffmpeg
from the command line to do the conversions and I’d like to avoid doing this manually for every file. I’m familiar with thefind
command but I’m having difficulty using it with ffmpeg which requires both input and output filenames. I imagine using something likefind . -name "*.flac" -exec ffmpeg -i {}.flac {}.mp3 +
But of course this doesn’t work. For one thing it fails to strip prefixes and suffixes from the filename being passed to ffmpeg.
Please also note that the filenames include whitespace so the solution has to ignore whitespace successfully. I’m also on OS X having built ffmpeg with homebrew.
-
hevc Could not find ref with POC 34
14 août 2023, par Rushikesh Date- 

-
I am trying to send Rtsp video (comes from RTSP camera URL) to the ANT media server.


-
I am using LibVLC to play video locally in app.


-
And I am using FFMPEG library for sending the RTSP url video to the ANT media server But In initial 20 seconds this corrupted frame appear. and following error comes in logs

"[hevc @ 0xe86ff800] Could not find ref with POC 34"This is the corrupted frame appear in between video









The RTSP video Url should play smoothly on Ant media server without any interruption.


`String[] cmd = {
 "-rtsp_transport",
 "tcp", // Choose appropriate transport (e.g., "udp" or "tcp")
 "-i",
 "rtsp://127.0.0.1:8554/main.898", // Source RTSP stream URL
 "-filter:v",
 "scale=1280:720",
 "-c:v",
 "libx264", // Video codec for transcoding (you can choose other codecs if needed)
 "-preset",
 "ultrafast", // Video preset for transcoding speed (adjust as needed)
 "-max_delay",
 "1000000",
 "-an",
 "-f",
 "flv", // Output format, RTMP requires FLV container
 "rtmp://streamingServer.com/LiveApp/gdyggcshvcvhcvv " // Ant Media Server RTMP endpoint
 };

 try {
 // Execute FFmpeg command
 fFmpeg.execute(cmd, new FFmpegExecuteResponseHandler() {
 @Override
 public void onSuccess(String message) {
 }
 @Override
 public void onProgress(String message) {
 }
 @Override
 public void onFailure(String message) {
 
 }
 @Override
 public void onStart() {
 }
 @Override
 public void onFinish() {
 
 }
 });
 } catch (FFmpegCommandAlreadyRunningException e) {
 Log.e("FFmpeg", String.valueOf(e));
 // Handle FFmpeg command already running error
 }`



-
-
ProcessBuilder Can't Find a File for Conversion ?
19 avril 2018, par Sarah SzaboI’m running a simple script (On a Kubuntu 17.10 OS) to convert from a .mp4 file to .opus, not that this really matters though. I’ve verified that the command works as intended by making the program print out the command, then navigating to the directory and executing it there. It works and converts the file to .opus.
The problem is that when it is run via process builder, it no longer works. I can’t understand why, as the process should be localized by calling the
.directory(temporary-folder-path)
method. Yet, in the output of ffmpeg when it runs via the program, seems to indicate that it can’t find the file, which is in the the temp folder.private void processOP(String... commands) throws InterruptedException, IOException {
System.out.println("About to Initiate (Temp Folder Path): " + this.diskManager.getTempDirectory());
//Print out FFMPEG Command
String s = "";
for (String st : new ProcessBuilder(commands)
.directory(this.diskManager.getTempDirectory().toFile()).inheritIO().command()) {
s += " " + st;
}
System.out.println("COMMAND: " + s);
//Actually do it
Process proc = new ProcessBuilder(commands)
.directory(this.diskManager.getTempDirectory().toFile()).inheritIO().start();
proc.waitFor();
}The output yields the temporary folder directory and the command :
About to Initiate (Temp Folder Path): /tmp/OPUS Converter Temporary Directory5521626892860463135
COMMAND: ffmpeg -i "Sarah Szabo -- The Fourtyth Divide.mp4" -y -b:a 320k -metadata title="The Fourtyth Divide" -metadata artist="Sarah Szabo" "Sarah Szabo -- The Fourtyth Divide.opus"And Execution Reveals that the conversion attempt fails due to not being able to find the file :
ffmpeg version 3.3.4-2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (Ubuntu 7.2.0-8ubuntu2)(Lots of FFMPEG Stuff)
Then :
"Sarah Szabo -- The Fourtyth Divide.mp4": No such file or directory
This is mysterious because I’ve executed the very same code in a localized terminal at the temporary directory. It converts successfully. This leads me to believe that somehow this is a localization issue. I should add that I’ve checked the file path to the temp directory as well, this is the folder that I’ve intended and isn’t some other one. It contains the file as well. There are no spelling mistakes that I can detect in the filenames, and i have checked them, as well as copy-pasting them to ensure that there are no misspellings.