<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/ffmpeg4android/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 11 Jul 2017 05:02:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ffmpeg4android/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>[mpegts @ 0xb739d2e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 5263997382 &gt;= 5263993782</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/3088bdbc/?limit=25#a357</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I am facing error while building libraries.&lt;br/&gt;
I have NOT applied any of my customizations in Android_configuration.mk and proceeded for build with "mm"  command.&lt;/p&gt;
&lt;p&gt;SOURCE DOWNLOAD:&lt;br/&gt;
Downloaded ffmpeg-HEAD-aa86ccc.android.tar.gz&lt;br/&gt;
Extracted it and placed the source folder "ffmpeg-android" in "/android/external" folder.&lt;/p&gt;
&lt;p&gt;ANDROID TOOL CHAIN:&lt;br/&gt;
The following are the highest versions of tool chains available in folder /android/ndk/toolchains -&lt;br/&gt;
1.aarch64-linux-android-4.9&lt;br/&gt;
2.aarch64-linux-android-clang3.5&lt;br/&gt;
3.arm-linux-androideabi-4.9&lt;br/&gt;
4.arm-linux-androideabi-clang3.5&lt;br/&gt;
5.llvm-3.5&lt;br/&gt;
6.mips64el-linux-android-4.9&lt;br/&gt;
7.mips64el-linux-android-clang3.5&lt;br/&gt;
8.mipsel-linux-android-4.9&lt;br/&gt;
9.mipsel-linux-android-clang3.5&lt;br/&gt;
10.x86_64-4.9&lt;br/&gt;
11.x86_64-clang3.5&lt;br/&gt;
12.x86-4.9&lt;br/&gt;
13.x86-clang3.5&lt;/p&gt;
&lt;p&gt;The following is the highest version API level support -&lt;br/&gt;
/android/prebuilts/ndk/android-ndk-r9/platforms/android-21&lt;/p&gt;
&lt;p&gt;ENVIRONMENT SETUP:&lt;br/&gt;
The build/envsetup.sh  environment is set.&lt;br/&gt;
The target is set with lunch A1-userdebug&lt;br/&gt;
The following the set environmet information :&lt;/p&gt;
&lt;p&gt;PLATFORM_VERSION_CODENAME=REL&lt;br/&gt;
PLATFORM_VERSION=6.0&lt;br/&gt;
TARGET_PRODUCT=A1&lt;br/&gt;
TARGET_BUILD_VARIANT=userdebug&lt;br/&gt;
TARGET_BUILD_TYPE=release&lt;br/&gt;
TARGET_BUILD_APPS=&lt;br/&gt;
TARGET_ARCH=arm64&lt;br/&gt;
TARGET_ARCH_VARIANT=armv8-a&lt;br/&gt;
TARGET_CPU_VARIANT=generic&lt;br/&gt;
TARGET_2ND_ARCH=arm&lt;br/&gt;
TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;br/&gt;
TARGET_2ND_CPU_VARIANT=cortex-a53&lt;br/&gt;
HOST_ARCH=x86_64&lt;br/&gt;
HOST_OS=linux&lt;br/&gt;
HOST_OS_EXTRA=Linux-3.13.0-105-generic-x86_64-with-Ubuntu-12.04-precise&lt;br/&gt;
HOST_BUILD_TYPE=release&lt;br/&gt;
OUT_DIR=out-A1&lt;/p&gt;
&lt;p&gt;BUILD:&lt;br/&gt;
executed the command "mm" in folder ffmpeg-android.&lt;/p&gt;
&lt;p&gt;ERROR:&lt;br/&gt;
The source files are built for libraries , but finally i am facing the below error - &lt;br/&gt;
target SharedLib: libavutil-2.2.git (out-A1/target/product/A1/obj/SHARED_LIBRARIES/libavutil-2.2.git_intermediates/LINKED/libavutil-2.2.git.so)&lt;br/&gt;
collect2: fatal error: cannot find 'ld'&lt;br/&gt;
compilation terminated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rajeswari</dc:creator><pubDate>Tue, 11 Jul 2017 05:02:19 -0000</pubDate><guid>https://sourceforge.net0b096331a51dbb470dfd5747246eeecfe3c875da</guid></item><item><title>ffmpeg for android ...usage in android command line</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/64633f6c/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;HI Obucina,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I am new to Android platform development.&lt;/p&gt;
&lt;p&gt;So pleaae explean in detail (step by step) to copy which files from /out, link files, create APK ,install ,run ffmpeg  in android command line(shell).&lt;/p&gt;
&lt;p&gt;REgards&lt;br/&gt;
dk venkatesh babu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">venkatesh babu</dc:creator><pubDate>Mon, 02 Nov 2015 08:30:32 -0000</pubDate><guid>https://sourceforge.nete1ade59de459ac6adb7082bac7653bfb0f5522ab</guid></item><item><title>ffmpeg for android ...usage in android command line</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/64633f6c/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am able to sucessfully build ffmpeg for android in my android source root dir/external.&lt;/p&gt;
&lt;p&gt;I want to know how to install the generated ffmpeg executables on any android phone and use it in the command line.&lt;/p&gt;
&lt;p&gt;Example in command line as&lt;/p&gt;
&lt;p&gt;ffmpeg -version&lt;br/&gt;
or &lt;br/&gt;
ffmpeg  -thread_queue_size 512 -analyzeduration 0 -probesize 32 -f v4l2 -s 640x480 -r 30 -i /dev/video0 -thread_queue_size 512 -f alsa -ac 2 -i hw:1 -fflags nobuffer -g 0 &lt;a href="http://localhost:8091/feed1.ffm" rel="nofollow"&gt;http://localhost:8091/feed1.ffm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;REgards&lt;br/&gt;
dk venkatesh babu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">venkatesh babu</dc:creator><pubDate>Mon, 26 Oct 2015 06:59:52 -0000</pubDate><guid>https://sourceforge.netb0fff79964c43996bdac3abf87b5005d867fce5a</guid></item><item><title>ffmpeg http live streaming support -- how to use the api in segment.c</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/67e64a94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;yes, i get it work now, but here is another problem, in the latest version of ffmpeg4android, the support for hls are limited, i can only see 4 options:&lt;br /&gt;
static const AVOption options[] = {&lt;br /&gt;
    {"start_number",  "set first number in the sequence",        OFFSET(sequence),AV_OPT_TYPE_INT64,  {.i64 = 0},     0, INT64_MAX, E},&lt;br /&gt;
    {"hls_time",      "set segment length in seconds",           OFFSET(time),    AV_OPT_TYPE_FLOAT,  {.dbl = 2},     0, FLT_MAX, E},&lt;br /&gt;
    {"hls_list_size", "set maximum number of playlist entries",  OFFSET(size),    AV_OPT_TYPE_INT,    {.i64 = 5},     0, INT_MAX, E},&lt;br /&gt;
    {"hls_wrap",      "set number after which the index wraps",  OFFSET(wrap),    AV_OPT_TYPE_INT,    {.i64 = 0},     0, INT_MAX, E},&lt;br /&gt;
    { NULL },&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;which means i can not delete old ts file.&lt;/p&gt;
&lt;p&gt;do you have any higher version of ffmpeg4android?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derekzhuo</dc:creator><pubDate>Wed, 17 Jun 2015 06:11:53 -0000</pubDate><guid>https://sourceforge.netd981442f7269607f0dd43a6d0b72807758212d20</guid></item><item><title>ffmpeg http live streaming support -- how to use the api in segment.c</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/67e64a94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;thanks, i notice that the cmd line tool could used to segment stream, but i need to implement one as a .so by myself, which could be invoked by application in java. so i need to figure out how exactly the muxer is initilized and get invoked.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derekzhuo</dc:creator><pubDate>Tue, 16 Jun 2015 02:05:13 -0000</pubDate><guid>https://sourceforge.net9bd2cb32be671cf7fe42921f86a281d5922add31</guid></item><item><title>ffmpeg http live streaming support -- how to use the api in segment.c</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/67e64a94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;FFmpeg contains HLS muxer, it may be easily used from command line. It will cut Your file into segments of the specified length, and make M3U8 playlists for VOD or live streaming (e.g. from live source, like camera). For muxer names and available options check the source code avformat/hlsenc.*&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Obucina</dc:creator><pubDate>Mon, 15 Jun 2015 23:57:52 -0000</pubDate><guid>https://sourceforge.netd9f685cf8dbfa8143ca0b972dbbef0550bbe541f</guid></item><item><title>[mpegts @ 0xb739d2e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 5263997382 &gt;= 5263993782</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/3088bdbc/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If You are just trying to remux some stream, and do not try to calculate PTS/DTS values, then probably stream contains values which FFmpeg consider as invalid.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Obucina</dc:creator><pubDate>Mon, 15 Jun 2015 23:51:41 -0000</pubDate><guid>https://sourceforge.net52295b4cac3c459544d615c97718fb9c11e49b76</guid></item><item><title>ffmpeg http live streaming support -- how to use the api in segment.c</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/67e64a94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Guys, I am working on a hls segmenter on android which doesn't contain the tool, so i have to finish one by myself, i tried m3u8-segmenter of johnf on github, but it does not work fine, and then i saw there is a segment.c in ffmpeg project, but it does not contain something like segment.h, i just do not know how to kick off, could some one tell me how to use the APIs in file segment.c.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derekzhuo</dc:creator><pubDate>Mon, 15 Jun 2015 02:16:32 -0000</pubDate><guid>https://sourceforge.net4a53428660a1b7045bd6cc1fdbb6037471edf2a7</guid></item><item><title>[mpegts @ 0xb739d2e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 5263997382 &gt;= 5263993782</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/3088bdbc/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, but it doesn't always happen, some input stream work fine, while some not, is there any chance that the input stream carry problems?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">derekzhuo</dc:creator><pubDate>Mon, 15 Jun 2015 01:48:03 -0000</pubDate><guid>https://sourceforge.net14319624b43913e3ba694b15eaa0ce0125ea8403</guid></item><item><title>[mpegts @ 0xb739d2e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 5263997382 &gt;= 5263993782</title><link>https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/3088bdbc/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I guess You are setting invalid values to the PTS fields of frames You want to mux. Find proper muxing example (I believe there is one in FFmpeg folder doc), and check how it is done. You need to take care of time base, and use it to calculate proper PTS values from Your frame rate, in a given time base (for TS it is always 1/90000).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Obucina</dc:creator><pubDate>Fri, 12 Jun 2015 08:03:00 -0000</pubDate><guid>https://sourceforge.net31801c1581c3832cb1e35ea8e2491530e371d6e0</guid></item></channel></rss>