Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (26)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5232)

  • FFmpeg saving rtmp live stream cuts off after 3 minutes

    20 janvier 2013, par user1636922

    I was playing with ffmpeg and was able to save a live stream to a file. The command to do so is :

    ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -f h264 test.flv
    </ip>

    However, I have tested this twice, and both times ffmpeg stops after grabbing 3:28 worth of live video.

    The entire output is here :

    bash-4.2$ ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -vcodec libx264 -f h264 test.flv
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jul 20 2012 22:01:52 with gcc 4.7.0 20120507 (Red Hat 4.7.0-5)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags=&#39;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables&#39; --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
     libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    Metadata:
     videocodecid          avc1
     width                 320.00
     height                240.00
     frameWidth            320.00
     frameHeight           240.00
     displayWidth          320.00
     displayHeight         240.00
     framerate             29.97
    trackinfo:
     timescale             90000.00
     language              eng
    sampledescription:
     sampletype            H264
     type                  video
     profile-level-id      42e00c
     sprop-parameter-sets  Z0LgDNoFB+wEQAAC7sAAr8gh,aM4zyA==
     description           {H264CodecConfigInfo: profile: "Baseline", level: 1.2, frameSize: 320x240, displaySize: 320x240, PAR: 1:1, frameRate: 29.97}
    rtpsessioninfo:
     name                  H264 Stream 1
     origin                - 1486490083 118668671 IN IP4 10.93.183.3
     timing                0 0
     protocolversion       0
    attributes:
     range                 npt=now-
    [flv @ 0x9578ee0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from &#39;rtmp://<ip addr="addr">/livestream live=1&#39;:
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 14.99 tbr, 1k tbn, 59.94 tbc
    [buffer @ 0x99ee900] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [libx264 @ 0x9584540] using SAR=1/1
    [libx264 @ 0x9584540] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x9584540] profile High, level 1.2
    Output #0, h264, to &#39;test.flv&#39;:
     Metadata:
       encoder         : Lavf53.32.100
       Stream #0:0: Video: h264, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 90k tbn, 14.99 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
    Press [q] to stop, [?] for help
    RTMP_ReadPacket, failed to read RTMP packet body. len: 16582bitrate= 212.1kbits/s    
    frame= 3111 fps= 15 q=-2.0 Lsize=    5385kB time=00:03:27.47 bitrate= 212.6kbits/s    
    video:5385kB audio:0kB global headers:0kB muxing overhead 0.000000%
    [libx264 @ 0x9584540] frame I:13    Avg QP:18.70  size: 31866
    [libx264 @ 0x9584540] frame P:1908  Avg QP:22.29  size:  2392
    [libx264 @ 0x9584540] frame B:1190  Avg QP:29.24  size:   451
    [libx264 @ 0x9584540] consecutive B-frames: 39.5% 24.0% 13.0% 23.4%
    [libx264 @ 0x9584540] mb I  I16..4:  0.2%  1.2% 98.6%
    [libx264 @ 0x9584540] mb P  I16..4:  0.0%  0.0%  0.7%  P16..4: 22.0%  3.5%  2.6%  0.0%  0.0%    skip:71.2%
    [libx264 @ 0x9584540] mb B  I16..4:  0.0%  0.0%  0.2%  B16..8: 15.6%  2.8%  1.1%  direct: 1.3%  skip:78.9%  L0:47.0% L1:42.2% BI:10.8%
    [libx264 @ 0x9584540] 8x8 transform intra:2.2% inter:8.5%
    [libx264 @ 0x9584540] coded y,uvDC,uvAC intra: 98.0% 94.9% 73.9% inter: 14.5% 16.0% 11.3%
    [libx264 @ 0x9584540] i16 v,h,dc,p:  0% 50% 17% 33%
    [libx264 @ 0x9584540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 21% 11%  3% 13%  6% 21%  4% 14%
    [libx264 @ 0x9584540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 21% 14%  5% 11%  7% 14%  5% 12%
    [libx264 @ 0x9584540] i8c dc,h,v,p: 65% 15% 10% 10%
    [libx264 @ 0x9584540] Weighted P-Frames: Y:0.5% UV:0.1%
    [libx264 @ 0x9584540] ref P L0: 80.8% 10.4%  7.6%  1.2%  0.0%
    [libx264 @ 0x9584540] ref B L0: 94.9%  4.8%  0.2%
    [libx264 @ 0x9584540] ref B L1: 96.4%  3.6%
    [libx264 @ 0x9584540] kb/s:212.48
    </ip></ip>

    Although I don't see any errors. It just looks like ffmpeg thought the stream had ended ? But that's not possible since it's a live stream.

  • ffmpeg + ffserver : "Broken ffmpeg default settings detected"

    18 octobre 2012, par Chris Nolet

    I'm just trying to connect ffmpeg to ffserver and stream rawvideo.

    I keep getting the error : broken ffmpeg default settings detected from libx264 and then Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height from ffmpeg before it exits.

    I'm launching ffmpeg with the command : ffmpeg -f x11grab -s 320x480 -r 10 -i :0.0 -tune zerolatency http://localhost:8090/feed1.ffm

    My ffserver.conf file (for ffserver) looks like this :

    Port 8090
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog -
    NoDaemon

    <feed>
     ACL allow 127.0.0.1
    </feed>

    <stream>
     Feed feed1.ffm
     Format asf

     NoAudio

     VideoBitRate 128
     VideoBufferSize 400
     VideoFrameRate 24
     VideoSize 320x480

     VideoGopSize 12

     VideoQMin 1
     VideoQMax 31

     VideoCodec libx264
    </stream>

    <stream>
     Format status
    </stream>

    And the full output is :

    ffmpeg version N-45614-g364c60b Copyright (c) 2000-2012 the FFmpeg developers
     built on Oct 17 2012 04:34:04 with Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
     configuration: --enable-shared --enable-libx264 --enable-libmp3lame --enable-x11grab --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/clang --host-cflags=&#39;-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7&#39; --extra-cflags=&#39;-x objective-c&#39; --extra-ldflags=&#39;-framework Foundation -framework Cocoa -framework CoreServices -framework ApplicationServices -lobjc&#39;
     libavutil      51. 76.100 / 51. 76.100
     libavcodec     54. 66.100 / 54. 66.100
     libavformat    54. 32.101 / 54. 32.101
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 19.103 /  3. 19.103
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 16.100 /  0. 16.100
     libpostproc    52.  1.100 / 52.  1.100
    [x11grab @ 0x7f87dc01e200] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 320 height: 480
    [x11grab @ 0x7f87dc01e200] Estimating duration from bitrate, this may be inaccurate
    Input #0, x11grab, from &#39;:0.0&#39;:
     Duration: N/A, start: 1350517708.386699, bitrate: 49152 kb/s
       Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 320x480, 49152 kb/s, 10 tbr, 1000k tbn, 10 tbc
    [tcp @ 0x7f87dc804120] TCP connection to localhost:8090 failed: Connection refused
    [tcp @ 0x7f87dc804b20] TCP connection to localhost:8090 failed: Connection refused
    [libx264 @ 0x7f87dd801000] broken ffmpeg default settings detected
    [libx264 @ 0x7f87dd801000] use an encoding preset (e.g. -vpre medium)
    [libx264 @ 0x7f87dd801000] preset usage: -vpre <speed> -vpre <profile>
    [libx264 @ 0x7f87dd801000] speed presets are listed in x264 --help
    [libx264 @ 0x7f87dd801000] profile is optional; x264 defaults to high
    Output #0, ffm, to &#39;http://localhost:8090/feed1.ffm&#39;:
     Metadata:
       creation_time   : now
       Stream #0:0: Video: h264, yuv420p, 160x128, q=2-31, 128 kb/s, 1000k tbn, 10 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    </profile></speed>

    Any help much appreciated :)

  • FFMPEG Error VC1 to X264 (maybe decoding VC1)

    29 janvier 2013, par Xatian

    I am encountering the following error when transcoding using FFMPEG.
    It seams to me that it's an error decoding the VC1 format and has actually nothing to do with the target format (x264) I want to transcode.

    I tracked the error to this source-file :

    http://cekirdek.pardus.org.tr/ ismail/ffmpeg-docs/vc1_8c-source.html

    but I don't know how to set the profile to a value != simple.

    FFMPEG Output :

    ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jan 16 2013 22:52:43 with gcc 4.6.3 (Gentoo 4.6.3 p1.10, pie-0.5.2)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=&#39;-O2 -march=native -pipe&#39; --extra-cflags=&#39;-O2 -march=native -pipe&#39; --extra-cxxflags=&#39;-O2 -march=native -pipe&#39; --disable-static --enable-gpl --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --disable-ffplay --disable-runtime-cpudetect --enable-libx264 --disable-indev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-outdev=sdl --enable-libfreetype --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmxext --disable-vis --disable-neon --cpu=host --enable-hardcoded-tables
     libavutil      52. 13.100 / 52. 13.100
     libavcodec     54. 86.100 / 54. 86.100
     libavformat    54. 59.106 / 54. 59.106
     libavdevice    54.  3.102 / 54.  3.102
     libavfilter     3. 32.100 /  3. 32.100
     libswscale      2.  1.103 /  2.  1.103
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] Old interlaced mode is not supported
    [NULL @ 0x1f99a90] Old WMV3 version detected, some frames may be decoded incorrectly
    [NULL @ 0x1f99a90] Old interlaced mode is not supported
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    Last message repeated 1 times
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    Last message repeated 1 times
    ======
    ---> This goes on forever ... skipped
    ======
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] Chroma scaling is not supported, expect wrong picture
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [NULL @ 0x1f99a90] FASTUVMC unavailable in Simple Profile
    [NULL @ 0x1f99a90] LOOPFILTER shall not be enabled in Simple Profile
    [vc1 @ 0x1f93760] max_analyze_duration 5000000 reached at 5000000
    [vc1 @ 0x1f93760] Could not find codec parameters for stream 0 (Video: vc1): unspecified size
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    [vc1 @ 0x1f93760] Estimating duration from bitrate, this may be inaccurate
    test.vc1: could not find codec parameters

    Here is the CMD-line i use ... xD
    Basically I stripped EVERYTHING (codec-related and quality-related) because the error happens no matter what I pass ...

    ffmpeg -i test.vc1 test.mkv