
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (95)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (12469)
-
Concat video files using ffmpeg in individual subfolders with shell script [closed]
18 août 2022, par WeatherdarkI had a Windows script that would do what I want, but I switched my server to Unraid so now I need a new script. Anyway, enough backstory.


I regularly have media that is named in a style like "Videoname CD(Number).ext". They get stored in subfolders called Videoname with a different folder for each video.


What I need is a script that goes through each subfolder and creates a concat.txt file with the names of each video file ending in CD(number) in it, in numerical order, that will then call ffmpeg to concat the files using the concat.txt in each subfolder, placing the video file (named after the subfolder) into a folder like /mnt/User/Pool/Finished/Videofile. Then, hopefully it will delete the concat.txt file so I know which folders are finished with a quick look.


I know the ffmpeg concat options for that part, I just have no idea what to use to make sure the resulting video file is named after the subfolder it came from.


I could do this in Windows (albeit in a hacky, not very pretty way), but I have no idea how to accomplish this in Linux.


As an example...




/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD1.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD2.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD3.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD4.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD1.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD2.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD3.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD4.mp4


Put through ffmpeg to concat, results in files


/mnt/User/Pool/Finished/10.10.2022.0034.Recording.mp4


/mnt/User/Pool/Finished/10.11.2022.0254.Recording.mp4




Hopefully that makes sense.


Someone closed this because it wasn't "focused enough" and didn't focus on one thing... but there is ONLY one thing that it needs to do.


I have no idea what they would want me to change to fix what isn't broken, so I fundamentally am at a loss. The script just needs to search through subfolders, create a concat.txt file and send that file to ffmpeg creating the new file, named after the folder, in a new location. That is literally as focused as I can make it.


-
ffpmeg extracting frames produces too many images
7 septembre 2019, par AbishurI’m using FFMpeg to extract some png files from a video using the following command :
ffmpeg -i FILE.mp4 -vf "select=not(mod(n\,75))" -vsync vfr img_%03d.png
the source video has a duration of 2898 seconds and a framerate of 25 FPS. This means I should be grabbing a picture every 3 seconds for 966 pictures.
However, instead I’m getting 1158 pictures. After doing some math I’ve discovered that that is the within 2 pictures of what I would expect if I was grabbing the 75th frame from a 30 FPS video.
I’ve tried -framerate=25 but it still produces the same amount of pictures. The video does have a variable framerate, however using ffprobe it says that the max FPS is 25.47. So even if it was at the max FPS the whole video then I’d still only expect to see 984 pictures.
Is there anyway to tell FFMpeg that my source video is only 25 fps ? Or am I missing something obvious ?
-
Can't get FFMPEG to convert Samsung Motion Photos from .jpg to .mp4 [closed]
27 août 2024, par welbeebeeI pulled a bunch of Samsung Galaxy S21 Ultra motion photos to my PC (Windows 11) for video editing, but they were in .jpg, and for some reason Microsoft Clipchamp couldn't convert them to video. But, I knew the motion photos were intact, bc Microsoft Photos was showing the MOTION option and playing the videos just fine.
So, I'm in FFMPEG just throwing everything at the wall, but can only get still MP4's out of it, with none of the video.


Here's the breakdown of what I'm looking at for :

ffmpeg -i input.jpg


Input #0, image2, from '20240623_233601.jpg':
 Duration: 00:00:00.04, start: 0.000000, bitrate: 874324 kb/s
 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 2944x2208 [SAR 59:59 DAR 4:3], 25 fps, 25 tbr, 25 tbn



So to get the whole folder converted, I'm trying :

for %i in (*.jpg) do ffmpeg -i "%i" -c:v libx264 -map 0:0 -preset veryslow -crf 18 "%~ni.mp4"


But this just results in a bunch of those still MP4's I mentioned.


I'm assuming the problem starts with that odd duration of 00:00:00.04, with a bitrate of 874324 kb/s, but I'm not sure. I don't understand this mjpeg video format very well at all.


I been trying to work through this with copilot to no success, and so I'm turning to stackoverflow in case anyone can help me out.
Or am I going about this all the wrong way ? Let me know.