
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (57)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (4659)
-
ffmpeg for loop into bash script
18 mars 2015, par gazI use a for loop on the mac command line to convert a bunch of avi’s to mp4’s
I would like to put this into a bash script so I can just run the script on any given directory.e.g shelf script name [directory
and let it do its thing.
Do I just open a text editor and add
#!/bin/bash
then my for loop and ffmpeg arguments
then end it all with
fi ?Then make it executable ? Is is that simple.
@Robert Rowntree
Many thanks for the link. This looks like it could be very useful to me. I am not familiar with the concatenate so I would have never found that information.
It appears that I can give ffmpeg a bunch of files at the command line or to read from a text file and ffmpeg will output them all into a single format, In my case MP4’s. Well at least this is what I think it does.
The "The inputs have to be of the same frame size, and a handful of other attributes have to match" worries me a bit, do i need to check the frame rate of every movie to ensure they all match ?
My ultimate goal would be to run a script on say, 30 mixed video files, avi, wmv, mkv, mpg etc and output the lot to mp4, but I think this is way too complicated for me.
I normally just repack mkv’s to mp4 and the quality and size are good and I’m pleased with the results and speed. However, I tried just repacking a the aforementioned avi’s and the quality was poor and pixelated. I searched around and finally found this example ;
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a aac -strict experimental -b:a 192k -ac 2 out.mp4 (can this be improved ? Sped up ?)
Which produces great quality mp4 files from the avi’s I have got but does take a long time. Hence why I originally asked for help creating a script. Which I intended running on the folder of avi’s.
Be great to be able just to run a script on every non mp4 files and have great results every time :) But with different codecs and frame rates etc etc I suppose this will never be possible.
Any further help or input will be greatly received.
Thanks again.
-
libavformat/mpegtsenc : allow to set service_type in sdt
2 février 2015, par dhead666libavformat/mpegtsenc : allow to set service_type in sdt
This adds an option to set the service type in mpegts as defined in ETSI 300 468.
I added what I believe are the most useful service types as pre defined values,
the others can be sent by using their hexdecimal form directly (e.g. -mpegts_service_type digital_radio, -mpegts_service_type 0x07).I’ve been using this patch in order to pipe internet radio stream (originally as HLS/m3u8) from ffmpeg to tvheadend,
when the service type set right tvheadend recognize the mpegts stream as a radio channel.The patch in its original form was written by linuxstb from freenode’s hts channel which allowed me pushing it upstream.
This close issue 4118.
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
-
Windows ffmpeg batch to find folder containing VOBs, concatenate and convert, move to next folder [on hold]
27 novembre 2018, par Daniel CooperAll,
I am in need of help that is beyond my capabilities. I need to run a batch command in Windows that finds VOB files in a folder, concatenates and converts them using ffmpeg, and then continues the recursive search for more folders containing VOBs.
The idea is that the cmd file would be copied into the root that the command should look under when running. I have found commands that find VOBs and I have found ffmpeg scripts that concatenate and convert, but combining these functionalities together in the way I need is proving above my level.
Thank you all in advance.
EDIT :
The computer I am running this code on is off the network so I had to manually retype. Any typo’s here are therefore likely from the retyping since the codes seem to function as intended originally...This code creates a list of folders that contain VTS*.VOB (as opposed to just all *.VOBs because that would include a certain useless VOB that is present in each folder).
for /r %%a in (.) do @if exist "%%~fa\VTS*.VOB" echo %%~fa >> folderlist.txt
This piece combines VTS*.VOBs and then converts them to MP4
@ECHO OFF
md ffmpeg_output
for %%f in (VTS*.VOB) do echo file '%%f' >> filelist.txt
ffmpeg -f concat -i filelist.txt -c copy "ffmpeg_output\Total.VOB"
ffmpeg -i "ffmpeg_output\Total.VOB" -c:v libx264 -pix_fmt yuv420p -c:a copy "ffmpeg_output\Converted.mp4"I attempted to essentially nest the for loops with the idea that the first snippet above would produce a txt file, which I could then "for /f" through each line to direct the second snippet of code for concatenation and conversion of the VOB files. However this plan never got off the ground as I am unable to figure out the viability or syntax of nesting for loops in this way.