Recherche avancée

Médias (91)

Autres articles (57)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9599)

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

    


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


    


  • change audio part from mkv video file to flac audio file without losing quality [closed]

    29 août 2023, par Jimmy wu

    how could I write a Linux command to manipulate ffmpeg to change audio part from mkv video file to flac audio file without losing quality ?

    


    I use following command and I found that the size of audio file is almost the same as video file.

    


    ffmpeg -i "2023-08-28 15-32-02.mkv" -ss 0:0:0 -to 1:9:2

8 -vn -c:a flac 2023_08_28_CPU_DV_1.flac


    


    what command should I use ?

    


    I want to change "only audio part" from mkv video file to flac audio file without losing quality,

    


    then the size of file would not be that big