[Libav-user] Could not find codec parameters for stream 0 (Video: h263, yuv420p): unspecified size

Dmitry Adjiev adjiev.dmitry at gmail.com
Mon Aug 25 21:30:48 CEST 2014


2014-08-25 23:14 GMT+04:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:

>
> 2014-08-24 2:49 GMT+04:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
>
>> Dmitry Adjiev <adjiev.dmitry at ...> writes:
>>
>> I tested it with ffplay under linux, but not under android.
>>
>    On android I tested existing ffmpeg builds, they don't work.
>
>>
>> Is there a reason that you didn't test with ffmpeg (not
>> ffplay) under Android?
>>  I didn't test my builds because I have no rooted device, I have perm
>> denied error.
>>
>> Were you maybe using unusual configure options?
>>
>
>
>> Please do not top-post on this mailing list, Carl Eugen
>> at least it's --enable-gpl --enable-version3 --enable-h264
>> --enable-nonfree
>>
>     This build fors fine under linux, I checked it and started development.
>     I work for video multicast client/server app, server developed by me
> is works for now, but client doesn't.
>     I'll try disable --enable-nonfree and update you. I need only H263 OR
> H264
>
>>  _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
> I tested ffplay on linux, ffmpeg shows correct stream info on linux.
> Existing ffmpeg builds for android can't play the stream, my ffmpeg build
> I can't run
> --
> Regards,
> Dmitry
>

Here is my current script for building:

#!/bin/bash
NDK=/home/dmitry/etc/android/android-ndk-r9d
SYSROOT=$NDK/platforms/android-14/arch-arm
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
function build_one
{
./configure \
--prefix=$PREFIX \
--disable-shared \
--enable-static \
--disable-doc \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--enable-nonfree \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
--sysinclude=$NDK/home/dmitry/etc/android/android-ndk-r9/platforms/android-14/arch-arm/usr/include\
$ADDITIONAL_CONFIGURE_FLAG
make clean
/home/dmitry/etc/android/android-ndk-r9d/ndk-build
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
NDK_PROJECT_PATH=/home/dmitry/etc/src/ffmpeg-2.3/android/arm
build_one


-- 
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140825/2ffebd2c/attachment.html>


More information about the Libav-user mailing list