
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (65)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
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 (13936)
-
Batch file runs on one folder and not the next [closed]
9 novembre 2020, par user1738673Who Closed this question before it was resolved ?!? How can I get it reopened ?


After all of the suggestions, here is the code to run in the folder of flac files :


cd /D "%~dp0."

FOR %%# IN ("*.flac") DO (Title %~nx0 Processing: %%~nx#
 ffmpeg -i "%%~nx#" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~n#.mp3")
 
ECHO Completed %~nx0
PAUSE



Here are my current troubleshooting steps as completed :


I renamed the files in one of the folders in which it does not run to "a.flac", "b.flac", "c.flac", etc. That is to make sure it is not a filename related problem. It did not run.


I renamed the folder itself to a single letter to make sure it was not a folder name issue (F :\MUSIC\j). It did not run.


I copied the entire folder and gave it a new single-letter name (F :\MUSIC\y). It did not run.


I copied the files to a newly-created single-letter named folder at the same directory level (F :\MUSIC\d). It did not work.


I copied the flac files and bat file from the single-letter folder to a newly created single-letter folder. It did not run.


So, I went back the original folder and RENAMED MY .bat FILE from
single folder - flac to 192.bat
to192.bat
. It ran perfectly.

I went back and renamed the .bat file in all folders described above. They all ran perfectly.


Next, I renamed my master .bat file to
single_folder_flac_to_192.bat
. I ran it in the original file folder with all of the original names for folder and files. It ran perfectly.

I then copied it into each of the folder described above. It ran perfectly.


I then went back to my original code and renamed it to
192a.bat
. This still did not run in the original folder, but ran perfectly in the others I created.

So, I renamed my original folder from 'F :\MUSIC\Yanni - Live At The Acropolis (1994) [FLAC]
to
ylata`. It did not run.

That is all I have time for before needing to go to work. More at lunch time.


Original Post Starts Here :


I am using Windows 10 Pro on my home PC.


I have a batch file which uses ffmpeg to create mp3 from flac and then delete the flac. It runs perfectly in most folders of music. The code is here :


FOR %%a IN ("*.flac") DO (Title %~0 Processing: %%~na.flac
 ffmpeg -i "%%~na.flac" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~na.mp3"
 if not errorlevel 1 if exist "%%~pna.flac" del /q "%%~pna.flac")
ECHO Completed %~n0
PAUSE
 



In some folders, when I run the batch, it just blinks and goes away. Yes- there are flac files in the folders.


I have checked the different music folders for their properties (read only, access, etc.) and they look identical. The file names are "normal". It doesn't matter which drive I copy the folder into, the results are the same.


I have run the file as Administrator and get the same result.


What else should I be looking into ?


-
Announcing TMPGEnc 4 : now with x264 !
A few months ago, we announced a commercial licensing program so that even companies unable to use GPL software in their products have a chance to use the open source x264 instead of proprietary alternatives. The system worked on two basic concepts. First, all licensees would still be required to give their changes to x264 back to us : x264 must forever remain free, with no useful contributions kept hidden from the community. Second, all the profits would go directly back to x264, primarily to the developers who’ve made the most significant contributions to x264 over the years, but also to funding future development, bounties for new features, as well as contributing to other related projects (e.g. Videolan and ffmpeg).
Over the past couple of months, we’ve gotten an enormous response ; over 40 companies have inquired about licensing, with more contacting us every day. Due to the sheer volume of interest, we’ve partnered with CoreCodec, the creators of the free Matroska container format and developers of CoreAVC, to make x264 as widely available as possible in the world of commercial software as it is in the world of open source. All of this is already filtering back to benefiting x264 users, with many bugs being reported by commercial licensees as well as some code contributed.
Today, we announce the first commercial consumer encoding software to switch to x264 : Pegasys Inc.’s TMPGEnc. Expect many more to follow : with x264 now available commercially as well as freely, there are few excuses left to use any other H.264 encoder. Vendors of overpriced, underpowered proprietary competitors should begin looking for new jobs.
-
VideoJS seekable().end(0) always returns 0
18 septembre 2022, par Clovis NyuI am trying to jump to a particular timestamp of a video, but using
player.currentTime(someTime)
always sends the video back to the start. Upon doing some research, I found that runningplayer.seekable().end(0)
always returns 0. I realize that this might be a problem with the fact that I'm using MP4, but I've tried using

ffmpeg -i input.mp4 -c copy -movflags +faststart output.mp4



to fix it and it doesn't work. Below is my code




 


 <source src="http://localhost:8000/some_video.mp4" type="video/mp4"></source>
 <p class="vjs-no-js">
 To view this video please enable JavaScript, and consider upgrading to a
 web browser that
 <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video
 </a></p>


<button>Jump</button>

<code class="echappe-js"><script src="https://vjs.zencdn.net/7.7.5/video.js"></script>

<script>&#xA; var VIDEO_JS = videojs(&#x27;my-video&#x27;);&#xA;&#xA; function jump() {&#xA; VIDEO_JS.currentTime(10);&#xA; }&#xA;</script>




For more context, the videos are taken from youtube, the audio is then split into vocals and accompaniment using spleeter, then ffmpeg is used to merge back the resulting audio files into the original video.


Any help would be appreciated. Thanks !