Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Stream Video from ios device
29 avril 2014, par iJoseI have integrated FFmpeg libraries to my project.
Now
i want stream a video that is captured using my ios device (iPhone, iPad, iPod) to an RTMP server using FFMpeg.
I did post a similar question and googled for the same but did not end up with any solution.
Can anyone of you suggest me a tutorial or atleast direct me as i am badly stuck over here and not able to move ahead.
Kindly Pour your knowledge.
Thanking you in advance.
-
Error Converting MOV to MP4 (avconv/ffmpeg)
29 avril 2014, par user3584988I use:
avconv -i '/INPUT.MOV' -vcodec libx264 -vprofile baseline -acodec aac -strict experimental -r 24 -b 255k -ar 44100 -ab 59k 'OUTPUT.mp4'
The conversion is done correctly and smoothly plays PC / MAC, but the video does not play on mobile devices.
Does anyone have the same problem? How to solve it?Thanks in advance
-
Connection to Tvt Camera with FFmpeg via RTSP
29 avril 2014, par Deniz BekerI try to connect a TVT camera with FFmpeg via RTSP. However, I cannot obtain stream info by using avformat_find_stream_info() as it is based on POST commands of HTTP. I can only obtain the codec (H.264). I already tried to increase analyze duration & probesize parameters. How can I manually set these parameters? Or how can I obtain codec parameters?
Edit: I can obtain these parameters from a specific port. How can I make FFmpeg to connect via this HTTP port to obtain the metadata?
-
Connect ffmpeg to Visual Studio 2008
29 avril 2014, par user2274492I try to connect ffmpeg to visual c++ like this, but when I type "./configure --toolchain=msvc" I have this error:
c99wrap cl is unable to create an executable file.
If c99wrap cl is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means.
C compiler test failed
config.log:
WARNING: pkg-config not found, library detection may fail. mktemp -u XXXXXX ./configure: line 728: mktemp: command not found WARNING: Unknown C compiler C:\c99\c99wrap cl, unable to select optimal CFLAGS check_ld cc check_cc BEGIN /tmp/ffconf..ZHENYA.500.5884.c 1 int main(void){ return 0; } END /tmp/ffconf..ZHENYA.500.5884.c C:\c99\c99wrap cl -c -o /tmp/ffconf..ZHENYA.500.5884.o /tmp/ffconf..ZHENYA.500.5884.c fatal error C1510: Cannot load language resource clui.dll. C compiler test failed.
What's the problem? Or just send me files that you got after compilation with this (I would not have asked, but I fix this two months):
./configure --toolchain=msvc
make
make install
log after changes:
WARNING: pkg-config not found, library detection may fail. mktemp -u XXXXXX Uxplas check_ld cc check_cc BEGIN /tmp/ffconf.WcAVdgRZ.c 1 int main(void){ return 0; } END /tmp/ffconf.WcAVdgRZ.c c99wrap cl -nologo -D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -c -Fo /tmp/ffconf.jQtxnkfv.o /tmp/ffconf.WcAVdgRZ.c ffconf.WcAVdgRZ.c ffconf.jQtxnkfv.o_converted.c c99wrap link -o /tmp/ffconf.sPZUPuMJ.exe /tmp/ffconf.jQtxnkfv.o link: invalid option -- o Try `link --help' for more information. C compiler test failed.
log from second computer:
WARNING: pkg-config not found, library detection may fail. mktemp -u XXXXXX ./configure: line 749: mktemp: command not found WARNING: Unknown C compiler c99wrap cl, unable to select optimal CFLAGS check_ld cc check_cc BEGIN /tmp/ffconf..zhenya.500.4036.c END /tmp/ffconf..zhenya.500.4036.c c99wrap cl -I/local/include -c -o /tmp/ffconf..zhenya.500.4036.o /tmp/ffconf..zhenya.500.4036.c ./configure: line 749: c99wrap: command not found C compiler test failed.
Errors:
1>ConsoleApplication1.obj : error LNK2028: ёё√ыър эр эхЁрчЁх°хээє■ ыхъёхьє (0A000039) "void __cdecl av_register_all(void)" (?av_register_all@@$$FYAXXZ) т ЇєэъЎшш "int __clrcall main(cli::array
^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z) 1>ConsoleApplication1.obj : error LNK2019: ёё√ыър эр эхЁрчЁх°хээ√щ тэх°эшщ ёшьтюы "void __cdecl av_register_all(void)" (?av_register_all@@$$FYAXXZ) т ЇєэъЎшш "int __clrcall main(cli::array ^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z) 1>c:\users\Zhenya\documents\visual studio 2012\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe : fatal error LNK1120: эхЁрчЁх°хээ√ї тэх°эшї ¤ыхьхэЄют: 2 -
Pkg-config not found in android ndk error while compiling ffmpeg for android in MAC-OS
29 avril 2014, par Shashank AgarwalI want to capture preview frames from camera preview and crop the frames to make it 480 X 480 resolution and then combine those frames to form a mp4 video using ffmpeg. I am able to get the preview frames, but i am not able to compile the ffmpeg binary to crop the frames. I follow this tutorial Roman guy script but at the starting of compilation i am getting pkg-config not found in my android-ndk. Please help how do i fix this problem . I am using MAC OS X
Script to compile ffmpeg
#!/bin/bash NDK=$HOME/Desktop/android-ndk-r9b SYSROOT=$NDK/platforms/android-19/arch-arm/ TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64 function build_one { ./configure \ --prefix=$PREFIX \ --enable-shared \ --disable-static \ --disable-doc \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --disable-doc \ --disable-symver \ --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \ --target-os=linux \ --arch=arm \ --enable-cross-compile \ --sysroot=$SYSROOT \ --extra-cflags="-Os -fpic $ADDI_CFLAGS" \ --extra-ldflags="$ADDI_LDFLAGS" \ "build_android.sh" 32L, 799C