Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (78)

  • 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 novembre 2010, par

    Accé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 (...)

Sur d’autres sites (5487)

  • Why does Android kill a process spawned by the developed application ?

    23 octobre 2013, par uprego

    I have a weird problem that I posted as a comment in Understanding Android Tight loops / Spin-On-Suspend error without any useful further comment.

    Let be here the reproduced comment :

    Is it possible for this to be happening also to android native codes, abstracting
    which piece of software would be causing it? It's the only reason I know ffmpeg
    (static binary custom compilation, n2.0.1 tag mint as it clones) is failing to me
    on some devices and not in others (but fails in no device when launched over a v
    algrind!! that, am now supposing, traps frequently the inner program)

    The problem, briefly, is that a compiled ffmpeg n2.0.1 is running OK in emulator and a Sony device, but failing with a segmentation violation in a Samsung device. The program was ran then from valgrind in that Samsung device, with no fail.

    • I have some clues about what could be happening here. But do you know what is happening ?
    • Can this Samsung phone run this ffmpeg compilation the same good the emulator and the Sony phone do ? If not, what are the next steps (trying - when possible - to avoid the use of the NDK) ?
  • 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.


    


  • 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