Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (52)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • getting a lot of errors when reading udp stream with avconv

    5 août 2015, par eladm26

    I’m trying to read a udp video stream and I’m getting mostly errors :)
    here is my input and output :

    avconv   -i udp://**.**.**.**:**** output.ts
    avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
     built on Jul 14 2015 12:43:36 with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
    [mpeg2video @ 0x25a7060] Invalid frame dimensions 0x0.
       Last message repeated 13 times
    [mpegts @ 0x2582040] Estimating duration from bitrate, this may be inaccurate
    Input #0, mpegts, from 'udp://239.1.1.1:59001':
     Duration: N/A, start: 17336.030511, bitrate: 24640 kb/s
     Program 3
       Stream #0.0[0x31]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24000 kb/s, 29.97 fps, 90k tbn, 59.94 tbc
       Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
       Stream #0.2[0x35](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    File 'output.ts' already exists. Overwrite ? [y/N] y
    Output #0, mpegts, to 'output.ts':
     Metadata:
       encoder         : Lavf56.1.0
       Stream #0.0: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc56.1.0 mpeg2video
       Stream #0.1(eng): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc56.1.0 mp2
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
     Stream #0:1 -> #0:1 (ac3 (native) -> mp2 (native))
    Press ctrl-c to stop encoding
    [mpeg2video @ 0x25c85e0] warning: first frame is no keyframe
    Continuity check failed for pid 49 expected 12 got 5 bitrate=3922.8kbits/s
    [mpegts @ 0x2582040] Continuity check failed for pid 52 expected 6 got 1
    [mpegts @ 0x2582040] Continuity check failed for pid 53 expected 7 got 14
    [mpegts @ 0x2582040] Continuity check failed for pid 0 expected 4 got 1
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 2 53
    [mpeg2video @ 0x25c85e0] 00 motion_type at 19 38
    [mpeg2video @ 0x25c85e0] 00 motion_type at 18 54
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 1 39
    [mpeg2video @ 0x25c85e0] 00 motion_type at 48 55
    [mpeg2video @ 0x25c85e0] 00 motion_type at 2 56
    [mpeg2video @ 0x25c85e0] 00 motion_type at 17 40
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 5 60
    [mpeg2video @ 0x25c85e0] 00 motion_type at 1 61
    [mpeg2video @ 0x25c85e0] 00 motion_type at 16 41
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 15 46
    [mpeg2video @ 0x25c85e0] 00 motion_type at 6 62
    [mpeg2video @ 0x25c85e0] 00 motion_type at 24 42
    [mpeg2video @ 0x25c85e0] 00 motion_type at 16 47
    [mpeg2video @ 0x25c85e0] mb incr damaged
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 3 44
    [mpeg2video @ 0x25c85e0] 00 motion_type at 8 63
    [mpeg2video @ 0x25c85e0] 00 motion_type at 11 65
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 1 66
    [mpeg2video @ 0x25c85e0] invalid mb type in P Frame at 42 50
    [mpeg2video @ 0x25c85e0] 00 motion_type at 9 51
    [mpeg2video @ 0x25c85e0] ac-tex damaged at 45 67
    [mpeg2video @ 0x25c85e0] 00 motion_type at 48 52
    [mpeg2video @ 0x25c85e0] MVs not available, ER not possible.
    [mpegts @ 0x2582040] PES packet size mismatch
       Last message repeated 1 times
    [ac3 @ 0x25c8b00] exponent out-of-range
    [ac3 @ 0x25c8b00] error decoding the audio block
    [mpegts @ 0x2582040] Continuity check failed for pid 49 expected 13 got 5
    [mpegts @ 0x2582040] Continuity check failed for pid 52 expected 12 got 14
    [mpeg2video @ 0x25c85e0] 00 motion_type at 97 65
    [mpeg2video @ 0x25c85e0] 00 motion_type at 1 4
    [mpeg2video @ 0x25c85e0] invalid cbp at 18 5
    [mpeg2video @ 0x25c85e0] 00 motion_type at 1 6
    [mpeg2video @ 0x25c85e0] mb incr damaged
    [mpeg2video @ 0x25c85e0] 00 motion_type at 34 8
    [mpeg2video @ 0x25c85e0] 00 motion_type at 8 9
    [mpeg2video @ 0x25c85e0] 00 motion_type at 6 11
    [mpeg2video @ 0x25c85e0] invalid cbp at 5 18
    [mpeg2video @ 0x25c85e0] 00 motion_type at 13 19
    [mpeg2video @ 0x25c85e0] 00 motion_type at 3 20
    [mpeg2video @ 0x25c85e0] 00 motion_type at 16 21
    [mpeg2video @ 0x25c85e0] invalid cbp at 3 22
    [mpeg2video @ 0x25c85e0] invalid mb type in B Frame at 4 23
    [mpeg2video @ 0x25c85e0] invalid mb type in B Frame at 3 24

    I’ve searched stack overflow and couldn’t find any similar.
    maybe it has something to do with avconv cant handle the udp frames fast enough ?
    I lost any hope so any help is very welcomed.

    Thanks.

  • I have a file that purports to be "uncompressed mov" that I want to convert to raw using ffmpeg

    9 août 2015, par Lyman Hurd

    I am running Ubuntu. Here is what I receive and also cannot play the movie with vlc or totem, however the sender insists that these files play on a Mac using QuickTime. Thoughts as to what might be wrong ?

    ~/bin/ffmpeg -i movie.mov ffmpeg version N-50051-g8d0757e Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug  8 2015 18:44:04 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-libvpx --enable-libx264 --prefix=/home/lhurd --enable-gpl
     libavutil      52. 17.102 / 52. 17.102
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.100 / 54. 63.100
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 38.103 /  3. 38.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    movie.mov: Invalid data found when processing input

    Here’s an "od -c" of the head which at least shows that the file isn’t raw :

    0000000  \0 005 026  \a  \0 002  \0  \0   M   a   c       O   S           X
    0000020                                  \0 002  \0  \0  \0  \t  \0  \0
    0000040  \0   2  \0  \0  \0   F  \0  \0  \0 002  \0  \0  \0   x  \0  \0
    0000060  \0  \0   M   o   o   V   T   V   O   D  \0  \0  \0  \0  \0  \0
    0000100  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
    0000120  \0  \0  \0  \0   A   T   T   R  \0  \0  \0  \0  \0  \0  \0   x
    0000140  \0  \0  \0   x  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
    0000160  \0  \0  \0  \0  \0  \0  \0  \0
    0000170
  • How can I fix a damaged MP4 ?

    29 juillet 2015, par d3pd

    I have a video of just under an hour recorded but it appears to be damaged somehow. The file format is h264 MP4 and the file size is 2.3 GB, so I’m confident that the information is there, just that the file format is damaged. How could I approach fixing it ?

    So far, I’ve tried a simple ffmpeg copy operation :

    >ffmpeg -i video_28_07_2015_15_16_05.mp4  -c copy out.mp4
    ffmpeg version N-73895-g323ec6b Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
     libavutil      54. 28.100 / 54. 28.100
     libavcodec     56. 50.101 / 56. 50.101
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 25.100 /  5. 25.100
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a78e00] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    video_28_07_2015_15_16_05.mp4: could not find codec parameters
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video_28_07_2015_15_16_05.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 2015-07-28 14:12:50
     Duration: 00:56:43.53, bitrate: 5345 kb/s
       Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), none, 1280x720, SAR 1:1 DAR 16:9, 30 fps, 90k tbr, 90k tbn, 180k tbc (default)
       Metadata:
         creation_time   : 2015-07-28 14:12:50
         handler_name    : VideoHandle
    [mp4 @ 0x2a7b260] Codec for stream 0 does not use global headers but container format requires global headers
    Output #0, mp4, to 'out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       encoder         : Lavf56.40.101
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), none, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 90k tbr, 90k tbn, 90k tbc (default)
       Metadata:
         creation_time   : 2015-07-28 14:12:50
         handler_name    : VideoHandle
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A    
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    I have no idea of what to try next and would appreciate suggestions and guidance.