Recherche avancée

Médias (91)

Autres articles (53)

  • 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

  • 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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (7100)

  • flv reencode to mp4 for iphone/ipod via ffmpeg and x264 (quality issue)

    3 octobre 2011, par zeroasterisk

    There are a lot of questions on this topic, and I've read most of them and most of the google search results I could come up with.

    When I use FFMPEG to convert a FLV to a iphone3 compatble MP4 file, it just doesn't preserver enough of the quality. Yes, I've worked the hell out of -sameq and -b and -bt settings, text just isn't readable.

    Next I tried to split the video out and process it directly, using these instructions :
    https://sites.google.com/site/linuxencoding/x264-encoding-guide

    The problem is myplayer (via ffmpeg) was not able to determine the duration of the FLV (even though the metadata was set).

    (I assume) Because of that unknown duration, when I create the MP4 file, the resulting x264 file plays through super-fast while the audio plays at the normal rate.

    user@server:/tmp# mplayer -nosound -benchmark -sws 9 -vf dsize=640:480:0,scale=0:0,expand=640:480 -vo yuv4mpeg:file=>(x264 --demuxer y4m --crf 0 --preset slow --threads auto --output output.264 - 2>x264.log) 'input.flv'
    MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing input.flv.
    libavformat file format detected.
    [flv @ 0x1202460]Estimating duration from bitrate, this may be inaccurate
    [lavf] stream 0: video (vp6f), -vid 0
    [lavf] stream 1: audio (nellymoser), -aid 0
    VIDEO:  [VP6F]  1680x992  0bpp  1000.000 fps   33.4 kbps ( 4.1 kbyte/s)
    Clip info:
    audiocodecid: 6
    audiodatarate: 86
    audiosamplerate: 44100
    audiosamplesize: 16
    audiosize: 6097005
    canSeekToEnd: true
    datasize: 8609138
    duration: 567
    framerate: 2
    hasAudio: true
    hasCuePoints: false
    hasKeyframes: true
    hasMetadata: true
    hasVideo: true
    height: 992
    lasttimestamp: 567
    metadatacreator: flvtool++ (Facebook, Motion project, dweatherford)
    stereo: false
    totalframes: 1043
    videocodecid: 4
    videodatarate: 33
    videosize: 2316256
    width: 1680
    Using (default) progressive frame mode.Opening video filter: [expand w=640 h=480]
    Expand: 640 x 480, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
    Opening video filter: [scale w=0 h=0]
    Opening video filter: [dsize=640:480:0]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash)
    ==========================================================================
    Audio: no sound
    Starting playback...
    Movie-Aspect is undefined - no prescaling applied.
    [swscaler @ 0x7f0c738b9620]Lanczos scaler, from yuv420p to yuv420p using MMX2
    VO: [yuv4mpeg] 640x480 => 641x480 Planar YV12

    I have also tried specifying FPS, but no change in results

    user@server:/tmp# mplayer -nosound -fps 25-benchmark -sws 9 -vf dsize=640:480:0,scale=0:0,expand=640:480 -vo yuv4mpeg:file=>(x264 --demuxer y4m --fps 25 --crf 0 --preset slow --threads auto --output output.264 - 2>x264.log) 'input.flv'

    Can someone tell me how to either :

    1. fix my split A/V processing/timing/duration issues ?
    2. improve the
      quality of the FFMPEG conversion of FLV to iphone3 compatible
      format ?
  • Why is ffmpeg not showing SSIM results when I do -tune ssim ?

    4 février 2016, par Melanie Sclar

    I’m trying to benchmark for SSIM in FFmpeg. If I do this

    ffmpeg -i input.mp4 -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 -psnr -ssim 1 output.mp4

    ...
    [libx264 @ 0x7fe85b007600] SSIM Mean Y:0.9898484 (19.935db)
    [libx264 @ 0x7fe85b007600] PSNR Mean Y:47.666 U:54.805 V:54.799 Avg:49.010 Global:48.071 kb/s:2595.20

    I get the SSIM and PSNR in the command line. If I add the -tune, I don’t get these results anymore. What is happening ?

  • Identification of Frame Type using Xuggle

    1er décembre 2012, par Samveen

    I'm trying to extract just the I-Frames from a video using the Xuggle API. I took the first example from the Xuggle source from here and removing the display code, added the following code snippet to identify the frame type of the current frame :

    //    Decode loop {
             if (picture.isComplete()) {
                 com.xuggle.xuggler.IVideoPicture.PictType type = picture.getPictureType()
                 if(type == com.xuggle.xuggler.IVideoPicture.PictType.I_TYPE)
                     System.out.println("(I-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.B_TYPE)
                     System.out.println("(B-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.P_TYPE)
                     System.out.println("(P-Frame)\n");
                 else if(type == com.xuggle.xuggler.IVideoPicture.PictType.S_TYPE)
                     System.out.println("(S-Frame)\n");
                 else if(type ==com.xuggle.xuggler.IVideoPicture.PictType.DEFAULT_TYPE)
                     System.out.println("(Default)\n");
                 else
                     System.out.println("(Other)\n");
             }
    //    }

    Using this code, I never get an I-Frame in my test video, which by definition of being it being a video is impossible (every video's first frame MUST be an I-Frame) and every frame is identified as

    When I use mplayer to extract the I-Frames from the same video using :

    mplayer video20.mp4 -benchmark -nosound -noaspect -noframedrop -ao null \
           -vo png:z=6 -vf framestep=I

    I correctly get a set of I-Frames.

    The number of frames displayed by my code is identical to that extracted by mplayer without the framestep filter

    mplayer video20.mp4 -benchmark -nosound -noaspect -noframedrop -ao null \
           -vo png:z=6

    The input video in question is an H264 encoded video.

    My question is that what can I do to correctly get the I-Frames from the video using xuggle

    I picked up the method from Java - Keyframe extraction from a video