
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8794)
-
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 :(
-
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
-
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.