Recherche avancée

Médias (91)

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (12586)

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

    


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

    


    Here is my code

    


    $segment = 0
$pathtxt = "D:\Streamshit\Stream\Videos schneiden\timestamps.txt"
$pathvideo = "D:\Streamshit\Stream\Videos schneiden\2023-05-04_18-59-45.mkv"
$zeile = (Get-Content -LiteralPath $pathtxt).Length
$segment_list = @(Get-Content -LiteralPath $Pathtxt)

while($segment -lt $zeile){

    $timestamp = $segment_list[$segment].split(",")
    $startzeit = $timestamp[0]
    $endzeit = $timestamp[1]
    $TEST = "D:\Streamshit\Stream\Videos schneiden\Clips\video$segment.mp4"
    $segment++    
    ffmpeg -ss $startzeit -i $pathvideo -to $endzeit -c copy $TEST 
}


    


    and here are my timestamps :

    


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


    


    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.

    


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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    cat: &#x27;>>&#x27;: No such file or directory&#xA;

    &#xA;

    Here is my python code.

    &#xA;

    command = [&#xA;    &#x27;docker&#x27;,&#xA;    &#x27;run&#x27;,&#xA;    &#x27;-v&#x27;,&#xA;    f&#x27;{cwd}:{cwd}&#x27;,&#xA;    &#x27;-w&#x27;,&#xA;    f&#x27;{cwd}&#x27;,&#xA;    &#x27;jrottenberg/ffmpeg&#x27;,&#xA;    &#x27;-re&#x27;,&#xA;    &#x27;-i&#x27;, f&#x27;{video_path}&#x27;,&#xA;    &#x27;-f&#x27;, &#x27;mpegts&#x27;,&#xA;    &#x27;-c:v&#x27;, &#x27;copy&#x27;,&#xA;    &#x27;-c:a&#x27;, &#x27;aac&#x27;,&#xA;    &#x27;-vbsf&#x27;, &#x27;h264_mp4toannexb&#x27;,&#xA;    &#x27;pipe:1.ts&#x27;,&#xA;]&#xA;&#xA;pa = subprocess.Popen(&#xA;    command,&#xA;    stdout = subprocess.PIPE,&#xA;    stderr = error_file&#xA;)&#xA;&#xA;command = [&#xA;    &#x27;cat&#x27;,&#xA;    &#x27;>>&#x27;,&#xA;    f&#x27;{pipe_name}&#x27;&#xA;]&#xA;&#xA;with pa.stdout:&#xA;    pb = subprocess.Popen(&#xA;        command,&#xA;        stdin = pa.stdout,&#xA;        stdout = error_file,&#xA;        stderr = error_file&#xA;    )&#xA;

    &#xA;