Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (39)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (4545)

  • How to add MOV file header to raw data written file with ffmpeg ?

    10 janvier 2018, par gstream79

    I am going to record H264 encoded video stream data in iOS using swift.
    I am not familiar with video codec formats so don’t know how to do this. But I’ve tried to write the H264 raw video data to the file sequently and see its file Info. I am surprised that it has almost video file info (compared with standard mp4, MOV file). The only missing info is video duration, file size, overall bit rate, encoded data, etc. So I am just wondering if video can play if I add the MOV file header to this file manually. Spent few hours to googling how to add MOV file header with ffmpeg but stacked. Any help would be appreciated. Thanks

  • I want the mp4 file shooting date to be the xml file name

    21 novembre 2019, par re6

    In Windows 10 environment, I would like to change the name of both “file with extension mp4” and “file with extension xml” to the shooting date of mp4 file.

    C0001.MP4
    C0001M01.XML
    C0002.MP4
    C0002M01.XML

    Specifically, I want to change the file name as follows.

    2019-10-23_13-10-32.MP4
    2019-10-23_13-10-32.XML
    2019-10-23_13-10-49.MP4
    2019-10-23_13-10-49.XML

    I tried to think that using the ext option would give me the expected result, but I didn’t get the expected result.

    First time

    C:\Users\user>exiftool "-FileNamehoge/C0001M01.XML
    Warning: No writable tags set from C:/hoge/C0001M01.XML
    Warning: [minor] Error 3 placing ::NonRealTimeMetaAudioFormatAudioRecPortTrackDst in structure or list - C:/hoge/C0002M01.XML
    Warning: No writable tags set from C:/hoge/C0002M01.XML
       1 directories scanned
       0 image files updated
       2 image files unchanged

    Second time

    C:\Users\user>exiftool "-FileNamehoge/C0001.MP4
    Warning: [minor] Error 3 placing ::NonRealTimeMetaLtcChangeTableLtcChangeStatus in structure or list - C:/hoge/C0001M01.XML
    Warning: No writable tags set from C:/hoge/C0001M01.XML
    Warning: [minor] The ExtractEmbedded option may find more tags in the movie data - C:/hoge/C0002.MP4
    Warning: [minor] Error 3 placing ::NonRealTimeMetaAudioFormatAudioRecPortPort in structure or list - C:/hoge/C0002M01.XML
    Warning: No writable tags set from C:/hoge/C0002M01.XML
       1 directories scanned
       2 image files updated
       2 image files unchanged
  • How to run a command in python with file paths containing spaces ?

    24 juillet 2023, par tomatochan

    I'm developing a program in Python that requires the use of FFMPEG. In one step, I need to create a video from a text file containing the list of images (path and duration) that need to be assembled to make a video. To do this, I use the following code :

    


    cmd = [ffmpeg, "-y", "-f", "concat", "-safe", "0", "-i", tmp, "-c:v", "libx264", "-r", "25", "-pix_fmt", "yuv420p", out]
subprocess.run(cmd)
# os.system(" ".join(cmd)) # returns same error


    


    What returns the error : The syntax of the file, directory or volume name is incorrect.

    


    I know that paths can be problematic when they contain spaces, and as my username has one, I've taken care to quote the paths in such a way that :

    


    ffmpeg = '"C:\Users\John Doe\Documents\ffmpeg\bin\ffmpeg.exe"'
tmp = '"C:\Users\John Doe\Desktop\path\to\file.txt"'
out = '"C:\Users\John Doe\Desktop\path\to\video.mp4"'


    


    When I print(" ".join(cmd)), this is what I get in my terminal :

    


    "C:\Users\John Doe\Documentsffmpeg\binffmpeg.exe" -y -f concat -safe 0 -i "C:\Users\John Doe\Desktop\path\to\file.txt" -c:v libx264 -r 25 -pix_fmt yuv420p "C:\Users\John Doe\Desktop\path\to\video.mp4"


    


    However, the problem persists.
Has anyone ever had this problem and managed to solve it ?

    


    I've also tried the method where you have to escape the spaces (taking care to replace the \ with / and then the with \ ) but nothing works... The error persists.

    


    For your information, here are the contents of one of my .txt files

    


    file C:\Users\John Doe\Desktop\path\to\image_1.png
duration 0.04
file C:\Users\John Doe\Desktop\path\to\image_2.png
duration 0.04
file C:\Users\John Doe\Desktop\path\toimage_3.png
duration 0.04


    


    When I quote the paths in the .txt files

    


      

    • subprocess gives me the error :
PermissionError: [WinError 5] Access denied
    • 


    • os.system gives me the error :
    • 


    


    C:\Users\John' is not recognized as an internal or external command, an executable program or a command file.
The syntax of the file, directory or volume name is incorrect.