Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (108)

Sur d’autres sites (15686)

  • Heroku ffmpeg buildpack

    20 octobre 2015, par Manuel Quintanilla

    Putting together the video upload section in my rails app and am having some issues with video play on mobile phones. Im using

    paperclip-av-transcoder, s3 and  Heroku

    On my laptop I can visit the page and see the video thumbnails and play the videos only because I have previously installed ffmpeg to my machine.

    Remotely on Heroku I’ve set the appropriate buildpacks for ffmpeg and have run push heroku master to install the buildpacks - Now when I visit the page on my mobile iPhone I don’t get a thumbnail but when I play the video it plays - on the other hand when I visit the page on my Android phone I don’t get a thumbnail and the video dose not play but I can upload mp4s on Android.

    Check out my set up here : Heroku ffmpeg buildpacks for video uploads

    It seems I don’t have the proper buildpack setup or some other heroku setting with ffmpeg.

    Any suggestions ? Thanks in advance !

  • How to capture video of VIEW in android

    18 novembre 2015, par Mayur R. Amipara

    we can take screen-shot of particular VIEW programmatically in android same way i want to capture video of VIEW , is that possible ?

    i successfully run third party library ffmpeg but it doesn’t provide such functionality.

    Another way i tried it by taking so many screenshot of view each-second and combine it with ffmpeg , but it is to expensive and taking soooooo much time.

    FINAL QUESTIONS :

    i want to add text that is animating on video, any idea todo this ?

    currently get idea that i can animating textview in layout above video is playing in activity and capture that part of screen programatically, but i fail !

    iphone have functionality for adding text overlay with animation and it is called by AVComposition in iPhone. so, Android have such type of any functions or method ?... googled it for 5 days but not getting any result !

    sorry for my bad english, any point to suggest or any idea that how can i achieve this ?

  • How can I fix choppy ffmpeg RTP streaming over wifi ?

    19 décembre 2015, par awidgery

    I have a Raspberry Pi, with a USB mic and a WiFi dongle dongle connected.

    I’m trying to stream audio only from the Pi, with the intention of receiving the stream over wifi to a custom iOS mobile app using VLCKit. I’m using ffmpeg on the Pi as I need a reasonably low (<2s) latency for this project, and using Icecast/Darkice gave around 15s latency.

    The code executed on the Pi is :

    ffmpeg -f alsa -i plughw:1,0 -acodec libmp3lame -ab 128k -ac 1 -ar 44100  -f rtp rtp://234.5.5.5:1234

    On the Pi end I have a device playing (Christmas !) music constantly into the USB mic for testing purposes. The Pi is only connected by WiFi - not ethernet.

    For testing receiving the stream, I’m using VLC (on a Macbook/iPhone).

    When the Mac is connected through Ethernet, the stream works fine, as you can see here :

    https://goo.gl/photos/HZgNh7z4HgaqHBaP7

    However, when the Mac is connected via WiFi, the stream is choppy, as you can see here :

    https://goo.gl/photos/qjAVH6djqS9Jbvmh6

    You can also see a ping trace from the Mac to the Pi, and the VLC stats. As you can see there doesn’t seem to be a correlation between either of these and the choppiness.

    I’ve tried the VLC iOS app and the choppiness is the same as the Mac on WiFi.

    How can I decrease/remove this chop, even if doing so increases latency a bit ?