These are list of commands:
# ls
sample.mp4
ffa_s
# ffmpeg -i sample.mp4
FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 29 2010 02:04:21 with gcc 4.4.0
configuration: --target-os=linux --cross-prefix=arm-eabi- --arch=arm
--disable-armvfp --prefix=../build/ffmpeg
--soname-prefix=/data/data/com.bambuser.broadcaster/lib/
--disable-shared --enable-small --optimization-flags=-O2
--disable-encoders --disable-decoders --disable-protocols
--disable-muxers --disable-demuxers --disable-parsers --disable-devices
--disable-filters --disable-bsfs --enable-encoder=mpeg2video
--enable-encoder=nellymoser
--extra-cflags='-I/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/include
-fpic -mthumb-interwork -ffunction-sections -funwind-tables
-fstack-protector -fno-short-enums -march=armv5te -mtune=xscale
-msoft-float' --extra-ldflags='-nostdlib
/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/lib/libc.so
/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/lib/libm.so
-Wl,-rpath-link=/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/lib
-L/media/prog/android/android-ndk-r4b//build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0'
--extra-exe-ldflags='-Wl,-dynamic-linker,/system/bin/linker
/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/lib/crtbegin_dynamic.o
/media/prog/android/android-ndk-r4b//build/platforms/android-3/arch-arm/usr/lib/crtend_android.o'
--extra-libs=-lgcc
libavutil 50.19. 0 / 50.19. 0
libavcodec 52.78. 0 / 52.78. 0
libavformat 52.71. 0 / 52.71. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
sample.mp4: No such file or directory
#
--
Just Another Android Newbie
Do you mean this
http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE
I don't use manifest file, i copied the file directly with 'adb push'.
I have write access to /sdcard and /system.
Thanks,
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Sorry, this is the complete command:
# ffmpeg -i sample.mp4 -re -acodec copy -vcodec copy -f flv
rtmp://mydomain.com/live/myStream
But, it will produce some error message.
>
> ffmpeg converts files from one format/codec to another it doesn't
> publish anything as far as I know.
We can publish video stream using ffmpeg to some server like wowza or
redis.
thanks
I can read another file with same permission (wek.txt).
Btw, why the owner of these files is not 'root' ?
Btw, why the owner of these files is not 'root' ?
Just want to know :).Because this is what happen in linux. When 'root'
create the file, then the file will owned by 'root'
>
> This is a uid used to control write access; you need to be in this group
> to be able to write to the SD card. This is how the write permission is
> implemented.
>
> --
> Dianne Hackborn
> Android framework engineer
> hac...@android.com <mailto:hac...@android.com>
Just want to know :).Because this is what happen in linux. When 'root' create the file, then the file will owned by 'root'