Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (109)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (14912)

  • Videos which is only played by particular app, need help to save it

    19 septembre 2015, par Kumar

    There’s a app(i can’t disclose the app name) which plays video stored in memory card and videos have no extension, by viewing the file sizes im assuming that they are the videos + I also check changing the extension with mp4 flv 3gp etc but no success. I then decompiled the app and saw that app is using ffmpeg-jni to play the videos. Anybody can help me in this ? and yeah all videos have IGN in their meta tag.

    Thanks

  • How can we play 2 videos side by side as per the resolution we provide to the output video and adjust the two input videos position

    1er décembre 2023, par Bhavya Nayak

    -> For playing two video side by side as per the output video resolution I provide :-

    


      

    1. I want output video of resolution 1280x720 so for this.
    2. 


    


    a. First I have trimmed the two video using below command :-

    


    ffmpeg -i input_viedo.mp4 -ss 00:00:10 -t 00:00:20 -vf      "scale=1920:1080,pad=1920:1080:0:0:yellow" -c:v libx264 -c:a aac -strict -2 output_video_trimmed.mp4



    


    b. Now to I want to play both the trimmed video into one output video file as per the position I provide , so for this I have tried below command which is not giving the correct output :

    


    ffmpeg -i output_video_trimmed_1.mp4 -i output_trimmed_2.mp4 -filter_complex "[0:v]scale=634:360[pad1];[1:v]scale=640:360[pad2];[pad1]pad=1280:360:0:100[tl];[pad2]pad=1280:360:634.752:130.392[br];[tl][br]vstack,scale=1280:720[output]" -map "[output]" -c:v libx264 -preset ultrafast -crf 18 -c:a aac -b:a 1280x720 output_final_video.mp4


    


      

    • In above command I have provide the specific width,height,top,left of the input video I want ,
    • 


    


    But it is not giving me correct output.

    


    —> Output I am getting by running this command is attached below :-

    


    Output video Image I am getting by running above command

    


    Actual output I want

    


    —> The issue in above command is while adding top it is not working properly , like top is not affecting the video so I want the solution for that.

    


  • Python - How to convert .mkv videos to .mp4 videos

    2 septembre 2022, par sabari

    I have two folders.
Download folder and converted folder.

    


    I want to convert files from .mkv to .mp4

    


    import os
import boto3
import ffmpeg
from os import path, makedirs

downloadFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'downloaded'
convertedFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'converted'

#find the number of files in the Downloaded folder
initial_count = 0
for path in os.listdir(downloadFolder):
    if os.path.isfile(os.path.join(downloadFolder, path)):
        initial_count += 1
print("Files downloaded")
print(initial_count)

# convert all files from .mkv to .mp4
source_folder = downloadFolder
for file_name in os.listdir(source_folder):
    try:
        # construct full file path
        source = source_folder + os.sep + file_name
        print("source"+source)
        destination = convertedFolder +os.sep +file_name
        # copy only files
        if os.path.isfile(source):
            name, ext = os.path.splitext(file_name)
            outFileName = convertedFolder + os.sep + name + '.mp4'
            # convert .mkv into .mp4
            ffmpeg.input(source).output(outFileName).run()
    except Exception as e:
        # print("Exception "+ key['Key'])
        print("error")
        print(e)


    


    The below is the error i get because of ffmpeg

    


    error
[WinError 2] The system cannot find the file specified


    


    I also tried moviepy library. But couldnt solve.
Please let me know a solution.

    


    Thanks.