Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • Android get video rotation from metatags

    13 novembre 2013, par vicmns

    currently I am using the Android MediaMetadataRetriever class in order to get the video rotation tag from a MP4 file, using the MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION tag. The main drawback of this, is that is only compatible with API level 17 and up, and the minimum supported API level desired for the application is 14.

    Is there any work around for this, I tried using the ffmpeg library that used in the project, but I did not find an option to get this tag from the video.

    Thanks in advance.

  • capture accurate frame from video through ffmpeg command

    13 novembre 2013, par rohit

    I need to upload video and capture a random frame from that particular video.
    I am unable to capture perfect frame i.e I am receiving a blurred image.
    Here is my code:
    `

    if ($_FILES["file"]["error"] > 0)
        {
        echo "Return Code: " . $_FILES["file"]["error"] ;
        }
      else
        {
    
    if (file_exists("upload/" . $_FILES["file"]["name"]))
      {
      echo $_FILES["file"]["name"] . " already exists. ";
      }
    else
      {
      move_uploaded_file($_FILES["file"]["tmp_name"],"upload/" . $_FILES["file"]["name"]);
      $vidName = "upload/" . $_FILES["file"]["name"];
    
      shell_exec("ffmpeg -i ".$vidName." -ss 00:00:05:123 -f image2 -vframes 1 upload/screen1.png");
    
      echo "Stored in: " . $vidName;
      }
    }
    

    ?> `

  • when all filter are applied with extreme value

    13 novembre 2013, par user2361120

    when I applied three filter(such as bass treble,equalizer) of ffmpeg simultaneously with extreme value .i am unable to hear song from both speaker of headphone.

    please suggest me any solution .I already wasted three week on it

  • Recording video by the hour to file (avconv/ffmpeg)

    13 novembre 2013, par JohanS

    I'm currently recording video from my IP camera to disk by making use of avconv (ffmpeg).

    avconv -i rtsp://192.168.1.1/stream -c copy pool.mp4
    

    However, I'm in need of following and have not been able to successfully get it running from a bash script or cron.

    • Create a new file per hour and name it accordingly
    • I have to support multiple cameras
    • I need to limit to a weeks worth of recordings whereafter the oldest gets deleted.
    • I want to manage this via a bash script and/or cron job as far as possible.

    Thanks John

  • Android ffmpeg : create video from sequnce of images using jni

    13 novembre 2013, par Sameer Z.

    I have successfully build ffmpeg for Android and now i need to create video from sequence images so it look like animation video with some default audio.I have found some solution but it all says using command like.

    If anyone know how to do same thing using jni on Android then please let me know.

    Thanks in Advance.