
Advanced search
Medias (91)
-
MediaSPIP Simple : futur thème graphique par défaut?
26 September 2013, by
Updated: October 2013
Language: français
Type: Video
-
avec chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
sans chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
config chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
SPIP - plugins - embed code - Exemple
2 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
Other articles (112)
-
Le profil des utilisateurs
12 April 2011, byChaque 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 (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit 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 (...)
On other websites (12258)
-
Copy live stream without overwrite previous file
2 February 2020, by PanagiotisWhen I login I automatically start a script, that downloads a radio stream with ffmpeg.
ffmpeg -i \
http://139.162.14.151:9090 \
-c copy output.mp3But each time it is asking me to overwrite the file. I want it to automatically create a new file without overwriting the previous one.
-
FFMPEG resulting audio file is longer than input file
26 September 2015, by D3_JMultiplyA Foreword: I have looked at the topics on stackoverflow related to this topic. None of them answer the question or have anything to do with the issue.
I make LP videos on YouTube. I recently started using .TS (Transport Stream) files to record with through the answer here. When extracting the second audio stream from the file through ffmpeg I end up with an audio file 7 seconds longer than the video file I used as input. The file used as input is 12:50 and the audio file is 12:57.
I believe this is due to the fact that ffmpeg is changing the bitrate of the file. The source bitrate is 167 kb/s and according to the console output ffmpeg is saving it as 164.7 kb/s.
I know I can manually define the bitrate to save as via -b:a:0 167k but I want this batch file to work with any file I give it, and the bitrate of the stream in question varies, as it’s the mic/aux stream. I am writing a utility in Batch so I can just drag and drop the file to extract the second audio stream, so I’d love to avoid reading the bitrate unless there’s an ffmpeg command that returns the bitrate for a specific stream in the input file that is easy to parse.
For the codec you can use -c:a:0 copy, why can’t you use copy on the bitrate? To me it makes no sense.
The command I’m using to extract the audio:
ffmpeg -i "%~1" -map 0:2 -c:a:0 copy "%~n1.aac"
The entire batch file:
@echo off
REM This code checks to ensure the command-line variables have been properly set.
if [%1]==[] goto ALERT
if [%2]==[] (
SET outpt="%~n1.aac"
goto END_COMMENT
)
SET outpt="%~2"
GOTO END_COMMENT
------------------------------------------
The code below actually runs the extraction of the audio stream with the configured values
ffmpeg -i -map 0:2 -c:a:0 copy
ffmpeg -i -map
The base command, map tells ffmpeg that we wish to define the order of streams
we with to operate on
0:2
Defines the stream to work on, 0 is the input, so input 0 (the file) and 2 is the stream (0=video,1+=audio, last stream may be metadata)
-c:a:0 copy
Codec of audio stream 0 for output should be an exact copy of all applicable settings from input stream
The name of the file to output. The extension should match the codec. For most intents this will be .aac
------------------------------------------
:END_COMMENT
echo %outpt%
ffmpeg -i "%~1" -map 0:2 -c:a:0 copy %outpt%
goto END
:ALERT
@echo Incorrect usage: At least 1 param is required
@echo ^ = Required
@echo [param] = Optional
@echo(
@echo extract.bat ^ [output_file]
:END
pauseAt request the following file is the full output of -v 9 -loglevel 99 (I don’t see how 8 MB worth of [mpegts @ Address] is useful, but here you go: https://www.dropbox.com/s/0ous9hc6e2kbyvp/log.txt?dl=0
-
Finding file extension for media file using ffprobe
12 September 2013, by luddetI'm writing a media handling tool, using ffmpeg and ffprobe.
Part of the workflow consists of the application retreiving media files with nondescript extensionless file names.
Now I could get the extension from the media source but that would not fit as neatly into the program code flow, so I'm using ffprobe to extract the format information.The problem i have encountered is the format "QuickTime / MOV" where ffprobe gives me
format_name="mov,mp4,m4a,3gp,3g2,mj2"
Is there a way to know which of the extensions is most appropriate?
I guess the simplest solution is to pick the first,
mov
, since that should work for all of them. But I would prefer to be more specific.Any way to accomplish this?