
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (72)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (10494)
-
split videos with ffmpeg
23 novembre 2020, par 5DiraptorI'm trying to create a script that scans a directory, and for all videos larger then X size, splits them down into smaller chunks.


There are two similar questions :


- 

- Using ffmpeg to split video files by size
- Split into equal parts and convert many mp4 videos using ffmpeg






Neither of these work in the way I want. The first you have to manually input every file that you want to process. The second doesn't check for filesize, or output the files in the way I want.


So far, this is the contents of the .bat file :


%~d1

for %%a in (*.MOV) do (

if %%~za GTR 2000000000 (

REM usage %%a <filename>
set "_filename=%~n1"
set "_tally=.SPLIT-%03d"
set "_extension=%~x1"

set "_outputname=%_filename%%_tally%%_extension%"


 ffmpeg -i "%%a" ^
 -crf 0 -c copy -map 0 -segment_time 00:00:30 -f segment -reset_timestamps 1 ^
 %_outputname%
)
)
pause
</filename>


My aim is for the script to work in the following way :


- 

- Drag a video (from a folder of videos) onto the .bat file.
- Script opens up, and targets each file ending
.MOV
, and is greater then 2GB - ffmpeg splits the video down into >2GB chunks. (I know it's currently split down in 30 second chunks, still working on understanding how to use the
-fs
parameter). - Each chunk gets saved with the original filename and extension, but the filename is suffixed with ".SPLIT" and then a unique number that relates to which file it is - first file is 000 and second is 001 etc.










Problems :


- 

- Firstly, I want to split by filesize and not time, but I don't understand how to use the -fs parameter in this case. I guess I could use something like
ffprobe -i input.file -show_format -v quiet | sed -n 's/duration=//p'
in conjunction with it but I'm not confident... - Secondly, I'm getting a problem with
%03d
in the .bat. Think I'm mixing up languages ? It retrieves the filepath of the .bat file instead of counting number of loops.






Any help really appreciated !


-
ffmpeg - correctly handling misaligned audio/video input stream before outputting to rtmp
4 décembre 2020, par hedgehog90I use a video player called MPV to transcode a dynamic playlist of media files.


I pipe MPV's encoded output into FFMPEG and format it for rtmp delivery.


However the playlist may contain media with misaligned audio and video, ie - the audio track may be shorter / longer than the video track.


No matter what MPV will only output what it's given. So if my media file has audio that is 1 second long and video that is 2 seconds long, it will output a media stream with exactly the same misalignment, rather than generating null audio or skipping to the next item in the playlist when it first encounters an active stream ending (eof).


For example, assuming my playlist was full of problematic media where the audio and video of each file was misaligned :




If I output this media stream to a popular streaming service's server, it could lead to stuttering and/or loss of a/v sync.
Similarly, if I output this media stream to a file and played it back in MPV or another video player, the result appears to be more like this :




I have tried to fix this in MPV in all sorts of ways, trying every relevant command line option available. I even wrote a user script that detects 'eof' audio and skips to the next item in the playlist, but it is not fast enough and still leads to small gaps of audio.


So my only hope is correcting it in ffmpeg. In the event of null audio/video, I need a fallback or a generative filter that can fill these empty gaps with silence (audio) or a colour/image (video).


I'm open to any ideas, and if my understanding in a/v encoding is a little off please educate me.


-
Complex, how to -o, -mv or similar into this code ? [closed]
13 décembre 2020, par Sounds GoodTrying to change location of output file
Using Windows>Ubuntu app>Shell/Cmd>Bash (because Windows alone code does not work at all)
Using Ffmpeg/Youtube-dl/Sed together
It works on its own :


ffmpeg $( youtube-dl -f bestvideo+bestaudio --youtube-skip-dash-manifest -g https://www.youtube.com/watch?v=zSyNOO_gvUY | sed "s/.*/-ss 04:09 -to 04:15 -i &/") -map 0:v -map 1:a -c:v libx264 -c:a aac name.mp4


Bash starts as :
:/mnt/c/Users/Machine$


Fallowing just few of many problems I tried to figure out for this :


should I use
/
or\
to "subfolder"

Start from
/
orC
orDesktop
etc.

does
-o
need to be configured and if so how

placements after
Youtube-dl
or in the ending by keepingname.mp4
or not, or changing it to
'-o %(title)s.%(ext)s'
(title change needed as well thought)

help.