Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (107)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • how to use x264 dll in another project

    7 février 2024, par Hadi Rasekh

    I want to use x264 in my project. There is some line in the code said :

    


    `/* Application developers planning to link against a shared library version of

    


      

    • libx264 from a Microsoft Visual Studio or similar development environment
    • 


    • will need to define X264_API_IMPORTS before including this header.
    • 


    • This clause does not apply to MinGW, similar development environments, or non
    • 


    • Windows platforms. */`
    • 


    


    But I don't get this line :
define X264_API_IMPORTS before including this header

    


    We can create x264 dll by its configuration and make

    


        ./configure --enable-shared
    make


    


    but I can not use the dll in my Qt Project.

    


    I can make my own dll (in another code) and use it in the project.
But when I start to use x264 dll in my project I get the following error :

    


        C:\DataHiding\SourceCode2\GUI\DataHiding\mainwindow.cpp:10: error:
    'pulldown_frame_duration' was not declared in this scope
    qDebug() << pulldown_frame_duration[1];
             ^


    


  • How can I setup PIDs using ffmpeg & MP4 Container ?

    11 août 2021, par Manoel Rocha

    Is there anyone who could help me with a simple hint regarding MP4 container ?

    


    Basically I got all the results I need, I just need a help to understand how to define PIDs (or component IDs) for each track inside the container.

    


    The command I'm using :

    


    ffmpeg -i source.mov -c:v libx264 -preset veryfast -b:v 20000K -minrate 20000K -maxrate 20000K -bufsize 40000K -bf 2 -qcomp 0.0 -keyint_min 25  -g 15 -pix_fmt yuv420p -color_trc bt709 -color_primaries bt709 -r 30000/1001 -profile:v high -level 4.1 -bsf:v 'filter_units=remove_types=6' -movflags faststart -metadata:s:v:0 language=eng -metadata:s:v:0 title="Video" -filter_complex "[0] scale=1920:1080" -filter_complex "[0:3][0:1][0:2][0:4][0:5][0:6]join=inputs=6:channel_layout=5.1,loudnorm=I=-23:TP=-1.0:LRA=20" -filter_complex "[0:9][0:7][0:8][0:10][0:11][0:12]join=inputs=6:channel_layout=5.1,loudnorm=I=-23:TP=-1.0:LRA=20" -c:a ac3 -b:a:0 448k -b:a:1 448k -metadata:s:a:0 language=eng -metadata:s:a:0 title="AC-3 5.1" -metadata:s:a:1 language=por -metadata:s:a:1 title="AC-3 5.1" -streamid 0:0x01E1 -streamid 1:0x01E2 -streamid 2:0x01E3 -f mp4 output.mp4


    


    My output file is a MP4 but tracks IDs are 1 (video), 2 (1st audio), 3 (2nd audio).

    


    How can I change these IDs to 101, 201 and 202 ?

    


    Many thanks for your time !

    


  • FFmpeg : -vn option ("no video") ignored

    8 avril 2014, par Zumteufel

    I'm having trouble converting and stripping the video part from a video when converting to Ogg and WMA. I'm using the same arguments (apart from the codec) when converting to MP3, and in that case it works as expected.

    Example :

    $ ffmpeg -y -i {input} -vn -ar 44100 -ac 2 -ab 192k -acodec libvorbis -threads 2 {output}

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 13 2013 14:06:15 with gcc 4.0.1 (GCC) (Apple Inc. build 5493)
     configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --arch=x86 --enable-runtime-cpudetect
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jan/Temporary files/b1c5375e311561d509d51c5aadd3162c.part':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2013-12-22 02:38:16
     Duration: 00:01:28.38, start: 0.000000, bitrate: 1143 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 949 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s
       Metadata:
         creation_time   : 2013-12-22 02:38:16
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    [flac @ 0x323bc20] encoding as 24 bits-per-sample
    Output #0, ogg, to '/Users/jan/Temporary files/What's this? Amazing brain test!!! Are you different?.ogg':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       title           : What's this? Amazing brain test!!! Are you different?
       author          : Unknown
       artist          : Unknown
       comment         :
       encoder         : Lavf54.63.104
       Stream #0:0(und): Audio: vorbis, 44100 Hz, stereo, fltp, 192 kb/s
       Metadata:
         creation_time   : 2013-12-22 02:38:16
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Output #1, ogg, to '/Users/jan/Temporary files/What's this? Amazing brain test!!! Are you different?.ogg':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf54.63.104
       Stream #1:0(und): Video: theora, yuv420p, 1280x720, q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #1:1(und): Audio: flac, 44100 Hz, stereo, s32, 128 kb/s
       Metadata:
         creation_time   : 2013-12-22 02:38:16
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Stream mapping:
     Stream #0:1 -> #0:0 (aac -> libvorbis)
     Stream #0:0 -> #1:0 (h264 -> libtheora)
     Stream #0:1 -> #1:1 (aac -> flac)

    The interesting part is the last lines, the stream mapping :

    Stream mapping:
     Stream #0:1 -> #0:0 (aac -> libvorbis)
     Stream #0:0 -> #1:0 (h264 -> libtheora)
     Stream #0:1 -> #1:1 (aac -> flac)

    Where does the flac stream come from ? Why is the H.264 stream converted with libtheora, when I have told FFmpeg to ignore video with the -vn option ?

    If using same procedure as above, but using the libmp3lame codec, I get

    Stream mapping:
     Stream #0:1 -> #0:0 (aac -> libmp3lame)
     Stream #0:1 -> #1:0 (aac -> libmp3lame)

    which is expected.

    Does anyone have any input ?

    Thanks in advance !