Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (46)

Sur d’autres sites (9023)

  • ffmpeg-X264 encode —BGRA to AVFrame(ffmpeg) and viceversa ? for IOS

    6 avril 2012, par Asta ni enohpi

    Am working Video Processing in IOS(iphone/ipod/ipad) Using Objective c. i am using AVFoundation Framework to Capture Video . i want to Encode/decode those video frame using ffmpeg-libx264. i have compiled ffmpeg-x264 lib for ios. i got kCVPixelFormatType_32BGRA from AVFoundation.

    my problem is
    1.How to convert kCVPixelFormatType_32BGRA to AVFrame for enode using avcodec_encode_video ?

    2.How to convert AVFrame to kCVPixelFormatType_32BGRA @ decode side from avcodec_decode_video2 ?

    Please help me to start above process or give path for working tutorial .Thanks in advance.

  • how to combine an image stream and an audio stream together with transcoding

    11 novembre 2020, par SolskGaer

    I tried the method mentioned in this link to capture audio stream from an iPhone, and want to combine the audio stream with an image stream(10 fps) which can be acquired via http. But the output I got has messed up audio and the video speed is way faster than the input, here is the command I used to generate the video ffmpeg -f avfoundation -i ":4" -f mjpeg -i http://127.0.0.1:8888 -c:a aac -c:v libx264 out.mp4, how do I fix the problem ? By the way, when I transcoding audio/video only, it worked exactually as expected.

    


  • Is there a good set of ffmpeg presets to target multiple platforms available anywere ?

    17 mai 2012, par Prody

    I'm working on a web app that would let users upload a video.

    The user's video should then be played on apps on a few platforms :

    • web, via flash
    • iOS native player
    • Android phones - hopefully all players, even low-end devices

    I plan to do the encoding with ffmpeg which has this very cool preset feature.

    I'm sure I'm not the only one to find this out, but when I Google ffmpeg encode for iPhone, I get as many different parameter sets on people's blogs as results.

    Furthermore, people sometimes use parameters which are not even documented.

    Since ffmpeg supports these presets, I can't believe we don't have a "preset database" somewhere which has such presets as iPhone_low_quality, Android_low_end_device_low_quality, etc.

    Am I just failing to find it ?