Re: [FFmpeg-user] Building FFmpeg with optional libs OS X 10.9.4
Il 30/08/2014 09:20, Carl Eugen Hoyos ha scritto: 2amph+s0zl7 at guerrillamail.com writes: ./configure --prefix=/usr/local \ --shlibdir=/usr/local/lib \ --extra-cflags=-I/usr/local/include \ This seems to be missing --extra-ldflags=-L/usr/local/lib Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user this is my custom build script to download and build ffmpeg from source https://drive.google.com/file/d/0B260KzBssvcOS3UxeHFuMjJoWHc/edit?usp=sharing usage : ffmpeg_complete_mac_10.9.sh version you had better to add these two entries to your .profile configuration file in your home folder and then logout/login so the system becomes aware of the new paths : export LDFLAGS=-L/opt/local/lib -L/usr/local/lib export CPPFLAGS=-I/opt/local/include -I/usr/local/include hope this can help... Regards, Arturo ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Problem building with libx265
2014/08/30 2:29 p.m. Andrew Sinclair ajsinclair at gmail.com wrote: Name: x265 Description: H.265/HEVC video encoder Version: 0.8 Libs: -L${libdir} -lx265 -lstdc++ -lm -lrt Libs.private: -lc++ -l/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/lib/darwin/libclang_rt.osx.a Cflags: -I${includedir} This x265 is too old. Current version is 1.3. This version's Libs.private line have minor bug. Libs.private: -lc++ -l/Applications/Xcode.app... should be Libs.private: -lc++ /Applications/Xcode.app... (remove -l). Also since you seems to using Mac OS X, -lstdc++ in Libs: line is not correct. OS X uses -lc++ and it was described in Libs.private: line. To enable Libs.private: line, you have to add --pkg-config-flags=--static or --pkg_config='pkg-config --static' to ffmpeg configure option. // Miya ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Building FFmpeg with optional libs OS X 10.9.4
Arturo Rinaldi arty.net2 at gmail.com writes: this is my custom build script to download and build ffmpeg from source Without looking at your script, I'd like to add that from experience such scripts make much more problems than they solve. If you have a problem with the FFmpeg configure script, please report it here. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Not able to install ffmpeg
As per your instruction in the output from configure, I am sending this email. Hope it's ok. yasm/nasm not found or too old. Use --disable-yasm for a crippled build. harish@harish-DL-H61M-PS3:~/Downloads/ffmpeg/ffmpeg-2.3.3$ make Makefile:2: config.mak: No such file or directory Makefile:58: /common.mak: No such file or directory Makefile:98: /libavutil/Makefile: No such file or directory Makefile:98: /library.mak: No such file or directory Makefile:100: /doc/Makefile: No such file or directory Makefile:183: /tests/Makefile: No such file or directory make: *** No rule to make target `/tests/Makefile'. Stop. Regards, Harish ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Custom build
Hi, I am using ffmpeg in windows to record desktop using these arguments in C#: -y + -f dshow + -i audio=\virtual-audio-capturer\ + (mic != ? :audio=\ + mic + \ : ) + -f gdigrab + -draw_mouse 0 + -framerate + fps + + -video_size + width + x + height + + -offset_x + point.X + + -offset_y + point.Y + + -i desktop + -pix_fmt yuv420p + -af \volume=+5dB\ + \ + fileName + \ The output type can be mp4,wmv,avi,flv,mp3,wma,wav based on users choice in GUI. But the size of ffmpeg.exe is 27 MBs (14 MBs compressed) which is very high. I want a custom build with smaller size. Size does matter to me a lot. I even can pay for it. How much size does the suggested custom build will have? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Not able to install ffmpeg
Am 31.08.2014 um 16:41 schrieb Harish Amur: As per your instruction in the output from configure, I am sending this email. Hope it's ok. well, what about *read* it before you forward it? just install yasm or use the suggested option yasm/nasm not found or too old. Use --disable-yasm for a crippled build. harish@harish-DL-H61M-PS3:~/Downloads/ffmpeg/ffmpeg-2.3.3$ make Makefile:2: config.mak: No such file or directory Makefile:58: /common.mak: No such file or directory Makefile:98: /libavutil/Makefile: No such file or directory Makefile:98: /library.mak: No such file or directory Makefile:100: /doc/Makefile: No such file or directory Makefile:183: /tests/Makefile: No such file or directory make: *** No rule to make target `/tests/Makefile'. Stop signature.asc Description: OpenPGP digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Not able to install ffmpeg
wget -cP ~/downloads/ http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar -C ~/downloads/ -zxvf ~/downloads/yasm* cd ~/downloads/yasm* ./configure make make install make distclean ldconfig rm -rf ~/downloads yasm* Em 31/08/2014 17:55, Reindl Harald h.rei...@thelounge.net escreveu: Am 31.08.2014 um 16:41 schrieb Harish Amur: As per your instruction in the output from configure, I am sending this email. Hope it's ok. well, what about *read* it before you forward it? just install yasm or use the suggested option yasm/nasm not found or too old. Use --disable-yasm for a crippled build. harish@harish-DL-H61M-PS3:~/Downloads/ffmpeg/ffmpeg-2.3.3$ make Makefile:2: config.mak: No such file or directory Makefile:58: /common.mak: No such file or directory Makefile:98: /libavutil/Makefile: No such file or directory Makefile:98: /library.mak: No such file or directory Makefile:100: /doc/Makefile: No such file or directory Makefile:183: /tests/Makefile: No such file or directory make: *** No rule to make target `/tests/Makefile'. Stop ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Not able to install ffmpeg
Am 31.08.2014 um 23:11 schrieb Márcio Amoke: wget -cP ~/downloads/ http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar -C ~/downloads/ -zxvf ~/downloads/yasm* cd ~/downloads/yasm* ./configure make make install make distclean ldconfig rm -rf ~/downloads yasm* besides you should *not* top post you reply is worthless is the problem solved now or not? BTW: no idea why you play around with downloads and compiles for every single library - does your OS not have a sane package managaement? Em 31/08/2014 17:55, Reindl Harald h.rei...@thelounge.net escreveu: Am 31.08.2014 um 16:41 schrieb Harish Amur: As per your instruction in the output from configure, I am sending this email. Hope it's ok. well, what about *read* it before you forward it? just install yasm or use the suggested option yasm/nasm not found or too old. Use --disable-yasm for a crippled build. harish@harish-DL-H61M-PS3:~/Downloads/ffmpeg/ffmpeg-2.3.3$ make Makefile:2: config.mak: No such file or directory Makefile:58: /common.mak: No such file or directory Makefile:98: /libavutil/Makefile: No such file or directory Makefile:98: /library.mak: No such file or directory Makefile:100: /doc/Makefile: No such file or directory Makefile:183: /tests/Makefile: No such file or directory make: *** No rule to make target `/tests/Makefile'. Stop signature.asc Description: OpenPGP digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Custom build
You'll have to build it yourself, you can either compile it through the MinGW/MinGW-W64 toolchain, or you can fire up a linux VM and cross compile it for Windows, both of which aren't too difucult to set up, and there are hundreds of guides. On Sun, Aug 31, 2014 at 3:04 AM, Matin Lotfaliei matinlotf...@gmail.com wrote: Hi, I am using ffmpeg in windows to record desktop using these arguments in C#: -y + -f dshow + -i audio=\virtual-audio-capturer\ + (mic != ? :audio=\ + mic + \ : ) + -f gdigrab + -draw_mouse 0 + -framerate + fps + + -video_size + width + x + height + + -offset_x + point.X + + -offset_y + point.Y + + -i desktop + -pix_fmt yuv420p + -af \volume=+5dB\ + \ + fileName + \ The output type can be mp4,wmv,avi,flv,mp3,wma,wav based on users choice in GUI. But the size of ffmpeg.exe is 27 MBs (14 MBs compressed) which is very high. I want a custom build with smaller size. Size does matter to me a lot. I even can pay for it. How much size does the suggested custom build will have? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] configure error with enabling libmodplug
Hi, I'm trying to build ffmpeg with libmodplug codec. When I run ./configure --enable-libmodplug, it always ends with error libmodplug not found. $ ./configure --enable-libmodplug Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 ERROR: libmodplug not found I searched web and found that modification of ffmpeg configure script is required: https://trac.macports.org/ticket/36942 https://trac.macports.org/ticket/36942 -enabled libmodplug require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug +enabled libmodplug require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug -lstdc++ or -enabled libmodplug require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug +enabled libmodplug require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug -lc++ I have tested with Mac OS X. Both of them (adding -lstdc++ or -lc++ to enabled libmodplug line) result in good. I can build ffmpeg fine. I think either of them should be added to ffmpeg compile script. How do you think? // Miya ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Error and understanding issue: using ffmpeg to real time publish FLV file to Red5 and real time download FLV from Red5
About 1, input.flv's codecs ? About 2, maybe you can try ffmpeg -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv live=1 -c copy dump.flv On Sat, Aug 30, 2014 at 12:34 AM, Kajari Ghosh Dastidar kajar...@gmail.com wrote: Hello! I am new to ffmpeg, and trying to understand how to use it publish a live stream to a server, and how to record a live stream from a server. After reading online tutorials and visiting few forums, I got a brief overview of how to get it done. But, I think my understanding is not fully correct. Also, the commands I am running, are giving errors. Below I have listed down what I am trying to do, how I am doing it and why. OS: Windows 8, RTMP Server: Red5, Video File format: FLV, I want to: Read/Write FLV files from and to Red5 by live streaming. 1. To publish FLV file from local I am using this command at Command Line: ffmpeg -re -i input.flv -acodec copy -vcodec copy -f flv rtmp://ocalhost/oflaDemo/streams My understanding: This command will upload input.flv to the server location C:\Program Files\red5\webapps\oflaDemo\streams. So, after the command is done running, I expect in this server location a new file input.flv will be created. Is this correct? When I am running this command I am getting the following error and no file is getting created on the server side: [flv @ 03c6a660] Failed to update header with correct duration. [flv @ 03c6a660] Failed to update header with correct filesize. frame= 1567 fps= 24 q=-1.0 Lsize=3064kB time=00:01:05.43 bitrate= 383.6kbits /s video:2232kB audio:767kB subtitle:0kB other streams:0kB global headers:0kB muxin g overhead: 2.183349% Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? 2. Now, I am using the following command to livestream read a FLV file from the server into my local: ffmpeg -re -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv -c copy dump.flv My understanding: File hobbit_vp6.flv will be downloaded into my local directory and will get saved as dump.flv. And this will be live streaming. This will be like, recording a video stream from the server. Is this correct? When I am running this command I am getting the following error and no file is getting created on the local: Closing connection: NetStream.Play.StreamNotFound rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv: Unknown error occurred Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? Note: I was not aware of this mailing list before. Hence, have posted this question in stackoverflow as well: http://stackoverflow.com/questions/25567675/error-and-understanding-issue-using-ffmpeg-to-real-time-publish-flv-file-to-red Thanks, Kajari ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Error and understanding issue: using ffmpeg to real time publish FLV file to Red5 and real time download FLV from Red5
Red 5 maybe just accept video of h264, and audio of aac On Mon, Sep 1, 2014 at 9:48 AM, Kajari Ghosh Dastidar kajar...@gmail.com wrote: Thanks for your reply! Can you please tell me what you mean by trying flv codecs? Thanks! Sent from my Nexus 4. On Sep 1, 2014 7:16 AM, Qianliang Zhang zhangqianli...@gmail.com wrote: About 1, input.flv's codecs ? About 2, maybe you can try ffmpeg -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv live=1 -c copy dump.flv On Sat, Aug 30, 2014 at 12:34 AM, Kajari Ghosh Dastidar kajar...@gmail.com wrote: Hello! I am new to ffmpeg, and trying to understand how to use it publish a live stream to a server, and how to record a live stream from a server. After reading online tutorials and visiting few forums, I got a brief overview of how to get it done. But, I think my understanding is not fully correct. Also, the commands I am running, are giving errors. Below I have listed down what I am trying to do, how I am doing it and why. OS: Windows 8, RTMP Server: Red5, Video File format: FLV, I want to: Read/Write FLV files from and to Red5 by live streaming. 1. To publish FLV file from local I am using this command at Command Line: ffmpeg -re -i input.flv -acodec copy -vcodec copy -f flv rtmp://ocalhost/oflaDemo/streams My understanding: This command will upload input.flv to the server location C:\Program Files\red5\webapps\oflaDemo\streams. So, after the command is done running, I expect in this server location a new file input.flv will be created. Is this correct? When I am running this command I am getting the following error and no file is getting created on the server side: [flv @ 03c6a660] Failed to update header with correct duration. [flv @ 03c6a660] Failed to update header with correct filesize. frame= 1567 fps= 24 q=-1.0 Lsize=3064kB time=00:01:05.43 bitrate= 383.6kbits /s video:2232kB audio:767kB subtitle:0kB other streams:0kB global headers:0kB muxin g overhead: 2.183349% Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? 2. Now, I am using the following command to livestream read a FLV file from the server into my local: ffmpeg -re -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv -c copy dump.flv My understanding: File hobbit_vp6.flv will be downloaded into my local directory and will get saved as dump.flv. And this will be live streaming. This will be like, recording a video stream from the server. Is this correct? When I am running this command I am getting the following error and no file is getting created on the local: Closing connection: NetStream.Play.StreamNotFound rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv: Unknown error occurred Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? Note: I was not aware of this mailing list before. Hence, have posted this question in stackoverflow as well: http://stackoverflow.com/questions/25567675/error-and-understanding-issue-using-ffmpeg-to-real-time-publish-flv-file-to-red Thanks, Kajari ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Error and understanding issue: using ffmpeg to real time publish FLV file to Red5 and real time download FLV from Red5
There is an in-built demo in Red5 called oflaDemo, where a client can record an FLV file from the server. I have tried it and it works fine. I know there are other standard apps also, which does FLV with Red5. Sent from my Nexus 4. On Sep 1, 2014 7:22 AM, Qianliang Zhang zhangqianli...@gmail.com wrote: Red 5 maybe just accept video of h264, and audio of aac On Mon, Sep 1, 2014 at 9:48 AM, Kajari Ghosh Dastidar kajar...@gmail.com wrote: Thanks for your reply! Can you please tell me what you mean by trying flv codecs? Thanks! Sent from my Nexus 4. On Sep 1, 2014 7:16 AM, Qianliang Zhang zhangqianli...@gmail.com wrote: About 1, input.flv's codecs ? About 2, maybe you can try ffmpeg -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv live=1 -c copy dump.flv On Sat, Aug 30, 2014 at 12:34 AM, Kajari Ghosh Dastidar kajar...@gmail.com wrote: Hello! I am new to ffmpeg, and trying to understand how to use it publish a live stream to a server, and how to record a live stream from a server. After reading online tutorials and visiting few forums, I got a brief overview of how to get it done. But, I think my understanding is not fully correct. Also, the commands I am running, are giving errors. Below I have listed down what I am trying to do, how I am doing it and why. OS: Windows 8, RTMP Server: Red5, Video File format: FLV, I want to: Read/Write FLV files from and to Red5 by live streaming. 1. To publish FLV file from local I am using this command at Command Line: ffmpeg -re -i input.flv -acodec copy -vcodec copy -f flv rtmp://ocalhost/oflaDemo/streams My understanding: This command will upload input.flv to the server location C:\Program Files\red5\webapps\oflaDemo\streams. So, after the command is done running, I expect in this server location a new file input.flv will be created. Is this correct? When I am running this command I am getting the following error and no file is getting created on the server side: [flv @ 03c6a660] Failed to update header with correct duration. [flv @ 03c6a660] Failed to update header with correct filesize. frame= 1567 fps= 24 q=-1.0 Lsize=3064kB time=00:01:05.43 bitrate= 383.6kbits /s video:2232kB audio:767kB subtitle:0kB other streams:0kB global headers:0kB muxin g overhead: 2.183349% Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? 2. Now, I am using the following command to livestream read a FLV file from the server into my local: ffmpeg -re -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv -c copy dump.flv My understanding: File hobbit_vp6.flv will be downloaded into my local directory and will get saved as dump.flv. And this will be live streaming. This will be like, recording a video stream from the server. Is this correct? When I am running this command I am getting the following error and no file is getting created on the local: Closing connection: NetStream.Play.StreamNotFound rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv: Unknown error occurred Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? Note: I was not aware of this mailing list before. Hence, have posted this question in stackoverflow as well: http://stackoverflow.com/questions/25567675/error-and-understanding-issue-using-ffmpeg-to-real-time-publish-flv-file-to-red Thanks, Kajari ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user