Recherche avancée

Médias (91)

Autres articles (49)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (5528)

  • Extracting CEA-708 closed captions from MPEG-TS stream with FFmpeg

    20 août 2021, par Brad

    I have an MPEG-TS stream delivered over HTTP from an ATSC 1.0 receiver :

    


    Input #0, mpegts, from 'http://example.com/stream':
  Duration: N/A, start: 33532.329189, bitrate: N/A
  Program 3
    Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Side data:
      cpb: bitrate max/min/avg: 15836400/0/0 buffer size: 7995392 vbv_delay: N/A
    Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s (visual impaired)


    


    How can I extract its closed caption data ?

    


    I've read that for files, I can use lavfi :

    


    ffmpeg -f lavfi -i movie=input.ts[out+subcc] ...


    


    However, this doesn't work for streams over HTTP. At least, I can't figure out how to properly escape/quote the URL for use in the lavfi input syntax.

    


    Any suggestions ?

    


  • ffmpeg scale image with unrelated number in the name

    15 juin 2016, par loctrice

    I’m attempting to scale image(s) that have any given name. I’ve found my script is failing on files that have numbers in the name. "0% financing", "24 Hour", etc. The other files are working fine, so it’s not the script itself. I get :

    [image2 @ 0x7fbce2008000] Could find no file with path ’/path/to/0% image.jpeg’ and index in the range 0-4

    How can I tell ffmpeg that this isn’t a search pattern, or sequential numbered files ? There’s only 1 jpeg in each location, and I do not have control of the file names to change them.

    -update-
    I’ve figured out the command

    ffmpeg -pattern_type none -i /path/to/0%\ image/0%\ image.jpeg -vf scale=320:-1 /path/to/0%\ image/0%\ image.out.jpeg

    gets me past the initial problem, but the output won’t work because I can’t get it now to escape the final argument. If I am in the directory (so no path) and change the output to just out.jpeg it will work, so I’m confident the first error is corrected.

    Now I need to figure out how to use spaces in the path in the output argument ? I’ve tried surrounding it in quotes :

    "0% image.out.jpeg"

    regular escapes :

    0%\ image.out.jpeg

    and surrounding it in quotes and using escapes at the same time :

    "0%\ image.out.jpeg"
  • FFmpeg : use absolute path in "metadata=print:file="

    27 octobre 2022, par Axel Herrmann

    I'm using FFmpeg to extract frames of a video and therefore I want to print the metadata of the video to a text file first (to get the scene\ value of each frame).

    


    This already works for me with something like :

    


    ffmpeg -i input.mp4 -vf "select='gte(scene,0)',metadata=print:file=scenescores.txt" -an -f null -


    


    Because I'm using all this inside of a Java application I want to pass an absolute path (of an temp directory) to print:file= instead of the currently relative one which will write it to the root directory of the project.

    


    But when I try to specify an absolute path like D:\scenescores.txt I get the following error :

    


    [metadata @ 00000203282ff0c0] Unable to parse option value "scenescores.txt" as boolean
[metadata @ 00000203282ff0c0] Error setting option direct to value scenescores.txt.
[Parsed_metadata_1 @ 00000203269bdf00] Error applying options to the filter.
[AVFilterGraph @ 0000020328020840] Error initializing filter 'metadata' with args 'print:file=D:\scenescores.txt'


    


    Is there any way to achieve printing to an absolute path ? Am I missing some escape rules or something ?