
Recherche avancée
Autres articles (51)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (3159)
-
Is there a way to stop ffmpeg from combining mp4s at max mp4 size ?
3 janvier 2023, par DrayI am merging 64 gigs of mp4s together, though ffmpeg will go past the file size limit and corrupt it. Is there a way to stop ffmpeg at a 100 hour mark and create another file, resume, then repeat until finished ?


This is my python code, with the ffmpeg code I used to generate the mp4. It works fine with less files/



from moviepy.editor import *
import os
from natsort import natsorted

L = []
total = 0
for root, dirs, files in os.walk("F:\door"):
 #files.sort()
 files = natsorted(files)
 with open("list.txt", "a") as filer:
 for file in files:
 if os.path.splitext(file)[1] == '.mp4':
 filePath = os.path.join(root, file)
 head, tail = os.path.split(filePath)
 filePath = "file '" + str(tail)+"'\n"
 print(filePath)
 filer.write(filePath)
 
 #run in cmd: ffmpeg -f concat -i list.txt -c copy output.mp4




-
Download SAMPLE-AES-CTR encrypted m3u8
16 septembre 2022, par KadirI searched but couldn't find a solution How can I download this video ?




#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:9
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PROGRAM-DATE-TIME:2019-01-01T00:00:00.000Z
#EXT-X-DATERANGE:ID="pod_0",START-DATE="2019-01-01T00:00:00.000Z",DURATION=3.000000001,X-START-OFFSET="0.0"
#EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",KEYFORMATVERSIONS="1",URI="data:text/plain;base64,AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEB5U5uPKPk0WpO7hIRwr3JI="
#EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="com.microsoft.playready",KEYFORMATVERSIONS="1",URI="data:text/plain;charset=UTF-16;base64,xAEAAAEAAQC6ATwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4ANAArAFoAVQBIAGoANwBLAEYAawAyAGsANwB1AEUAaABIAEMAdgBjAGsAZwA9AD0APAAvAEsASQBEAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA="
#EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="PRMNAGRA",KEYFORMATVERSIONS="1",URI="data:text/plain;base64,eyJrZXktaWQiOiIxZTU0ZTZlMy1jYTNlLTRkMTYtYTRlZS1lMTIxMWMyYmRjOTIiLCJlbWkiOiJjdHIiLCJwcm0iOiJleUpqYjI1MFpXNTBTV1FpT2lKamRISWlMQ0pyWlhsSlpDSTZJakZsTlRSbE5tVXpMV05oTTJVdE5HUXhOaTFoTkdWbExXVXhNakV4WXpKaVpHTTVNaUo5In0="
#EXT-X-MAP:URI="b890e39d-85ff-425b-9a45-c3ca1f3dd423/10c8-BUMPER/02/2400K/map.mp4"
#EXTINF:3.000000001,
b890e39d-85ff-425b-9a45-c3ca1f3dd423/10c8-BUMPER/02/2400K/00/00/00_000.mp4
#EXT-X-DISCONTINUITY
#EXT-X-DATERANGE:ID="pod_1",START-DATE="2019-01-01T00:00:03.000Z",DURATION=2122.000000001,X-START-OFFSET="3.000000001"
#EXT-X-MAP:URI="a04e8798-c29c-4bb2-b6a6-52845167f3a8/3704-MAIN/02/4250K/map.mp4"
#EXTINF:8,
a04e8798-c29c-4bb2-b6a6-52845167f3a8/3704-MAIN/02/2400K/00/00/00_000.mp4
#EXTINF:8,
a04e8798-c29c-4bb2-b6a6-52845167f3a8/3704-MAIN/02/2400K/00/00/08_000.mp4
#EXTINF:8,
a04e8798-c29c-4bb2-b6a6-52845167f3a8/3704-MAIN/02/2400K/00/00/16_000.mp4



-
How can I write a ffmpeg log file with Python on macOS ?
1er septembre 2022, par TobiasI want to write ffmpeg log files for several video input files with a Python script on macOS.
Here is my try :


def create_error_logfile(videoinput):
 cmds = [
 "/applications/ffmpeg",
 "-v", 
 "error",
 "-i",
 videoinput, 
 "-f", 
 "null", 
 "-",
 "2>",
 videoinput + ".log"
 ]
 subprocess.Popen(cmds).wait()

for root, directories, files in os.walk(input_path):
 for video in files:
 videoinput = os.path.join(root, video)
 create_error_logfile(videoinput)



But I get the following ffmpeg error :


Unable to find a suitable output format for '2>'
2>: Invalid argument



What am I doing wrong ?
Thanks in advance !