Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (68)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7195)

  • FFmpeg cant convert mov to flv [migrated]

    26 février 2013, par 5et

    When i try to convert .mov file to .flv i get this type of output. I get error "Invalid sample format '(null)' Error opening filters !". When i convert .avi or .mp4 i get no errors. Im on windows

       error: ffmpeg -i C:/wamp/www/\ds_uploads\62\video\23c4a54cbf8bc73056cb370ae7371848.mov -y -f flv -ar 44100 -q:v 0 C:/wamp/www/\ds_uploads\62\video\23c4a54cbf8bc73056cb370ae7371848.flv 2>&1
    ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers
     built on Nov 25 2012 12:21:26 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52.  9.100 / 52.  9.100
     libavcodec     54. 77.100 / 54. 77.100
     libavformat    54. 37.100 / 54. 37.100
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 23.102 /  3. 23.102
     libswscale      2.  1.102 /  2.  1.102
     libswresample   0. 17.101 /  0. 17.101
     libpostproc    52.  2.100 / 52.  2.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 01f8b200] multiple edit list entries, a/v desync might occur, patch welcome
    [mov,mp4,m4a,3gp,3g2,mj2 @ 01f8b200] max_analyze_duration 5000000 reached at 5015510
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/wamp/www/\ds_uploads\62\video\23c4a54cbf8bc73056cb370ae7371848.mov':
     Metadata:
       creation_time   : 1998-11-04 16:40:13
     Duration: 00:01:00.83, start: 0.000000, bitrate: 110 kb/s
       Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 160x120, 90 kb/s, 7.51 fps, 7.50 tbr, 600 tbn, 600 tbc
       Metadata:
         creation_time   : 1998-11-04 16:40:13
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: qdmc (QDMC / 0x434D4451), 44100 Hz, mono
       Metadata:
         creation_time   : 1998-11-04 16:40:13
         handler_name    : Apple Alias Data Handler
    [graph 1 input from stream 0:1 @ 02b5f040] Invalid sample format '(null)'
    Error opening filters!
  • ffmpeg : alpha merge add audio [closed]

    21 juin 2022, par Alex

    I am alpha merging two videos for iOS/Apple devices (mov), the color.mp4 has audio, while alpha.mp4 has not. The end result has no audio ouput. What is the proper flag to grab audio from color.mp4 onto the output ?

    


     ffmpeg -y -i color.mp4 -i alpha.mp4 -f lavfi -i color=c=black:s=320x568 -filter_complex "[1:v]scale=320:568,setsar=1:1,split[vs][alpha];[0:v][vs]alphamerge[vt];[2:v][vt]overlay=shortest=1[rgb];[rgb][alpha]alphamerge" -shortest -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 0.75 -vtag hvc1 -pix_fmt yuva420p -an output.mov


    


  • Conditionally rotate portrait video if landscape with FFmeg

    12 novembre 2019, par Jules

    I need to convert only portrait videos to landscape, some video maybe landscape already.

    I need to achieve this with a shell script on a mac.

    I’ve previously managed to rotate a video with ..

    ffmpeg -i "/Users/jm/Library/Mobile Documents/com~apple~QuickTimePlayerX/Documents/output.mp4"
    -strict 1 -metadata:s:v rotate="90" -codec copy "$3"

    $3 is the input file in my shell script

    I’ve found this ...

    ffmpeg -i input.m4v 2>&1 | grep rotate

    From this answer https://stackoverflow.com/a/31683689/450456

    I’m not sure how to combine the two, or have to get and use the height and width in an if statement in a shell script.

    EDIT : Info as requested

    ffmpeg -i final.mp4
    ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.1_2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libass --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-nonfree
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final.mp4':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2019-11-12T20:45:27.000000Z
     Duration: 00:00:24.36, start: 0.031667, bitrate: 365 kb/s
       Stream #0:0(und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, smpte170m/unknown/unknown), 1242x2688, 365 kb/s, 1.73 fps, 600 tbr, 600 tbn, 600 tbc (default)
       Metadata:
         creation_time   : 2019-11-12T20:45:27.000000Z
         handler_name    : Core Media Data Handler
         encoder         : HEVC
    At least one output file must be specified