Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (111)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (9955)

  • How to put the output of ffmpeg into a pipe in Python ? [duplicate]

    16 février 2023, par Eric Palmer

    I'm trying to use python to feed the results of ffmpeg into a pipeline, and then I can use this pipeline for subsequent operations (such as rtmp streaming). I've written the correct command, but I don't know how to accomplish this with Python.

    


    I wrote the following code in the Shell, it can run correctly.

    


    ffmpeg -re -i '2023-02-16_21:02:50.mp4' -f mpegts -c:v copy -c:a aac -vbsf h264_mp4toannexb pipe:1.ts | cat >> push


    


    When I'm trying to do the above in Python, I'm getting an error.

    


    cat: '>>': No such file or directory


    


    Here is my python code.

    


    command = [
    'docker',
    'run',
    '-v',
    f'{cwd}:{cwd}',
    '-w',
    f'{cwd}',
    'jrottenberg/ffmpeg',
    '-re',
    '-i', f'{video_path}',
    '-f', 'mpegts',
    '-c:v', 'copy',
    '-c:a', 'aac',
    '-vbsf', 'h264_mp4toannexb',
    'pipe:1.ts',
]

pa = subprocess.Popen(
    command,
    stdout = subprocess.PIPE,
    stderr = error_file
)

command = [
    'cat',
    '>>',
    f'{pipe_name}'
]

with pa.stdout:
    pb = subprocess.Popen(
        command,
        stdin = pa.stdout,
        stdout = error_file,
        stderr = error_file
    )


    


  • doc/html : support texinfo 7.0

    8 novembre 2023, par Frank Plowman
    doc/html : support texinfo 7.0
    

    Resolves trac ticket #10636 (http://trac.ffmpeg.org/ticket/10636).

    Texinfo 7.0, released in November 2022, changed the names of various
    functions. Compiling docs with Texinfo 7.0 resulted in warnings and
    improperly formatted documentation. More old names appear to have
    been removed in Texinfo 7.1, released October 2023, which causes docs
    compilation to fail.

    This commit addresses the issue by adding logic to switch between the old
    and new function names depending on the Texinfo version. Texinfo 6.8
    produces identical documentation before and after the patch.

    CC
    https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1938238.html
    https://bugs.gentoo.org/916104

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] doc/t2h.pm
  • FFMPEG to command not working as i intend [closed]

    11 mai 2023, par KillerHaseTV

    I want to cut my video by using timestamps. I have a txt file with my timestamps and I put them in the correct variables. For example, $startzeit = 00:00:01 and $endzeit = 00:00:10. So, I want :01 -> :10 and not :01 and run for 10 seconds until :11.

    &#xA;

    The problem has something to do with "-to" because the timestamps are correct.

    &#xA;

    Here is my code

    &#xA;

    $segment = 0&#xA;$pathtxt = "D:\Streamshit\Stream\Videos schneiden\timestamps.txt"&#xA;$pathvideo = "D:\Streamshit\Stream\Videos schneiden\2023-05-04_18-59-45.mkv"&#xA;$zeile = (Get-Content -LiteralPath $pathtxt).Length&#xA;$segment_list = @(Get-Content -LiteralPath $Pathtxt)&#xA;&#xA;while($segment -lt $zeile){&#xA;&#xA;    $timestamp = $segment_list[$segment].split(",")&#xA;    $startzeit = $timestamp[0]&#xA;    $endzeit = $timestamp[1]&#xA;    $TEST = "D:\Streamshit\Stream\Videos schneiden\Clips\video$segment.mp4"&#xA;    $segment&#x2B;&#x2B;    &#xA;    ffmpeg -ss $startzeit -i $pathvideo -to $endzeit -c copy $TEST &#xA;}&#xA;

    &#xA;

    and here are my timestamps :

    &#xA;

    00:00:01,00:00:10&#xA;00:00:24,00:00:41&#xA;00:01:29,00:01:42&#xA;00:02:19,00:02:46&#xA;00:04:11,00:04:58&#xA;00:08:38,00:08:42&#xA;00:10:05,00:10:14&#xA;00:12:07,00:14:47&#xA;00:16:59,00:17:20&#xA;00:26:31,00:27:00&#xA;00:34:36,00:36:56&#xA;00:39:01,00:39:21&#xA;00:46:32,00:46:53&#xA;00:48:00,00:48:58&#xA;00:51:11,00:52:01&#xA;00:56:15,00:57:52&#xA;00:59:20,01:01:20&#xA;01:03:21,01:03:40&#xA;01:12:02,01:12:17&#xA;01:14:48,01:14:59&#xA;01:15:13,01:19:03&#xA;01:19:14,01:19:23&#xA;01:23:49,01:24:06&#xA;01:24:23,01:24:50&#xA;01:25:13,01:26:10&#xA;01:26:45,01:26:56&#xA;01:29:08,01:29:29&#xA;01:31:54,01:32:10&#xA;01:36:32,01:37:41&#xA;01:39:37,01:39:53&#xA;01:55:30,01:56:02&#xA;02:13:07,02:13:44&#xA;03:12:19,03:12:50&#xA;

    &#xA;

    I already tried it with just -t which is normally doing what my code is doing and -to should do what I want, but it doesn't.

    &#xA;