Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (106)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (7671)

  • Creating buttons with Imagick

    9 juin 2010, par Mikko Koppanen — Imagick, PHP stuff

    A fellow called kakapo asked me to create a button with Imagick. He had an image of the button and a Photoshop tutorial but unfortunately the tutorial was in Chinese. My Chinese is a bit rusty so it will take a little longer to create that specific button ;)

    The button in this example is created after this tutorial http://xeonfx.com/tutorials/easy-button-tutorial/ (yes, I googled “easy button tutorial”). The code and the button it creates are both very simple but the effect looks really nice.

    Here we go with the code :

    1. < ?php
    2.  
    3. /* Create a new Imagick object */
    4. $im = new Imagick() ;
    5.  
    6. /* Create empty canvas */
    7. $im->newImage( 200, 200, "white", "png" ) ;
    8.  
    9. /* Create the object used to draw */
    10. $draw = new ImagickDraw() ;
    11.  
    12. /* Set the button color.
    13.   Changing this value changes the color of the button */
    14. $draw->setFillColor( "#4096EE" ) ;
    15.  
    16. /* Create the outer circle */
    17. $draw->circle( 50, 50, 70, 70 ) ;
    18.  
    19. /* Create the smaller circle on the button */
    20. $draw->setFillColor( "white" ) ;
    21.  
    22. /* Semi-opaque fill */
    23. $draw->setFillAlpha( 0.2 ) ;
    24.  
    25. /* Draw the circle */
    26. $draw->circle( 50, 50, 68, 68 ) ;
    27.  
    28. /* Set the font */
    29. $draw->setFont( "./test1.ttf" ) ;
    30.  
    31. /* This is the alpha value used to annotate */
    32. $draw->setFillAlpha( 0.17 ) ;
    33.  
    34. /* Draw a curve on the button with 17% opaque fill */
    35. $draw->bezier( array(
    36.           array( "x" => 10 , "y" => 25 ),
    37.           array( "x" => 39, "y" => 49 ),
    38.           array( "x" => 60, "y" => 55 ),
    39.           array( "x" => 75, "y" => 70 ),
    40.           array( "x" => 100, "y" => 70 ),
    41.           array( "x" => 100, "y" => 10 ),
    42.          ) ) ;
    43.  
    44. /* Render all pending operations on the image */       
    45. $im->drawImage( $draw ) ;
    46.  
    47. /* Set fill to fully opaque */
    48. $draw->setFillAlpha( 1 ) ;
    49.  
    50. /* Set the font size to 30 */
    51. $draw->setFontSize( 30 ) ;
    52.  
    53. /* The text on the */
    54. $draw->setFillColor( "white" ) ;
    55.  
    56. /* Annotate the text */
    57. $im->annotateImage( $draw, 38, 55, 0, "go" ) ;
    58.  
    59. /* Trim extra area out of the image */
    60. $im->trimImage( 0 ) ;
    61.  
    62. /* Output the image */
    63. header( "Content-Type : image/png" ) ;
    64. echo $im ;
    65.  
    66.  ?>

    And here is a few buttons I created by changing the fill color value :

    red

    green

    blue

  • I am trying to use the RTSPPlay, project of mooncatventures. But it shows me error like this

    7 octobre 2013, par kamlesh shingarakhiya

    I am trying to use the RTSPPlay, project of mooncatventures. But it shows me error like this.

    Ld /Users/admin/Library/Developer/Xcode/DerivedData/Intercom-bpixnryueeelexfnzxtmgchcfgzq/Build/Products/Debug-iphonesimulator/Intercom.app/Intercom normal i386
       cd /Volumes/IPHONE/Intercom
       setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
       setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/admin/Library/Developer/Xcode/DerivedData/Intercom-bpixnryueeelexfnzxtmgchcfgzq/Build/Products/Debug-iphonesimulator -F/Users/admin/Library/Developer/Xcode/DerivedData/Intercom-bpixnryueeelexfnzxtmgchcfgzq/Build/Products/Debug-iphonesimulator -F/Users/admin/Downloads/RTSPPlay-master -filelist /Users/admin/Library/Developer/Xcode/DerivedData/Intercom-bpixnryueeelexfnzxtmgchcfgzq/Build/Intermediates/Intercom.build/Debug-iphonesimulator/Intercom.build/Objects-normal/i386/Intercom.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -fobjc-link-runtime -mios-simulator-version-min=6.1 -framework FFmpegDecoder -framework FFPlayer -framework SDL -framework OpenGLES -framework MediaPlayer -framework CoreMedia -framework CoreVideo -framework MobileCoreServices -framework AVFoundation -framework CFNetwork -lbz2 -lxml2 -lz.1.1.3 -lz -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/admin/Library/Developer/Xcode/DerivedData/Intercom-bpixnryueeelexfnzxtmgchcfgzq/Build/Products/Debug-iphonesimulator/Intercom.app/Intercom



    Undefined symbols for architecture i386:
     "_SDL_AddTimer", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_CloseAudio", referenced from:
         _stream_component_close in FFPlayer(main.o)
     "_SDL_CondSignal", referenced from:
         _SDL_main in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
         _packet_queue_abort in FFPlayer(main.o)
         _packet_queue_put in FFPlayer(main.o)
     "_SDL_CondWait", referenced from:
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
         _packet_queue_get in FFPlayer(main.o)
     "_SDL_CreateCond", referenced from:
         _SDL_main in FFPlayer(main.o)
         _packet_queue_init in FFPlayer(main.o)
     "_SDL_CreateMutex", referenced from:
         _SDL_main in FFPlayer(main.o)
         _packet_queue_init in FFPlayer(main.o)
     "_SDL_CreateRGBSurface", referenced from:
         _SDL_main in FFPlayer(main.o)
         _video_open in FFPlayer(main.o)
     "_SDL_CreateRenderer", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_CreateThread", referenced from:
         _SDL_main in FFPlayer(main.o)
         _stream_component_open in FFPlayer(main.o)
     "_SDL_CreateWindow", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_Delay", referenced from:
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
         _decode_thread in FFPlayer(main.o)
     "_SDL_DestroyCond", referenced from:
         _do_exit in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
     "_SDL_DestroyMutex", referenced from:
         _do_exit in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
     "_SDL_DestroyTexture", referenced from:
         _video_display in FFPlayer(main.o)
     "_SDL_EventState", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_FillRect", referenced from:
         _video_display in FFPlayer(main.o)
     "_SDL_FreeSurface", referenced from:
         _SDL_main in FFPlayer(main.o)
         _do_exit in FFPlayer(main.o)
     "_SDL_GL_SetAttribute", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_Init", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_LockSurface", referenced from:
         _video_thread in FFPlayer(main.o)
     "_SDL_MapRGB", referenced from:
         _video_display in FFPlayer(main.o)
     "_SDL_OpenAudio", referenced from:
         _stream_component_open in FFPlayer(main.o)
     "_SDL_PauseAudio", referenced from:
         _stream_component_open in FFPlayer(main.o)
     "_SDL_PixelFormatEnumToMasks", referenced from:
         _SDL_main in FFPlayer(main.o)
         _video_open in FFPlayer(main.o)
     "_SDL_PollEvent", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_PushEvent", referenced from:
         _sdl_refresh_timer_cb in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _decode_thread in FFPlayer(main.o)
     "_SDL_RenderPresent", referenced from:
         _video_display in FFPlayer(main.o)
     "_SDL_SendQuit", referenced from:
         -[SDLUIKitDelegate quitSdl] in SDL_uikitappdelegate.o
         -[SDLUIKitDelegate applicationWillTerminate:] in SDL_uikitappdelegate.o
         -[SDLUIKitDelegate applicationDidEnterBackground:] in SDL_uikitappdelegate.o
     "_SDL_UnlockSurface", referenced from:
         _video_thread in FFPlayer(main.o)
     "_SDL_WaitEvent", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_SDL_WaitThread", referenced from:
         _do_exit in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
     "_SDL_mutexP", referenced from:
         _SDL_main in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
         _packet_queue_get in FFPlayer(main.o)
         _packet_queue_abort in FFPlayer(main.o)
         _packet_queue_flush in FFPlayer(main.o)
         ...
     "_SDL_mutexV", referenced from:
         _SDL_main in FFPlayer(main.o)
         _stream_component_close in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
         _packet_queue_get in FFPlayer(main.o)
         _packet_queue_abort in FFPlayer(main.o)
         _packet_queue_flush in FFPlayer(main.o)
         ...
     "_av_audio_convert", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
     "_av_audio_convert_alloc", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
     "_av_audio_convert_free", referenced from:
         _stream_component_close in FFPlayer(main.o)
         _sdl_audio_callback in FFPlayer(main.o)
     "_av_bitstream_filter_next", referenced from:
         _show_formats in cmdutils.o
     "_av_close_input_file", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_codec_next", referenced from:
         _show_formats in cmdutils.o
     "_av_dup_packet", referenced from:
         _packet_queue_put in FFPlayer(main.o)
     "_av_find_input_format", referenced from:
         _opt_format in FFPlayer(main.o)
     "_av_find_opt", referenced from:
         _opt_default in cmdutils.o
     "_av_find_stream_info", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_free", referenced from:
         _SDL_main in FFPlayer(main.o)
         _free_subpicture in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _packet_queue_get in FFPlayer(main.o)
     "_av_free_packet", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
         _packet_queue_flush in FFPlayer(main.o)
         _decode_thread in FFPlayer(main.o)
     "_av_freep", referenced from:
         _free_subpicture in FFPlayer(main.o)
         _packet_queue_flush in FFPlayer(main.o)
     "_av_get_bits_per_sample_format", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
     "_av_get_int", referenced from:
         _video_thread in FFPlayer(main.o)
     "_av_get_string", referenced from:
         _set_context_opts in cmdutils.o
     "_av_gettime", referenced from:
         _SDL_main in FFPlayer(main.o)
         _get_master_clock in FFPlayer(main.o)
         _video_display in FFPlayer(main.o)
         _get_video_clock in FFPlayer(main.o)
         _stream_component_open in FFPlayer(main.o)
         _sdl_audio_callback in FFPlayer(main.o)
         _stream_pause in FFPlayer(main.o)
         ...
     "_av_iformat_next", referenced from:
         _show_formats in cmdutils.o
     "_av_init_packet", referenced from:
         _SDL_main in FFPlayer(main.o)
         _decode_thread in FFPlayer(main.o)
     "_av_log", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_malloc", referenced from:
         _packet_queue_put in FFPlayer(main.o)
     "_av_mallocz", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_av_metadata_get", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_oformat_next", referenced from:
         _show_formats in cmdutils.o
     "_av_open_input_file", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_protocol_next", referenced from:
         _show_formats in cmdutils.o
     "_av_read_frame", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_read_pause", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_read_play", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_av_realloc", referenced from:
         _opt_default in cmdutils.o
     "_av_register_all", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_av_set_string3", referenced from:
         _opt_default in cmdutils.o
         _set_context_opts in cmdutils.o
     "_av_strdup", referenced from:
         _parse_options in cmdutils.o
     "_av_strlcat", referenced from:
         _show_help_options in cmdutils.o
     "_av_strlcpy", referenced from:
         _show_help_options in cmdutils.o
         _SDL_main in FFPlayer(main.o)
     "_avcodec_alloc_context2", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_avcodec_alloc_frame", referenced from:
         _video_thread in FFPlayer(main.o)
     "_avcodec_close", referenced from:
         _stream_component_close in FFPlayer(main.o)
     "_avcodec_decode_audio3", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
     "_avcodec_decode_subtitle2", referenced from:
         _subtitle_thread in FFPlayer(main.o)
     "_avcodec_decode_video2", referenced from:
         _video_thread in FFPlayer(main.o)
     "_avcodec_find_decoder", referenced from:
         _stream_component_open in FFPlayer(main.o)
     "_avcodec_flush_buffers", referenced from:
         _sdl_audio_callback in FFPlayer(main.o)
         _video_thread in FFPlayer(main.o)
         _subtitle_thread in FFPlayer(main.o)
     "_avcodec_open", referenced from:
         _stream_component_open in FFPlayer(main.o)
     "_avcodec_register_all", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_avcodec_thread_init", referenced from:
         _stream_component_open in FFPlayer(main.o)
     "_avcodec_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_avdevice_register_all", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_avdevice_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_avfilter_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_avformat_alloc_context", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_avformat_seek_file", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_avformat_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_avpicture_alloc", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_avutil_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_dump_format", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_parse_date", referenced from:
         _parse_time_or_die in cmdutils.o
     "_sws_getCachedContext", referenced from:
         _video_thread in FFPlayer(main.o)
     "_sws_getContext", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_sws_scale", referenced from:
         _video_thread in FFPlayer(main.o)
     "_swscale_version", referenced from:
         _print_all_lib_versions in cmdutils.o
     "_url_feof", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_url_ferror", referenced from:
         _decode_thread in FFPlayer(main.o)
     "_url_ftell", referenced from:
         _SDL_main in FFPlayer(main.o)
     "_url_set_interrupt_cb", referenced from:
         _decode_thread in FFPlayer(main.o)
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Can someone plz help me, thanx guys. I have checked that SDL.Framework and I dont see any problem in it. Does I have to add some library in my project to run this project or in mac.

  • Révision 18368 : Révision du code HTML produit par le filtre agenda_memo (et son utilisation impl...

    22 août 2011, par esj@rezo.net

    remplacement de "cellpadding" par la propriété CSS "padding" * remplacement de "cellspacing=0" par la propriété CSS "border-collapse : collapse * remplacement de la plupart des tables par des Div positionnéés, afin d’évacuer certaines tables imbriquées * mise en Ajax du triple mini-agenda aparaissant au (...)