Recherche avancée

Médias (91)

Autres articles (22)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (4168)

  • Ffmpeg : Audio/Video mixing but no sound

    14 janvier 2014, par user2914878

    I'm trying to add an audio file to a video file generated from images with FFmpeg.

    The command i am using on a Debian distrib is this one

    ffmpeg -r 1 -i edit%0d.jpg outputName.mp4 -i Test.mp3

    The video file is created but the audio is not working .

    Output : :

    > ffmpeg version 0.8.9-6:0.8.9-1, Copyright (c) 2000-2013 the Libav developers
     built on Nov  3 2013 00:54:50 with gcc 4.7.2
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [image2 @ 0x2283b20] max_analyze_duration reached
    Input #0, image2, from 'edit%0d.jpg':
     Duration: 00:00:24.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj420p, 800x600 [PAR 1:1 DAR 4:3], 1 fps, 1 tbr, 1 tbn, 1 tbc
    [mp3 @ 0x22d8840] max_analyze_duration reached
    [mp3 @ 0x22d8840] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'Test.mp3':
     Duration: 00:00:46.04, start: 0.000000, bitrate: 128 kb/s
       Stream #1.0: Audio: mp3, 16000 Hz, mono, s16, 128 kb/s
    [buffer @ 0x2287480] w:800 h:600 pixfmt:yuvj420p
    [libx264 @ 0x22d7d20] using SAR=1/1
    [libx264 @ 0x22d7d20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x22d7d20] profile Main, level 3.1
    [libx264 @ 0x22d7d20] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
    Output #0, mp4, to '6953289.mp4':
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0: Video: libx264, yuvj420p, 800x600 [PAR 1:1 DAR 4:3], q=-1--1, 1 tbn, 1 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    frame=   24 fps= 16 q=17.0 Lsize=    1247kB time=23.00 bitrate= 444.1kbits/s
    video:1246kB audio:0kB global headers:0kB muxing overhead 0.079555%
    frame I:1     Avg QP:14.91  size: 65650
    [libx264 @ 0x22d7d20] frame P:23    Avg QP:14.94  size: 52587
    [libx264 @ 0x22d7d20] mb I  I16..4: 11.8%  0.0% 88.2%
    [libx264 @ 0x22d7d20] mb P  I16..4: 29.8%  0.0% 60.5%  P16..4:  6.8%  0.2%  0.3%  0.0%  0.0%    skip: 2.4%
    [libx264 @ 0x22d7d20] coded y,uvDC,uvAC intra: 73.2% 58.6% 49.7% inter: 9.2% 8.0% 1.2%
    [libx264 @ 0x22d7d20] i16 v,h,dc,p: 56% 24%  6% 14%
    [libx264 @ 0x22d7d20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 22% 12%  7%  7%  7%  7%  7%  7%
    [libx264 @ 0x22d7d20] i8c dc,h,v,p: 60% 17% 13%  9%
    [libx264 @ 0x22d7d20] Weighted P-Frames: Y:17.4% UV:17.4%
    [libx264 @ 0x22d7d20] ref P L0: 12.9%  8.0% 66.4% 12.8%
    [libx264 @ 0x22d7d20] kb/s:425.05

    On Windows it is working fine, i tried multiple scenarios but i can't seem to find the issue, maybe a codec problem ?

    Thank you !

    Update :

    I manage to fix it this way :

    ffmpeg -r 1 -i edit%0d.jpg -i Test.mp3 -ar 44100 -strict experimental
  • Stream input to stream output using avserver

    13 janvier 2014, par Gustavo Sgarbi Campos

    I'm trying to use the avserver package to re-stream my ip camera's stream in order to be able to record this stream and access it remotelly without having to stream it twice from the camera, to avoid overloading the wireless network.

    Following this link https://libav.org/avserver.html I came up with the following command :

    avserver -f /etc/avserver.conf & avconv -i http://user:password@192.168.1.121/videostream.asf http://localhost:80/feed1.ffm

    This gives me the following output

    avserver version 0.8.3-6:0.8.3-6ubuntu2, Copyright (c) 2000-2012 the Libav developers
    built on Oct  1 2012 15:03:26 with gcc 4.7.2
    avconv version 0.8.3-6:0.8.3-6ubuntu2, Copyright (c) 2000-2012 the Libav developers
    built on Oct  1 2012 15:03:26 with gcc 4.7.2
    Mon Jan 13 20:13:44 2014 AVserver started.
    [asf @ 0x153cac0] max_analyze_duration reached
    [asf @ 0x153cac0] Estimating duration from bitrate, this may be inaccurate
    Input #0, asf, from 'http://admin:gafit@192.168.1.121/videostream.asf':
    Duration: N/A, start: 0.000000, bitrate: 32 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 100 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: adpcm_ima_wav, 8000 Hz, 1 channels, s16, 32 kb/s
    Incompatible pixel format 'yuvj422p' for codec 'mpeg1video', auto-selecting format 'yuv420p'
    [buffer @ 0x153ec80] w:320 h:240 pixfmt:yuvj422p
    [avsink @ 0x1544820] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x1543460] w:320 h:240 fmt:yuvj422p -> w:320 h:240 fmt:yuv420p flags:0x4
    [mp2 @ 0x1544aa0] Requested sampling rate unsupported using closest supported (16000)
    Mon Jan 13 20:13:50 2014 Feed '/tmp/feed1.ffm.ffm' stream number does not match registered feed
    Output #0, ffm, to 'http://localhost:80/feed1.ffm':
    Metadata:
    encoder         : Lavf53.21.0
    Stream #0.0: Video: mpeg1video, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1000k tbn, 60 tbc
    Stream #0.1: Audio: mp2, 16000 Hz, 1 channels, s16, 128 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (mjpeg -> mpeg1video)
    Stream #0:1 -> #0:1 (adpcm_ima_wav -> mp2)
    Press ctrl-c to stop encoding
    Mon Jan 13 20:13:50 2014 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 4096

    When I try to open this stream via VLC, using

    http://192.168.1.15/test.asf

    I get the following additional output

    Mon Jan 13 20:17:39 2014 192.168.1.6 - - [GET] "/test.asf HTTP/1.1" 200 115s dup=12210 drop=0    
    Mon Jan 13 20:17:39 2014 Codec for stream 0 does not use global headers but container format requires global headers
    Mon Jan 13 20:17:39 2014 Codec for stream 1 does not use global headers but container format requires global headers

    And I get nothing on VLC. I'm not quite sure what is going on or how to fix it, so any enlightning on this would be very welcome.

    Thank you all in advance !

  • FFMpeg integration with iOS 7

    2 janvier 2014, par metsburg

    I am trying to integrate FFMpeg with iOS 7.

    My objective is to decode a video stream which is coming in through H.264 video codec.

    I've built the FFMpeg library using methodology described here : Trying to compile the FFMPEG libraries for iPhoneOS platform with armv6 and arv7 architecture

    When I compile using :

    ./configure
    --prefix=armv7
    --disable-ffmpeg
    --disable-ffplay
    --disable-ffprobe
    --disable-ffserver
    --enable-avresample
    --enable-cross-compile
    --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk"
    --target-os=darwin
    --cc="/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2"
    --extra-cflags="-arch armv7 -mfpu=neon -miphoneos-version-min=6.1"
    --extra-ldflags="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -miphoneos-version-min=7.0"
    --arch=arm --cpu=cortex-a9 --enable-pic

    all the *.a files do not get generated.

    I'm trying to create a sample FFMpeg project, as described in http://sol3.typepad.com/exotic_particles/2012/10/building-a-simple-frame-recorder-part-1.html?cid=6a00d8343a141353ef019b01f49c8e970d#comment-6a00d8343a141353ef019b01f49c8e970d

    However, I keep getting the following error while trying to build the project :

    Undefined symbols for architecture i386:

     "_av_close_input_file", referenced from:

         -[FrameExtractor dealloc] in FFmpegDecoder(FrameExtractor.o)

     "_av_find_stream_info", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_av_free", referenced from:

         -[FrameExtractor dealloc] in FFmpegDecoder(FrameExtractor.o)

     "_av_free_packet", referenced from:

         -[FrameExtractor stepFrame] in FFmpegDecoder(FrameExtractor.o)

     "_av_open_input_file", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_av_read_frame", referenced from:

         -[FrameExtractor stepFrame] in FFmpegDecoder(FrameExtractor.o)

     "_av_register_all", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_alloc_frame", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_close", referenced from:

         -[FrameExtractor dealloc] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_decode_video2", referenced from:

         -[FrameExtractor stepFrame] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_find_decoder", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_flush_buffers", referenced from:

         -[FrameExtractor seekTime:] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_open", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_avcodec_register_all", referenced from:

         -[FrameExtractor initWithVideo:] in FFmpegDecoder(FrameExtractor.o)

     "_avformat_seek_file", referenced from:

         -[FrameExtractor seekTime:] in FFmpegDecoder(FrameExtractor.o)

     "_avpicture_alloc", referenced from:

         -[FrameExtractor setupScaler] in FFmpegDecoder(FrameExtractor.o)

     "_avpicture_free", referenced from:

         -[FrameExtractor setupScaler] in FFmpegDecoder(FrameExtractor.o)

         -[FrameExtractor dealloc] in FFmpegDecoder(FrameExtractor.o)

     "_sws_freeContext", referenced from:

         -[FrameExtractor setupScaler] in FFmpegDecoder(FrameExtractor.o)

         -[FrameExtractor dealloc] in FFmpegDecoder(FrameExtractor.o)

     "_sws_getContext", referenced from:

         -[FrameExtractor setupScaler] in FFmpegDecoder(FrameExtractor.o)

     "_sws_scale", referenced from:

         -[FrameExtractor convertFrameToRGB] in FFmpegDecoder(FrameExtractor.o)

    ld: symbol(s) not found for architecture i386

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Please help.