Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

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

Sur d’autres sites (12416)

  • Missing audio and problems playing FLV video converted from 720p .mov file with FFMPEG

    18 novembre 2011, par undefined

    I have some .mov video files recorded from a JVC GC-FM1 HD video camera in 720p mode. I have FFMPEG running on a Linux box that I upload files to for encoding into FLV format. The video appears to be encoding ok, but there is no audio in the resulting FLV file. Also, when I play it back in Flash Player, in a browser or on Adobe Media Player, the video pauses at the start. It appears that Adobe Media Player waits for the progress bar to reach the end of the video before starting the playback - i.e. the video will load, the picture pauses, the progress bar seeks to the end as if the video were playing, then when it reaches the end the video picture starts. There is no audio on the video. I am noticing this in the video player I have built with Flash 8 using an FLVPlayback component and attached seekBar. The seek bar will start moving as if the video is playing but the picture remains paused.

    Here are some outputs from my FFMPEG log and the command I am using to encode the video.

    My FFMPEG command called from PHP :

    $cmd = 'ffmpeg -i ' . $sourcelocation.$filename.".".$fileext . '  -ab 96k -b 700k \
    -ar 44100 -s ' . $target['width'] . 'x' . $target['height'] . ' -ac 1 \
    -acodec libfaac ' . $destlocation.$filename.$ext_trans .' 2>&1';

    The output from my error log :

    FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
    built on Jan 22 2010 11:31:03 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33)
    configuration: --prefix=/usr --enable-static --enable-shared --enable-gpl \
    --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf \
    --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm \
    --enable-libmp3lame --enable-libvorbis --enable-libx264
    libavutil     50. 7. 0 / 50. 7. 0
    libavcodec    52.48. 0 / 52.48. 0
    libavformat   52.47. 0 / 52.47. 0
    libavdevice   52. 2. 0 / 52. 2. 0
    libavfilter    1.17. 0 /  1.17. 0
    libswscale     0. 9. 0 /  0. 9. 0
    libpostproc   51. 2. 0 / 51. 2. 0

    Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/video/60974_v1.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       comment         : JVC GC-FM1
       comment-eng     : JVC GC-FM1
     Duration: 00:00:30.41, start: 0.000000, bitrate: 4158 kb/s
       Stream #0.0(eng): Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 4017 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, rawvideo, to 'uploads/video/60974_v1.jpg':
       Stream #0.0(eng): Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [h264 @ 0x8e67930]B picture before any references, skipping
    [h264 @ 0x8e67930]decode_slice_header error
    [h264 @ 0x8e67930]no frame!
    Error while decoding stream #0.0
    [h264 @ 0x8e67930]B picture before any references, skipping
    [h264 @ 0x8e67930]decode_slice_header error
    [h264 @ 0x8e67930]no frame!
    Error while decoding stream #0.0
    frame=    1 fps=  0 q=3.8 Lsize=      15kB time=0.02 bitrate=7271.4kbits/s dup=482 drop=0    
    video:15kB audio:0kB global headers:0kB muxing overhead 0.000000%

    Which are the important errors here ?

    B picture before any references, skipping ?
    decode_slice_header error ?
    no frame ?
    or
    Seems stream 0 codec frame rate differs from container frame rate : 119.88 (120000/1001) -> 59.94 (60000/1001)

  • trying to play corrupted mpeg-ts video using android video view

    20 avril 2015, par asafb

    i am having issue playing partial content of mepg-ts files

    the video files cannot be changed / reformatted / remuxed etc

    server setup :
    contains mpeg-ts video files with h264/acc
    has script that when requested using parameters returns on of the videos "cut"
    according to parameters

    -player :

    (i have no problem playing the full videos "uncut")
    i am trying to play this using android videoview,
    during researching i have found that vlc is the only player able to play the "cut" videos (aka windows mediaplayer, google exoplayer and chrome html5 video player are unable to play)
    running vlc at debug mode revealed error when playing cut video :
    ts error : MPEG-4 descriptor not found
    remuxing the partial content using ffmepg fixes the video

    solutions tried till now :
    1.tried remuxing on the fly using android MediaExtractor and MediaMuxer - but then found out that its not possiable doing that on the fly and anyway that MediaExtractor is unable to open "cut" video
    2.tried getting the first 10K of the full video and then append them to the rest of the "cut" video - the behvior stays the same (vlc able to play while rest wont)

    video files info :

    General
    Count : 278
    Count of stream of this kind : 1
    Kind of stream : General
    Kind of stream : General
    Stream identifier : 0
    ID : 55427
    ID : 55427 (0xD883)
    Count of video streams : 1
    Count of audio streams : 1
    Video_Format_List : AVC
    Video_Format_WithHint_List : AVC
    Codecs Video : AVC
    Audio_Format_List : AAC
    Audio_Format_WithHint_List : AAC
    Audio codecs : AAC LC
    Complete name : 20150416-12.mpg
    File name : 20150416-12
    File extension : mpg
    Format : MPEG-TS
    Format : MPEG-TS
    Format/Extensions usually used : ts m2t m2s m4t m4s ts tp trp
    Commercial name : MPEG-TS
    Internet media type : video/MP2T
    Codec : MPEG-TS
    Codec : MPEG-TS
    Codec/Extensions usually used : ts m2t m2s m4t m4s ts tp trp
    File size : 338329600
    File size : 323 MiB
    File size : 323 MiB
    File size : 323 MiB
    File size : 323 MiB
    File size : 322.7 MiB
    Duration : 27322.311111
    Duration : 27s 322ms
    Duration : 27s 322ms
    Duration : 27s 322ms
    Duration : 00:00:27.322
    Overall bit rate : 1567617
    Overall bit rate : 1 568 Kbps
    Delay : 5542662.322222
    Delay : 1h 32mn
    Delay : 1h 32mn 22s 662ms
    Delay : 1h 32mn
    Delay : 01:32:22.662
    File last modification date : UTC 2015-04-16 09:29:29
    File last modification date (local) : 2015-04-16 12:29:29

    Video
    Count : 205
    Count of stream of this kind : 1
    Kind of stream : Video
    Kind of stream : Video
    Stream identifier : 0
    ID : 68
    ID : 68 (0x44)
    Menu ID : 1
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format/Url : http://developers.videolan.org/x264.html
    Commercial name : AVC
    Format profile : Baseline@L3.0
    Format settings : 3 Ref Frames
    Format settings, CABAC : No
    Format settings, CABAC : No
    Format settings, ReFrames : 3
    Format settings, ReFrames : 3 frames
    Format settings, GOP : M=1, N=25
    Internet media type : video/H264
    Codec ID : 27
    Codec : AVC
    Codec : AVC
    Codec/Family : AVC
    Codec/Info : Advanced Video Codec
    Codec/Url : http://developers.videolan.org/x264.html
    Codec profile : Baseline@L3.0
    Codec settings : 3 Ref Frames
    Codec settings, CABAC : No
    Codec_Settings_RefFrames : 3
    Duration : 4100
    Duration : 4s 100ms
    Duration : 4s 100ms
    Duration : 4s 100ms
    Duration : 00:00:04.100
    Nominal bit rate : 1300000
    Nominal bit rate : 1 300 Kbps
    Width : 704
    Width : 704 pixels
    Height : 576
    Height : 576 pixels
    Pixel aspect ratio : 1.455
    Display aspect ratio : 1.778
    Display aspect ratio : 16:9
    Frame rate : 25.000
    Frame rate : 25.000 fps
    Frame count : 102
    Standard : PAL
    Resolution : 8
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8
    Bit depth : 8 bits
    Scan type : Progressive
    Scan type : Progressive
    Interlacement : PPF
    Interlacement : Progressive
    Bits/(Pixel*Frame) : 0.128
    Writing library : x264 - core 115
    Writing library : x264 core 115
    Writing library/Name : x264
    Writing library/Version : core 115
    Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x11 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=25 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=5 / rc=cbr / mbtree=1 / bitrate=1300 / ratetol=10.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=1300 / vbv_bufsize=2000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

    Audio
    Count : 173
    Count of stream of this kind : 1
    Kind of stream : Audio
    Kind of stream : Audio
    Stream identifier : 0
    ID : 69
    ID : 69 (0x45)
    Menu ID : 1
    Menu ID : 1 (0x1)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Commercial name : AAC
    Format version : Version 4
    Format profile : LC
    Muxing mode : ADTS
    Codec ID : 15
    Codec : AAC LC
    Codec : AAC LC
    Duration : 27322
    Duration : 27s 322ms
    Duration : 27s 322ms
    Duration : 27s 322ms
    Duration : 00:00:27.322
    Bit rate mode : VBR / VBR
    Bit rate mode : Variable / Variable
    Minimum bit rate : 99375
    Minimum bit rate : 99.4 Kbps
    Maximum bit rate : 159750
    Maximum bit rate : 160 Kbps
    Channel(s) : 2
    Channel(s) : 2 channels
    Channel positions : Front : L R
    Channel positions : 2/0/0
    Sampling rate : 48000
    Sampling rate : 48.0 KHz
    Samples count : 1311456
    Compression mode : Lossy
    Compression mode : Lossy

    i prefer finding solution without the need of NDK

    anyone has an idea how to tackle this issue ?
    Thanks

  • stream video with live streaming http using FFmpeg

    19 avril 2015, par ransh

    Is it possible to stream encoded video with http live stream without going through the muxing stage ?
    For example can I use http stream with jp2 encoded format (jpeg 2000) without wrapping it first with any muxer ? if not - what can be done instead ?

    Thank you,
    Ran