[Libav-user] FFmpeg scaling problem
grewa008 at d.umn.edu
Fri Jun 20 18:19:48 CEST 2014
Never mind! There was an issue with the tutorial code!
Source of answer:
On Fri, Jun 20, 2014 at 10:44 AM, Ryan Grewatz <grewa008 at d.umn.edu> 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:
> Native code (uses the ffmpeg library):
> Screenshot of my stream with no scaling:
> Screenshot of my stream scaled up:
> Screenshot of my stream scaled down:
> Thank You!
> Ryan G
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user