Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (34)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5828)

  • ffmpeg : unsync audio after processing

    18 novembre 2013, par QuickSilver

    I am recording a video and using RecordRTC : WebRTC . After receiving the webm video and wav audio at server, I'm encoding it to a mp4 file using ffmpeg(executing shell command via php). But after encoding process, the audio is unsync with video (audio ends before video). How can I fix this ?

    js code is here

    ffmpeg command used is :

    ffmpeg -y -i 166890589.wav -i 166890589.webm -vcodec libx264 166890589.mp4

    Console output :

    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.04.1, Copyright (c) 2000-2013 the Libav developers
     built on Nov  9 2013 19:15:52 with gcc 4.7.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [wav @ 0x81caa60] max_analyze_duration reached
    Input #0, wav, from '166890589.wav':
     Duration: 00:00:07.05, bitrate: 1411 kb/s
       Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    [matroska,webm @ 0x823c340] Unknown entry 0x63C5
    [matroska,webm @ 0x823c340] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 10.00 (10/1)
    Input #1, matroska,webm, from '166890589.webm':
     Duration: 00:00:08.40, start: 0.000000, bitrate: N/A
       Stream #1.0: Video: vp8, yuv420p, 320x240, PAR 1:1 DAR 4:3, 10 tbr, 1k tbn, 1k tbc (default)
    [buffer @ 0x8245620] w:320 h:240 pixfmt:yuv420p
    [libx264 @ 0x82618a0] using SAR=1/1
    [libx264 @ 0x82618a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x82618a0] profile Main, level 1.1
    [libx264 @ 0x82618a0] 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=10 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 '166890589.mp4':
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=-1--1, 10 tbn, 10 tbc (default)
       Stream #0.1: Audio: libvo_aacenc, 44100 Hz, 2 channels, s16, 200 kb/s
    Stream mapping:
     Stream #1.0 -> #0.0
     Stream #0.0 -> #0.1
    Press ctrl-c to stop encoding
    frame=   84 fps=  0 q=25.0 Lsize=     260kB time=7.06 bitrate= 301.3kbits/s    
    video:83kB audio:172kB global headers:0kB muxing overhead 1.783102%
    frame I:1     Avg QP:17.52  size:  6554
    [libx264 @ 0x82618a0] frame P:41    Avg QP:19.07  size:  1555
    [libx264 @ 0x82618a0] frame B:42    Avg QP:20.01  size:   325
    [libx264 @ 0x82618a0] consecutive B-frames: 33.3%  0.0%  0.0% 66.7%
    [libx264 @ 0x82618a0] mb I  I16..4: 36.7%  0.0% 63.3%
    [libx264 @ 0x82618a0] mb P  I16..4:  3.8%  0.0%  5.0%  P16..4: 34.3%  9.8%  7.1%  0.0%  0.0%    skip:40.0%
    [libx264 @ 0x82618a0] mb B  I16..4:  1.4%  0.0%  0.1%  B16..8: 37.5%  5.5%  0.4%  direct: 2.5%  skip:52.5%  L0:41.4% L1:51.5% BI: 7.2%
    [libx264 @ 0x82618a0] coded y,uvDC,uvAC intra: 40.7% 76.2% 26.8% inter: 10.9% 22.5% 2.7%
    [libx264 @ 0x82618a0] i16 v,h,dc,p: 28% 34% 23% 15%
    [libx264 @ 0x82618a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 28% 21%  3%  4%  4%  5%  3%  3%
    [libx264 @ 0x82618a0] i8c dc,h,v,p: 49% 20% 26%  4%
    [libx264 @ 0x82618a0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x82618a0] ref P L0: 62.7%  4.6% 16.3% 16.4%
    [libx264 @ 0x82618a0] ref B L0: 79.0% 21.0%
    [libx264 @ 0x82618a0] kb/s:80.00
  • linking against SDL library on ubuntu

    18 novembre 2013, par ali129

    this is my first post
    I have this problem with SDL library and "ffmpeg's ffplay" and "dosbox" on ubuntu. Here is what happenning :
    I have installed SDL and code::blocks.
    I also wrote a simple sdl program that shows a picture and tried to compile it tree ways :

    1- On command prompt which compiled and works perfectly. ( i mean : gcc -o hellosdl hellosd.c -lsdlmain -lsdl)

    2- On code::blocks by choosing file->new->project->SDL project
    which compiled but gives an error regarding i can't initialize graphic

    and finally
    3- On code::blocks but this time i manually configured sdl. i mean i simply choosed a blanked c file.then added sdl linker options "-lsdlmain and -lsdl" in code::blocks linker settings. and this time the program workes perfectly.

    Now the problem i have with dosbox and ffmpeg. I tried to compile these programs by running ./configure and make and they compiled without any error. but when i try to run dosbox or ffplay they give me these errors :

    ffplay error :
    ffplay version 0.11.1.git Copyright (c) 2003-2012 the FFmpeg developers
    built on Oct 15 2013 04:34:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    configuration :
    libavutil 51. 73.101 / 51. 73.101
    libavcodec 54. 56.100 / 54. 56.100
    libavformat 54. 27.101 / 54. 27.101
    libavdevice 54. 2.100 / 54. 2.100
    libavfilter 3. 16.104 / 3. 16.104
    libswscale 2. 1.101 / 2. 1.101
    libswresample 0. 15.100 / 0. 15.100
    Could not initialize SDL - No available video device
    (Did you set the DISPLAY variable ?)

    and yes my DISPLAY variable is set correctly

    echo $DISPLAY
    :0.0

    and

    dosbox error :


    Exit to error : Can't init SDL No available video device

    i also tried installing dosbox using sudo apt-get install dosbox and it works perfectly.

    i don't know why for some occasion my sdl library works and for some doesn't .
    it would be great if you could help me.

  • Encoder (codec none) not found for output stream #0:1 [on hold]

    16 novembre 2013, par Gururak

    Hi i built ffmpeg executable on Redhat5. I want to mix two Audio using the command multiple
    "ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT.mp3".

    I enabled libflamemp3 library without any error.

    [root@localhost ~]# ffmpeg -i /root/media/Katlalli.mp3 -i /root/media/Katlalli.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=2 /root/media/OUTPutnew123.mp3
    ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 14 2013 03:17:10 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-46)
     configuration: --enable-libmp3lame
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    [mp3 @ 0x193ef240] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from '/root/media/Katlalli.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
     Duration: 00:04:41.46, start: 0.000000, bitrate: 191 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc), 200x200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    [mp3 @ 0x194090a0] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from '/root/media/Katlalli.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
     Duration: 00:04:41.46, start: 0.000000, bitrate: 191 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
       Stream #1:1: Video: mjpeg, yuvj420p(pc), 200x200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    File '/root/media/OUTPutnew123.mp3' already exists. Overwrite ? [y/N] y
    Output #0, mp3, to '/root/media/OUTPutnew123.mp3':
     Metadata:
       artist          : Yograj Bhat
       title           : Katlalli Karadige
       track           : 3
       album           : Paramathma
       album_artist    : Puneet Rajkumar
       genre           : Kannada
       composer        : V.Harikrishna
       date            : 2011
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp (default)
       Stream #0:1: Video: none, q=2-31, 128 kb/s, 90k tbn
       Metadata:
         title           : thumbnail
         comment         : Cover (front)
    Stream mapping:
     Stream #0:0 (mp3) -> amix:input0
     Stream #1:0 (mp3) -> amix:input1
     amix -> Stream #0:0 (libmp3lame)
     Stream #0:1 -> #0:1 (mjpeg -> ?)
    Encoder (codec none) not found for output stream #0:1

    But when i try to combine two mp3 audio,
    "ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT.mp3".

    I am getting error like

    "Encoder (codec none) not found for output stream #0:1"

    so please help me how to link or install "libmp3flame" on Redhat5.