
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (67)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP 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 (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9109)
-
ffmpeg fail to run when converting file in window "Error opening output" [closed]
8 juillet, par Lyhourt TeIn my Windows 11, I use this code to use ffmpeg to convert video from one type to another type. The code is simple, it just loops and finds the target file extension and runs ffmpeg to convert the video
This code used to work just fine, but now it's not working anymore. I think it maybe because of the Windows 11 security update.


import os
import subprocess

def convert_ts_to_mp4(folder_path):
 # Ensure the folder exists
 if not os.path.isdir(folder_path):
 print(f"Folder '{folder_path}' does not exist.")
 return
 
 # Loop through files in the folder
 for filename in os.listdir(folder_path):
 if filename.endswith(".ts"): # Check if the file is a .ts file
 print("read file:", filename)
 ts_file = os.path.join(folder_path, filename)
 mp4_file = os.path.join(folder_path, filename.replace(".ts", ".mp4"))
 
 print("ts file:", ts_file)
 print("mp4 file:", mp4_file)
 
 # Run ffmpeg command
 command = ["ffmpeg", "-i", ts_file, mp4_file]
 subprocess.run(command, check=True)
 print(f"Converted: {filename} -> {os.path.basename(mp4_file)}")

if __name__ == "__main__":
 folder_path = os.path.dirname(os.path.abspath(__file__)) # Change this to your actual folder path
 convert_ts_to_mp4(folder_path)



The error :


Input #0, mpegts, from 'C:\Users\chhor\Downloads\Video\script\python-script-for-automation\1.ts':
 Duration: 00:44:25.20, start: 1.440000, bitrate: 3095 kb/s
 Program 1
 Metadata:
 service_name : Service01
 service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x872 [SAR 959:960 DAR 959:436], 25 fps, 25 tbr, 90k tbn, start 1.480000
 Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 130 kb/s, start 1.440000
[out#0/mp4 @ 0000014f60d66d80] Error opening output C:\Users\chhor\Downloads\Video\script\python-script-for-automation\new.mp4: No such file or directory
Error opening output file C:\Users\chhor\Downloads\Video\script\python-script-for-automation\new.mp4.
Error opening output files: No such file or directory
Traceback (most recent call last):
 File "C:\Users\chhor\Downloads\Video\script\python-script-for-automation\ts.py", line 27, in <module>
 convert_ts_to_mp4(folder_path)
 File "C:\Users\chhor\Downloads\Video\script\python-script-for-automation\ts.py", line 22, in convert_ts_to_mp4
 subprocess.run(command, check=True)
 File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 571, in run
 raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:\\Users\\chhor\\Downloads\\Video\\script\\python-script-for-automation\\1.ts', 'C:\\Users\\chhor\\Downloads\\Video\\script\\python-script-for-automation\\new.mp4']' returned non-zero exit status 4294967294.
</module>


-
Model the loss of video codec
10 janvier 2024, par MonacoI want to use a neural network to model the error loss after video encoding. The modeling process is as follows :


I use ffmpeg to encode and decode video frames. Since this process is not implemented using tensors in PyTorch and cannot compute gradients, I have to separately implement a neural network in PyTorch to enable gradient backpropagation. However, it turns out that the neural network cannot effectively learn the video encoding.


I want to know if there are currently any implementations of video encoders or decoders that support backpropagation of gradients. I don't necessarily need to update the parameters of the encoder/decoder, but I want it to support gradient backpropagation so that I can use it for various tasks related to deep learning.


-
How to make Enqueue callback run on seperate thread on OpenSL ES ?
19 décembre 2020, par MichaelI am a newbie start learning openSL ES.


I understand I need to register a callback like :


result = (*m_BufferQueue)->RegisterCallback(m_BufferQueue, AudioPlayerCallback, this);



And inside my callback I simply need to call this :


SLresult result = (*m_BufferQueue)->Enqueue(m_BufferQueue, audioFrame->data, (SLuint32) audioFrame->dataSize);



Then, whenever the queue is empty, it will automatically call the callback function and consume stuff I feeding in the other data queue(stored decoded data).


My question is, how to make this callback run on other thread ? So it won't block my main thread(I am decoding in main thread and feeding PCM data in a self defined queue).