
Recherche avancée
Autres articles (27)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5244)
-
Moviepy write_videofile changes number of video and audio frames even after using 'rawvideo' as the codec parameter
14 mars 2019, par Jaideep SagarI am using moviepy (Python) to read video and audio frames of a video and after making some changes I am writing them back to a videofile, say new.avi, to preserve the changes, or to avoid compression, I am using codec= ’rawvideo’ in write_videofile function. But when I read the video and audio frames back, the number of video and audio frames are different than when they were when written, they are usually increased.
Can anybody tell me the reason, ? is it because of the ffmpeg used or some other reason ? Does it happen always or there is some problem in my machine ? Thank you :-) -
How to cleanup data to reuse ffmpeg.wasm instance
24 avril, par rickyzI have multiple files that I am trying to process back to back using ffmpeg.wasm. I have noticed that after around 150 runs, a memory issue comes up :
RuntimeError: memory access out of bounds
. I tried doing cleanup usingffmpeg.deleteFile()
on both the input and output files after every run, but that didn't make a difference. Is there something I am missing that will allow me to reuse the ffmpeg instance as many times as I want ?

If I can avoid it, I do not want to have to call
ffmpeg.terminate()
after each use since loading ffmpeg for the next use takes a long time ( .5 secs on my test machine).

Note : I am using the updated ffmpeg.wasm v0.12+ in a browser setting


-
reading lines from txt file into .csv
7 janvier 2014, par Dynamite Mediai have a .TXT file i created via batch file using ffmpeg. it returns the following info ( more but trying to make short)
major_brand=isom
minor_version=512
compatible_brands=isomiso2avc1mp41
creation_time=1970-01-01 00:00:00
encoder=Lavf53.19.0
genre=sport
track=1
title=IRWX_TV_Vol_01_1_Pt_4
episode_id=0101the .TXT file comes back with 3 of these above. well i want to be able to only use some of the info above and then i want to create a .CSV file so that i can load into .XLS file
I have used the following and it's close :
REM now lets get info we need from result.txt
pause
REM checks how many times finds genre and loops that many times
FOR /f "delims=" %%b IN ('findstr "genre" result.txt') DO (
for %%f in (result.txt) do (
set i=0
for /F "delims= tokens=2,3*" %%l in (%%f) do (
set /A i+=1
set line!i!=%%l
)
echo !line9!, !line6!, !line8!, >> result.csv
)
)
pauseand this is coming back with the following :
title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101ONLY the 1st video title from .TXT file and not each of them
AND i would prefer it to come back like this :
IRWX_TV_Vol_01_1_Pt_4,sport,0101
Minus the variables, the "=" and the space issues you see above.
i have been going over and over this trying different things and it is just not working.
Hopefully someone here can see the issue and help out, Thanks