Recherche avancée

Médias (91)

Autres articles (77)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5894)

  • android ffmpeg command line

    8 avril 2014, par user3509984

    i am new android develop.i need to change video color like vintage ,sepia etc .i google many hours at last i found FFMPEG to achieve tat.i had command line for ffmpeg to convert video color ffmpeg -y -i /sdcard/videokit/in.mp4 -strict experimental -vf transpose=1 -s 160x120 -r 30 -aspect 4:3 -ab 48000 -ac 2 -ar 22050 -b 2097k /sdcard/videokit/out.mp4

    i need to know how to compile tat in android. pls provide some tutorial to achieve tat.

    i found one link tat command will work..but it give oly trai version...
    tat link is
    http://androidwarzone.blogspot.in/2011/12/ffmpeg4android.html

    pls provide some tutorial to compile tat command in ffmpeg
    (sorry for my english)
    thanks in advance

  • Using FFMPEG and PHP to encode HLS video on the fly

    21 avril 2024, par mrsmith

    I'm re-encoding a MP4 video to HLS using FFMPEG with PHP. I'm trying to then directly serve to the output to a HTML page's <video></video> tag. The following script (encode.php) encodes the video as I require and it works if I use the script url directly in VLC player for example but I'm struggling to get the gtml page to play it. The resulting video file should be compatible with most browsers. I use video.src = &#x27;encode.php&#x27; on my player html page.

    &#xA;

    Any help appreciated.

    &#xA;

    &lt;?php&#xA;&#xA;$input_video = &#x27;whatever.mp4&#x27;;&#xA;&#xA;// video passthrough&#xA;// hls format&#xA;// audio (english strems only) to aac (6 channel)&#xA;// output to stdout&#xA;&#xA;$ffmpeg_command = &#x27;ffmpeg -i &#x27; . escapeshellarg($input_video) . &#x27; -map 0:v -c:v copy -map 0:a:m:language:eng -c:a aac -ac 6 -b:a 320k -f hls -hls_time 30 -hls_list_size 120 -start_number 0 -&#x27;;&#xA;&#xA;$handle = popen($ffmpeg_command, &#x27;rb&#x27;);&#xA;&#xA;header(&#x27;Content-Type: application/vnd.apple.mpegurl&#x27;);&#xA;header(&#x27;Content-Disposition: inline; filename="output.m3u8"&#x27;);&#xA;&#xA;// stream the output to the browser&#xA;fpassthru($handle);&#xA;pclose($handle);&#xA;?>&#xA;

    &#xA;

  • How do I resize my video ? in proportion (python)

    23 septembre 2022, par ggn0

    *I am sorry for my poor English. It's a translator.

    &#xA;

    I used Python moviepy to resize it, but the pixels are broken. I want to make the video 9:16 ratio while maintaining the original image quality. (So that there are black frames on both sides)

    &#xA;

    from moviepy.editor import *&#xA;c = VideoFileClip(&#x27;test.mp4&#x27;)&#xA;f = c.resize(newsize=(1080,1920))&#xA;f.write_videofile(&#x27;aa.mp4&#x27;)&#xA;

    &#xA;

    This code causes pixels to collapse.

    &#xA;

    Let me show you an example picture.

    &#xA;

    Original Video Example

    &#xA;

    The video I want

    &#xA;

    Pictures that come out using movie resize (other example pictures, pixels collapse and proportions collapse) Pictures that I don't want

    &#xA;

    It doesn't have to be moviepy, so I'd appreciate it if you could tell me how to use Python. (PIL ? opencv ?)

    &#xA;

    Thank you so much. Have a nice day 🙏

    &#xA;