
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (81)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 ;
Sur d’autres sites (7509)
-
Conversion of individual mp4 files to ts yields unexpected playback
3 août 2021, par MorenoGentiliI'm converting three mp4 files (h264, no audio, each with a duration of three seconds) to the mpeg-ts format like so.


ffmpeg -i 1.mp4 -c copy 1.ts
ffmpeg -i 2.mp4 -c copy 2.ts
ffmpeg -i 3.mp4 -c copy 3.ts



Please note : I can't combine the mp4 files beforehand. Each one has to be converted individually as shown above since they're being generated by a live recorder.


Then, I manually created a .m3u8 manifest like this one, so I could play those 3 ts files in sequence :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:3
#EXTINF:3,
1.ts
#EXTINF:3,
2.ts
#EXTINF:3,
3.ts
#EXT-X-ENDLIST



When I run the
ffplay index.m3u8
command :

- 

- 1.ts is played for three seconds as expected ;
- 2.ts is played "for a split second" (maybe just a frame) ;
- 3.ts is played for three seconds as expected.








Can someone explain why 2.ts is shown for such a brief time ? When I run
ffmpeg -i 2.ts
, the output is correctly displaying a duration of three seconds.

Input #0, mpegts, from '2.ts':
 Duration: 00:00:03.00, start: 1.480000, bitrate: 49 kb/s



How can I change my mp4 -> ts conversion commands so that each file can play for their whole duration (i.e. three seconds each) ? I'd like to avoid reencoding if possible.


Thank you, I'm adding a link to the three files and the manifest for completeness.


-
automatically convert all video to mp4 h264 [on hold]
23 août 2013, par XiabiliI am a debian user and I have a lot of videos (wmv, flv, mp4 ... more than 100gb) on my server.
The problem is that the most of these videos are with mpeg4 and these codec is not supported by our Wowza server (basic License).
That is way we want to convert all these videos into H264 format.
So I need a script that converts videos recursively in the folders and if possible remove the old files after the converting.
I need your experience ! Thanks a lot !
Regards
Bili
-
Passing arguments to FFMPEG using subprocess.call()
8 mai 2018, par Peter FI was working through this answer to an FFMPEG question and the command works just fine through the Windows 10 command prompt (I’ve only changed the input and output filenames) :
ffmpeg -i test.mp4 -filter:v "select='gt(scene,0.4)',showinfo" -f null - 2> test.txt
My Python 3 script gives arguments (as a list) to the
subprocess.call()
function and works fine for a number of basic FFMPEG operations, but not this one ! It seems to be failing at the finalnull - 2> test.txt
part, with the following error messages depending on how I split the arguments :[NULL @ 000001c7e556a3c0] [error] Unable to find a suitable output format for 'pipe:'
[error] pipe:: Invalid argument
[error] Unrecognized option '2> test.txt'.
[fatal] Error splitting the argument list: Option not found
[error] Unrecognized option '2>'.
[fatal] Error splitting the argument list: Option not foundHere’s the basic list of arguments I’ve been trying :
args=['C:\\Program Files\\ffmpeg\\ffmpeg.exe',
'-i',
'test.mp4',
'-filter:v "select=\'gt(scene,0.4)\',showinfo"',
'-f null',
'-',
'2>',
'test.txt']Plus various permutations combining and splitting the last few elements.
Please could somebody help me with the right syntax for running FFMPEG with these arguments through Python 3 ?
Many thanks - I just can’t see where I’m going wrong :(