Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (108)

Sur d’autres sites (15325)

  • iphone ios sample ffplay main.c —> FFmpeg.c change and input parameter , following errer please advice

    4 août 2017, par 224ok

    FFmpeg main c source

    int main(int argc, char **argv)
    {

       int flags, i;
       argv[1] = "-i";
       argv[2] = "ipod-library://item/item.mp3?id=1218551163727305907";    
            //argv[2] = "mon.mp3";

       argv[3] = "-acodec";
       argv[4] = "libfaac";
       argv[5] = "-ac";
       argv[6] = "2";
       argv[7] = "-ar";
       argv[8] = "44100";
       argv[9] = "-ab";
       argv[10] = "128k";
       argv[11] = "output.aac";
       argv[3] = "-vn";
       argv[4] = "-acodec";
       argv[5] = "libfaac";
       argv[6] = "-ac";
       argv[7] = "2";
       argv[8] = "-ar";
       argv[9] = "44100";
       argv[10] = "-ab";
       argv[11] = "128k";
       argv[12] = "output.aac";
       //  argv[14] = "rtsp://video.bouygtel.fr/50400/tf1.sdp";
       argc += 12;

    error : ipod-library ://item/item.mp3 ?id=1218551163727305907 : No such file or directory
    and if
    argv[2] = "mon.mp3" ; ---> mon.mp3 : No such file or directory

    please advice.

  • FFMPEG encoding is rotating portrait images uploaded from the iPhone

    27 juillet 2017, par Kevin J

    I’m trying to figure out why FFMPEG is rotating my thumbnail image when a portrait video is uploaded from an iphone.

    Here is my command line test :

    ffmpeg -i video/test.mp4 -c:v libx264 -profile:v high -level 5 -crf 18 -preset medium -maxrate 10M -bufsize 16M -pix_fmt yuv420p -vf "scale=iw*sar:ih, scale=\'if(gt(iw,ih),min(1920,iw),-1)\':\'if(gt(iw,ih),-1,min(1080,ih))\'" -x264opts bframes=3:cabac=1 -movflags faststart -b:a 320k -y video/test.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 410x231 video/testthumb.jpg 2>&1

    Then the portrait image is rotated 90 degrees to be made a landscape image, but the video stays portrait. How can I keep the orientation the same ?

  • Why are Iphone videos upside down ?

    7 juillet 2017, par hendry

    I have a video file captured using the standard Camera app copied off my Iphone5 using btsync :

    orig.mov: ISO Media, Apple QuickTime movie

    That plays upside down in mplayer or vlc.

    When I transcode it using AWS’s elastictranscoder using a standard preset :

    elastictranscoder.mpg: ISO Media, MPEG v4 system, version 1

    That transcoded video file plays back the right way up.

    When transcoding myself, using ffmpeg I need to explicitly rotate the video otherwise the resulting mp4,webm files are upside down.

    So I am guessing AWS’s elastictranscoder auto rotates the video somehow. However why is the video upside down to begin with ?