Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (25)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4211)

  • Re-encoding vlc-created mpeg2 .ts file results in 20 second file ; AKA : multi-stream file with hidden streams

    6 septembre 2017, par insaner

    I was recording something with vlc off v4l2 (in case that makes a difference), and I just selected the first format that worked, being mpeg2 using TS container. File resulted in .ts extension, as automatically selected by vlc. When I then tried to put the video file in my video editor, it said the video was 19,884 hours long, when it should be about 6 minutes (it is 80mb in size). When I try to play it in xine, it correctly shows the duration (vlc doesn’t), and when I use ffprobe :

    [mpegts @ 0x9b2c0a0] max_analyze_duration 5000000 reached at 5000000
    Input #0, mpegts, from 'loopbacktestcap.ts':   Duration: N/A, start:
    17978.139456, bitrate: N/A   Program 1
        Stream #0:0[0x44](): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 30 fps, 30
    tbr, 90k tbn, 60 tbc
        Stream #0:1[0x46](): Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn

    Notice especially this line :

      Duration: N/A, start: 17978.139456, bitrate: N/A   Program 1

    I looked it up and it seems the lack of duration has to do with the container. But I have tried a few things to reencode (I tried -vcodec copy, mpeg2, libx264...) and all I can get is 20 second files of 1.1mb - 1.8mb.

    So how can I reencode this file so the duration appears, and I get the full 6 minutes, instead of just the first 20 seconds ?

  • Re-encoding vlc-created mpeg2 .ts file results in 20 second file ; AKA : multi-stream file with hidden streams

    23 novembre 2016, par insaner

    I was recording something with vlc off v4l2 (in case that makes a difference), and I just selected the first format that worked, being mpeg2 using TS container. File resulted in .ts extension, as automatically selected by vlc. When I then tried to put the video file in my video editor, it said the video was 19,884 hours long, when it should be about 6 minutes (it is 80mb in size). When I try to play it in xine, it correctly shows the duration (vlc doesn’t), and when I use ffprobe :

    [mpegts @ 0x9b2c0a0] max_analyze_duration 5000000 reached at 5000000
    Input #0, mpegts, from 'loopbacktestcap.ts':   Duration: N/A, start:
    17978.139456, bitrate: N/A   Program 1
        Stream #0:0[0x44](): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 30 fps, 30
    tbr, 90k tbn, 60 tbc
        Stream #0:1[0x46](): Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn

    Notice especially this line :

      Duration: N/A, start: 17978.139456, bitrate: N/A   Program 1

    I looked it up and it seems the lack of duration has to do with the container. But I have tried a few things to reencode (I tried -vcodec copy, mpeg2, libx264...) and all I can get is 20 second files of 1.1mb - 1.8mb.

    So how can I reencode this file so the duration appears, and I get the full 6 minutes, instead of just the first 20 seconds ?

  • Batch file to add separate audio file to MP4 file [closed]

    30 janvier 2021, par MrRoso

    I have a couple of video files (MP4) with audio in France.
Video1.mp4, Video2.mp4, Video3.mp4, ……
In the same directory, I have the same couple of audio files in English (m4a).
Audio1.m4a, Audio2.m4a, Audio3.m4a, ……

    


    The command

    


    ffmpeg -i "Video1.mp4" -i "Audio1m4a" -map 0 -map 1:a -c copy "Out.mp4"


    


    to add the audio file to the Video file works fine, but I need to do this for each video and audio file manually.

    


    I want to do this in a batch file, like this :

    


    @Echo off
for %%i in (*.MP4) %%j in (*.m4a) do ffmpeg -i "%%i" -i "%%j" -map 0 -map 1:a -codec copy "/new/%%~nI.mp4"


    


    But I get the follow error message :
"% j" cannot be processed syntactically at this point.

    


    Also the new batch file ends in an error :

    


    @Echo off
for /F tokens=i,j %%i in (*.MP4) %%j in (*.m4a) do ffmpeg -i "%%i" -i "%%j" -map 0 -map 1:a -codec  copy "/new/%%~nI.mp4"


    


    Error Message :
"i" cannot be processed syntactically at this point.

    


    Has someone a batch file for me, which is working ?

    


    Best regards