Never mind! There was an issue with the tutorial code! Source of answer: https://github.com/roman10/android-ffmpeg-tutorial/issues/3
On Fri, Jun 20, 2014 at 10:44 AM, Ryan Grewatz <[email protected]> wrote: > Hello all, > > I'm fairly new to using ffmpeg. Currently I'm trying to use ffmpeg within > an Android application of mine to view a live rtsp stream with h264 endoded > video. I've been using code from an ffmpeg and Android NDK tutorial (link > below) to help me understand how to use it with Android. Everything has > been working out great, until I started trying to scale the output. When I > try to scale at a ratio other than 1:1 (no scaling), I get a garbled up > stream. I decided to run the tutorial to see if it was my code that was > wrong, but I still ended up with the same mess. So I'm kind of lost as to > how to fix this. Has anybody else had problems like this or know what I > could be doing wrong? > > Here's the tutorial: > https://github.com/roman10/android-ffmpeg-tutorial/tree/master/android-ffmpeg-tutorial02 > > Native code (uses the ffmpeg library): > https://github.com/roman10/android-ffmpeg-tutorial/blob/master/android-ffmpeg-tutorial02/jni/tutorial02.c > > Screenshot of my stream with no scaling: > https://www.dropbox.com/s/s1e509yfmisfv7g/Screenshot_2014-06-20-09-42-42.png > > Screenshot of my stream scaled up: > https://www.dropbox.com/s/e8h9039nw3sxaz2/Screenshot_2014-06-20-09-45-00.png > > Screenshot of my stream scaled down: > https://www.dropbox.com/s/yyjyuw3n7y1qaan/Screenshot_2014-06-20-10-09-48.png > > Thank You! > Ryan G >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
