
Recherche avancée
Autres articles (38)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...)
Sur d’autres sites (3859)
-
Is there a way to open a batch file at a certain line using a command prompt window
14 août 2024, par Voidmaster01Im testing a batch file that Im still in the process of making and I want to open it at line 6 instead of line 1 since ive already run that part of the code. it takes a couple of minutes to run it since im using ffmpeg.


this is the first area of the code


1 @Echo off
2 set /p IPath=Enter the Path of the file you wish to remux from (use "Copy as path" option and keep the Quotations): 
3 set /P M=what is the first letter of the path of your new file?(do not include the semicolon(:))
4 set /p NewPath=Enter the Path you wish to remux to (must be path minus the directory BUT do not use Quotations for this)(I also recommend using a single folder to hold the files while remuxing them before sending them to their separate folders):
5 ffmpeg -i %IPath% -c copy -map 0 "%M%:\%NewPath%"
6 goto :Premiere &:: This command takes inputs from the previous lines and sets up to remux files
7
8 :Premiere &:: this command line starts the preferred editor and waits 30 seconds to allow it to start
9 set /p EDITOR=Enter the .exe file for your prefered editor should look like: 'Adobe Premiere Pro.exe':
10 start "" "%EDITOR%"
11 echo Starting Process. . . Please Wait
12 timeout /t 30
13 tasklist | find /I "%EDITOR%" &:: The next couple of lines test for the editor to see if it opened or not
14 if errorlevel 1 (
15 echo could not start process 
16 goto :FailEditor
17 ) Else (
18 echo Process completed, next question--->
19 goto :choice
20 )



so instead of starting at line 1 i would like to start at line 6 to bypass the longest section of the code.


Im thinking its something along the lines of


Start M:\REMUX.bat at line 6


however
AT
is a command to tell a time to start the batch file so im not sure

-
hls.js not resolving segment file paths correctly for files hosted on S3 and accessed via cloudfront [closed]
25 juillet 2024, par KunalI've a HLS video upload on an S3 bucket with following folder structure


https://bucket-name.us-west-1.amazonaws.com/folder/path/to/video/output.m3u8



The contents of
output.m3u8
file as following :

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:18
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11.011000,
output0.ts
#EXTINF:13.446767,
output1.ts
#EXTINF:7.273933,
./output2.ts
....
.....
....
#EXTINF:1.468133,
output48.ts
#EXT-X-ENDLIST



The HLS segment and playlist file have been created using ffmpeg as below


ffmpeg -i video.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls video/output.m3u8



The
HLS.js
library tries to download segment files from urls as below, completely ignoring thefolder/path/to/video
part of the url.

https://bucket-name.us-west-1.amazonaws.com/output0.ts
https://bucket-name.us-west-1.amazonaws.com/output1.ts
https://bucket-name.us-west-1.amazonaws.com/output2.ts



I tried the same HLS video/playlist url with
video.js
player and that seems to be correctly fetching the segment files, but unfortunately I am restricted to usinghls.js
and need to make this work, what might I be doing ?

I want to avoid writing absolute segment paths in
m3u8
file because its likely that we may change the domain we serve frombucket-name.s3.amazonaws.com
to some CDN like cloudfront or maybe even a custom domain, so flexibility will be nice.

I tried manually editing the
output.m3u8
file to absolute url of segment files, that worked but is not viable/scalable solution it seems

-
how to use ffmpeg in python to record a specific window with system audio without command line and cleanly stop it
17 juillet 2023, par JaimeI'm working in an application that is capturing specific window from my desktop and grabbing the system audio, it application is packaged with pyinstaller with —windowed parameter, when I start to capture video it work perfectly and in a debbug execution it stop cleanly, but when I run it from the packaged file, the ffmpeg process never stop. I'm using subprocess.popen to launch ffmpeg by this way :


command = ['ffmpeg','-f', 'dshow', '-i', f'audio={device}', '-f', 'gdigrab', '-framerate', '30', '-i', f'title={device_model}', '-c:v', 'libx264', '-preset', 'slower', '-crf', '22', f'{file_path}']
subprocess.Popen(comando,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE,shell=False)