Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (32)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (6404)

  • mp4 And Rotation - Remove Flags But Set Rotation

    7 avril 2024, par Bud

    I'm having a hard time with the rotation on some mp4 files I have. It may well be my poor understanding, so forgive me if I set out what I know (or think I know) and then what I want to happen.

    


    An mp4 has, obviously, a right way up - that is, the way you want it to show when you watch it. Call this the orientation. This isn't metadata - it's just the way you, as a person, want to see the image, with people's heads at the top of the screen and their feet at the bottom.

    


    As part of the metadata, mp4 files have a value/parameter (I believe called 'rotate') that tells how much the mp4 needs to be rotated (0, 90, 180, 270 degrees) so that it is correctly oriented. This value/parameter is observed by some players and not by some others. So if I play my video using this player, all is good (because it observes the value/parameter) - but if I play it with that other player, everything is sideways (because it doesn't observe the value/parameter).

    


    What I want to do is orient the mp4 correctly with the value/parameter set to 0, so that no matter what player plays it, it will always be played oriented correctly (because those players that observe the value/parameter will see it's 0 and do nothing). So I think what I need to do is somehow remove the value/parameter, then rotate the mp4 to the correct orientation without using the rotate value/parameter. I'm thinking of something like what FastStone Image Viewer can do with JPGs - rotate them losslessly without setting the rotate value.

    


    I've used ffmpeg and believe that it removed the rotate value/parameter (or set it to 0) because after I used it, suddenly my video appeared sideways in Windows Explorer, where previously it had appeared right way up. But how do I now rotate it to the correct orientation without changing the rotate value/parameter ?

    


    Sorry, this is very long winded and confused. Just like me.

    


  • Node.js asynchronous video conversion slow

    9 décembre 2016, par lukstei

    I wrote a little website/service, which can download a video from a website (currently Youtube) and converts it on the fly to an mp3 file and sends this file back as the response.

    For example, you when you request http://localhost:8000/v=http ://www.youtube.com/watch?v=HhoewflkQu0, then it will download this video and response the audio layer encoded in MP3.

    This all works very well, my problem is that this is very slow and I can’t figure out why.


    Simplified the script behaves like this :

    Download the video and write it to the stdin of ffmpeg, and the stdout goes to the response.
    Video (MP4, FLV) -> FFMPEG -> MP3

    I used curl to figure out how fast the script is :

    $ curl http://localhost:8000/v=http://www.youtube.com/watch?v=HhoewflkQu0

    I get only about 5-10k.

    So why is this so slow ?

    1. The server, from which I am downloading the video is slow.
    2. The conversion is slow (because of a slow CPU).
    3. The data transfer between node.js -> FFMPEG is slow.

    I tried to download the video in a normal download manager, and i got about 320k, which is my normal download speed, so the first point isn’t the bottleneck.

    To point 2 and 3, I tried to write a local file to the stdin, and I got about 600k so that isn’t it either.

    So why is my script so slow, and what can I do to make it faster ?

    https://gist.github.com/1304637

    Thanks in advance.

  • When using subprocess passthrough is not accepting both inputs

    30 janvier 2021, par Baraque Obahamas

    Im trying to have two subprocesses pipe into one and output via the passthrough. My goal is to make it possible to download 2 files (one video and one audio) and combine them with ffmpeg.

    


    header('Content-Description: File Transfer');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header("Content-Disposition: attachment; filename=\"ok.mp4\"");
header("Content-Type: application/octet-stream");

$cmd = "<(youtube-dl -f bestvideo[ext=mp4] --no-part --no-cache-dir --no-warnings --no-progress -o - https://www.youtube.com/watch?v=6Dh-RL__uN4) <(youtube-dl -f bestaudio[ext=m4a] --no-part --no-cache-dir --no-warnings --no-progress -o - https://www.youtube.com/watch?v=6Dh-RL__uN4) | ffmpeg -i - -i pipe:3 -movflags frag_keyframe+empty_moov+faststart -frag_duration 3600 -c:v copy -c:a copy -f mp4 -";

$cmd = passthru($cmd, $status);


    


    My error is : -bash : /dev/fd/63 : Permission denied