Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (39)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (6683)

  • Ffmpeg possible sws_scale memory leak

    5 décembre 2024, par Expressingx

    I'm decoding whatever the camera codec is and then always encode it to H264 and more specifically qsv if it is supported. Currently having 2 cameras to test. One is H264 encoding and one is rawvideo. The problem comes with rawvideo. The pixel format is BGR24 and scaling to NV12

    



    I will simplify the code because it is as any other example.

    



    avcodec_send_packet()
// while
avcodec_receive_frame()

// if frame is not EAGAIN convert BGR24 to NV12
if (_pConvertContext == null)
{
    _pConvertContext = CreateContext(sourcePixFmt, targePixFmt);
}

if (_convertedFrameBufferPtr == IntPtr.Zero)
{
    int buffSize = ffmpeg.av_image_get_buffer_size(targePixFmt, sourceFrame->width, sourceFrame->height, 1);
    _convertedFrameBufferPtr = Marshal.AllocHGlobal(buffSize);
     ffmpeg.av_image_fill_arrays(ref _dstData, ref _dstLinesize, (byte*)_convertedFrameBufferPtr, targePixFmt, sourceFrame->width, sourceFrame->height, 1);
}

return ScaleImage(_pConvertContext, sourceFrame, targePixFmt, _dstData, _dstLinesize);


    



    And ScaleImage method

    



    ffmpeg.sws_scale(ctx, sourceFrame->data, sourceFrame->linesize, 0, sourceFrame->height, dstData, dstLinesize);

AVFrame* f = ffmpeg.av_frame_alloc();

var data = new byte_ptrArray8();
data.UpdateFrom(dstData);
var linesize = new int_array8();
linesize.UpdateFrom(dstLinesize);

f->data = data;
f->linesize = linesize;
f->width = sourceFrame->width;
f->height = sourceFrame->height;
f->format = (int)targePixelFormat;

return f;


    



    After that sending the scaled frame to the encoder and receiving it and writing the file. After that I call av_frame_free(&frame) on the frame returned from the method. But when I set breakpoint I can see the address of the frame is the same even after calling av_frame_alloc() and cleaning everytime. And I think this is the reason for the memory leak. If I do deep clone of the f before returning it everything is fine. Why is that happening while the same logic works fine with the other camera ?

    


  • How to match precompiled static library's debugging symbols to source code with Xcode 5 ?

    21 septembre 2013, par Chris Ballinger

    I have to compile FFmpeg for iOS using an external build script, but when I am debugging I see assembler if I delve too deep into libavformat library functions :

    0x109a73:  cmpl   $0, 1192(%ebp)
    0x109a7a:  jns    0x109a86                  ; mov_write_header + 198 at movenc.c:3539
    0x109a7c:  movl   $1, 1192(%ebp)
    0x109a86:  movl   16(%ebp), %eax
    0x109a89:  cmpl   $0, 84(%eax)
    0x109a8d:  movl   %edx, %ecx
    0x109a8f:  jne    0x109ad9                  ; mov_write_header + 281 at movenc.c:3548
    0x109a91:  testb  $2, 48(%ecx)
    0x109a95:  jne    0x109ac1                  ; mov_write_header + 257 at movenc.c:3541

    There are clear debugging symbols left behind which would lead me to believe that there should be some way to tell Xcode the location of this source code to allow easier debugging.

    Is this even possible ?

    edit : I found a related question here No symbols/source for external library in Xcode 4

    So when I run xcrun dwarfdump libavformat.a | grep "\.c" I get a bunch of results like this :

    AT_decl_file( "libavformat/movenc.c" )

    So I tried putting the relevant source files in folders relative to both the .a file and my .xcodeproj file, but neither of those methods worked. Full source code is available here : https://github.com/openwatch/livestreamer-ios

    edit2 : I found another question about how to set the source mapping for lldb but I'm not quite sure what to do... LLDB equivalent of gdb "directory" command for specifying source search path ?

    It seems like I might need to do

    (lldb) settings set target.source-map libavformat/movenc.c /path/to/libavformat/movenc.c

    for every file I need ?

  • Announcing Piwik Community Meetup in Munich : Register now !

    5 mai 2014, par Piwik Core Team

    We’re excited to announce our second Piwik community Meetup ! This will be a unique opportunity to connect with other Piwik users, and meet the core team behind Piwik.

    Updated : presentation slides

    The Making Of The Analytics Platform Of The Future

    Piwik in Enterprise

    Piwik Analytics Platform

    Guest lecture : TV to Web Analytics

    Guest lecture : Oxid analytics with Piwik

    When and where is the meetup ? (update, see below)

    Location : Munich, Germany
    Date : Tuesday July 29th 2014
    Time : 5PM
    Language : German/English
    Cost : Free !

    Register now !

    Who can join ?

    All Piwik community members (users, translators, contributors) are warmly invited to join the meetup. Almost all of the core team will be present, we’re looking forward to meeting you !

    What to expect for the Piwik meetup ?

    The meetup will consist of three speakers giving quick 15-20 minute presentations followed by Q&A.

    • Discover some of the upcoming features
    • Learn tricks to make the most out of Piwik
    • Networking and socialising… and an after party in a local bar to continue the discussion !

    Who can join the meetup ?

    This meetup is open to all Piwik users and members of the community.

    • If you are using Piwik to improve your websites and apps, or generally curious about digital analytics and marketing
    • If you are interested in the platform, integrating your app with Piwik or building plugins, come meet with other developers and creators of Piwik

    Timing

    • Doors open at 17:00
    • Starts at 17:30
    • Ends at 20:00 – 20:30

    Schedule

    • 17:30 – Welcome speech (Peter Boehlke (german))
    • 17:40 – Piwik for governments & corporations – Piwik PRO case study (Maciej Zawadziński english)
    • 18:05 – Break (25 minutes) – Coffee, Tea, pastries and cold buffet (free)
    • 18:30 – Overview of the platform Piwik, custom data tracking, publishing on the new Marketplace (Thomas Steur (german))
    • 18:55 – Break (10 minutes)
    • 19:05Piwik users present interesting real world use cases (german)
      – TV-to-Web analytics (Jasper Sasse)
      – Piwik from a SEO’s perspective (Thomas Zeithaml)
      – Using the Piwik Framework to analyze Shop-Data (Joachim Barthel)
    • 19:30 – Break (10 minutes)
    • 19:40 – Next big features, milestones, future roadmap (Matthieu Aubry english)
    • 20:05 – Break (5 minutes)
    • 20:10 – Summary & end of the conference (german)
    • After party at a nearby bar or restaurant (open end)

    Call for Papers

    We would like to hear about how you use Piwik ! If you’d like to present your interesting use case on the conference (speaking time 5 to 7 minutes), please contact us at hello@piwik.org !

    Meetup location

    Munich Workstyle
    Landwehrstraße 61
    80336 München
    Location / Directions

    Parking space is limited : We recommend to use public transport !
    Stations nearby :

    - S-Bahn : Hauptbahnhof, Stachus (both 700m)

    - U-Bahn : Stachus (700m), Theresienwiese (400m)

    Beverage pricing

    - Mineral water : EUR 3,10 (0,75l)

    - Softdrinks / juices : EUR 2,10

    - Beer : EUR 2,80

    Munich Workstyle

    A special thank you to our sponsor Mayflower GmbH !

    Mayflower

    Register now

    Seats are limited, please register today to secure your seat :
    Register now !