Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (92)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (13585)

  • Preserving or syncing audio of original video to video fragments

    2 mai 2015, par Code_Ed_Student

    I currently have a few videos that I want to split into EXACTLY 30 seconds segments. I have been able to accomplish but the audio is not being properly preserve. Its out of sync. I tried playing arsample ab and other libraries but I am not getting the desired outuput. What would be the best way to both split the videos in exactly 30 second frames and preserve the audio ?

    ffmpeg -i $file -preset medium -map 0 -segment_time 30 -g 225 -r 25  -sc_threshold 0 -force_key_frames expr:gte(t,n_forced*30) -f segment -movflags faststart -vf scale=-1:720,format=yuv420p -vcodec libx264 -crf 20 -codec:a copy $dir/$video_file-%03d.mp4

    short snippet of output

    Input #0, flv, from '/media/sf_linux_sandbox/hashtag_pull/video-downloads/5b64d7ab-a669-4016-b55e-fe4720cbd843/5b64d7ab-a669-4016-b55e-fe4720cbd843.flv':
     Metadata:
       moovPosition    : 40
       avcprofile      : 77
       avclevel        : 31
       aacaot          : 2
       videoframerate  : 30
       audiochannels   : 2
       ©too           : Lavf56.15.102
       length          : 7334912
       sampletype      : mp4a
       timescale       : 48000
     Duration: 00:02:32.84, start: 0.000000, bitrate: 2690 kb/s
       Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 30.30 fps, 29.97 tbr, 1k tbn, 59.94 tbc
       Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
    [libx264 @ 0x3663ba0] using SAR=1/1
    [libx264 @ 0x3663ba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
    [libx264 @ 0x3663ba0] profile High, level 3.1
    [libx264 @ 0x3663ba0] 264 - core 144 r2 40bb568 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=225 keyint_min=22 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, segment, to '/media/sf_linux_sandbox/hashtag_pull/video-edits/30/5b64d7ab-a669-4016-b55e-fe4720cbd843/5b64d7ab-a669-4016-b55e-fe4720cbd843-%03d.mp4':
     Metadata:
       moovPosition    : 40
       avcprofile      : 77
       avclevel        : 31
       aacaot          : 2
       videoframerate  : 30
       audiochannels   : 2
       ©too           : Lavf56.15.102
       length          : 7334912
       sampletype      : mp4a
       timescale       : 48000
       encoder         : Lavf56.16.102
       Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.19.100 libx264
       Stream #0:1: Audio: aac, 48000 Hz, stereo
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (copy)
  • error : av_interleaved_write_frame() : Unknown error

    12 avril 2014, par John Qualis

    I am new to ffmpeg. I am trying to stream my webcam using ffmpeg (x264 encoding) on a windows machine to ffserver on a linux server and restream it. I am getting the following error : av_interleaved_write_frame() : Unknown error
    I checked about it on the net and came across mails which said it could be related to version mismatch between ffmpeg and ffserver. I made sure that all libraries that are used by ffmpeg and ffserver have the same version. I am still getting this error. Appreciate any help in solving this issue.

    I am using the following command :

    .\ffmpeg.exe -f dshow -i video="Webcam C170":audio="Microphone (3- Webcam C170)" -an -g 94 -vcodec libx264 -b:v 512k -r 30 -f flv http://AA.BB.CC.DD:8090/feed1.ffm

    I get the followoing errors -

     [dshow @ 0003f240] real-time buffer 101% full! frame dropped!
       Last message repeated 1 times
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 02563520] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 02563520] profile High 4:2:2, level 3.0, 4:2:2 8-bit
    [libx264 @ 02563520] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec - Copyleft
    2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0
    analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chro
    ma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 thre
    ads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compa
    t=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 o
    pen_gop=0 weightp=2 keyint=94 keyint_min=9 scenecut=40 intra_refresh=0 rc_lookahead=4
    0 rc=abr mbtree=1 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_rat
    io=1.40 aq=1:1.00
    Output #0, flv, to 'http://184.173.147.99:8090/feed1.ffm':
     Metadata:
       encoder         : Lavf55.22.100
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 640x480, q=-
    1--1, 512 kb/s, 1k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press [q] to stop, [?] for help
    frame=   59 fps=9.0 q=28.0 size=       3kB time=00:00:00.46 bitrate=  58.6kbits/s
    av_interleaved_write_frame(): Unknown error

    In my /etc/ffserver.conf I have the following settings -

    <feed>

    File /tmp/feed1.ffm
    ##File /mnt/vmtmpfs/feed1.ffm
    FileMaxSize 50M

    ACL allow 127.0.0.1
    ACL allow 0.0.0.0 255.255.255.255

    </feed>

    <stream>
           Format flv
           Feed feed1.ffm

           VideoCodec libx264
           VideoFrameRate 30
           VideoBitRate 512
           VideoSize 320x240
           AVOptionVideo crf 23
           AVOptionVideo preset medium
           # for more info on crf/preset options, type: x264 --help
           AVOptionVideo flags +global_header
           # NoAudio

           AudioCodec aac
           Strict -2
           AudioBitRate 128
           AudioChannels 2
           AudioSampleRate 44100
           AVOptionAudio flags +global_header
           ACL ALLOW 0.0.0.0 255.255.255.255
    </stream>
  • ffmpeg converting .mkv to .264

    7 novembre 2017, par V. Panchenko

    I want to convert .mkv to .264.
    I try to do it using ffmpeg :

    ffmpeg -i input.mkv -vcodec copy -acodec copy output.264

    It works without errors, but when I try to play output.264 using ffplay :

    ffplay -f h264 -i output.264

    ffplay response is :

    ffplay version N-75924-gd25c033 Copyright (c) 2003-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      55.  3.100 / 55.  3.100
     libavcodec     57.  5.100 / 57.  5.100
     libavformat    57.  3.100 / 57.  3.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 11.100 /  6. 11.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.100 /  2.  0.100
     libpostproc    54.  0.100 / 54.  0.100
    [h264 @ 03972220] sps_id 24 out of rangeq=    0KB sq=    0B f=0/0
    [h264 @ 03972220] missing picture in access unit with size 12836207
    [h264 @ 03972220] data partitioning is not implemented. Update your FFmpeg versi
    on to the newest one from Git. If the problem still occurs, it means that your f
    ile has a feature which has not been implemented.
    [h264 @ 03972220] If you want to help, upload a sample of this file to ftp://upl
    oad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-deve
    l@ffmpeg.org)
    [h264 @ 03972220] data partitioning is not implemented. Update your FFmpeg versi
    on to the newest one from Git. If the problem still occurs, it means that your f
    ile has a feature which has not been implemented.
    [h264 @ 03972220] If you want to help, upload a sample of this file to ftp://upl
    oad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-deve
    l@ffmpeg.org)
    [h264 @ 03972220] sps_id 24 out of range
    [h264 @ 03972220] data partitioning is not implemented. Update your FFmpeg versi
    on to the newest one from Git. If the problem still occurs, it means that your f
    ile has a feature which has not been implemented.
    [h264 @ 03972220] If you want to help, upload a sample of this file to ftp://upl
    oad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-deve
    l@ffmpeg.org)
    [h264 @ 03972220] no frame!
    [h264 @ 039696e0] Stream #0: not enough frames to estimate rate; consider increa
    sing probesize
    [h264 @ 039696e0] decoding for stream 0 failed
    [h264 @ 039696e0] Could not find codec parameters for stream 0 (Video: h264, non
    e): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Contagion.264: could not find codec parameters

    How I can fix it and convert .mkv to .264 correctly ?