Recherche avancée

Médias (91)

Sur d’autres sites (1869)

  • Revision 588c3cb02e : Merge "Remove vp9_recon_mb{,y}" into experimental

    20 avril 2013, par John Koleszar

    Merge "Remove vp9_recon_mb,y" into experimental

  • Revision 95c6c13ce6 : Merge "Remove redundant pointers from void vp9_recon_sb{y,uv}" into experimental

    20 avril 2013, par John Koleszar

    Changed Paths : Modify /vp9/encoder/vp9_encodeframe.c Merge "Remove redundant pointers from void vp9_recon_sby,uv" into experimental

  • FFmpeg "Could not open file" error message when processing with PHP

    26 octobre 2015, par FlyingCat

    I am using ffmpeg to get the image from several video files. I got my ffmpeg codes ready but I got the following error when I exec my codes.

    ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
    built on Apr  2 2013 17:02:36 with gcc 4.6.3

    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    //files info...
    //files info...
    Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
    //file info...
    [buffer @ 0x1513c40] Buffering several frames is not supported. Please consume all available frames before adding a new one.
    Last message repeated 75 times
    [image2 @ 0x1513460] Could not open file : /test/project
    av_interleaved_write_frame(): Input/output error

    I only show the error messages that have color highlighted.
    My code :

    $ffmpeg ="/usr/bin/ffmpeg";

    $image_source_path = '/test/project/test.mp4';
    $ALL_PLACE_WIDTH = 300;
    $ALL_PLACE_HEIGHT = 300;

    $image_cmd = " -r 1 -ss 00:00:10 -t 00:00:01 -s ".$ALL_PLACE_WIDTH."x".$ALL_PLACE_HEIGHT."   -f image2 " ;

    $dest_image_path = '/test/project';

    $str_command= $ffmpeg  ." -i " . $image_source_path . $image_cmd .$dest_image_path;
    shell_exec($str_command);

    It seems my Linux wants to me to switch to avconv. I am not sure how to fix these errors. Can someone give me a hint about it ?