cine-io / cineio-broadcast-android

The cine.io Android Broadcast SDK
https://www.cine.io/products/broadcast
MIT License
52 stars 32 forks source link

Signal 11 Error the first time the app streams but not the second #7

Closed lgorse closed 9 years ago

lgorse commented 9 years ago

When I open the app and stream the First time I get a Signal 11 Error. The app crashes and the activiity automatically restarts - and then streaming works.

Here is the verbose log of the initial attempt:

01-23 14:58:21.338  22595-22595/com.example.lgorse.cineios_test I/PersonaManager﹕ getPersonaService() name persona_policy
01-23 14:58:21.378  22595-22595/com.example.lgorse.cineios_test I/PersonaManager﹕ getPersonaService() name persona_policy
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 11490: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0000
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 11496: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0000
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 9179: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
01-23 14:58:21.398  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000e
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 372: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 394: Landroid/content/res/TypedArray;.getType (I)I
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
01-23 14:58:21.408  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 270
01-23 14:58:21.418  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:42 height:126 bitmap id is 271
01-23 14:58:21.418  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 272
01-23 14:58:21.428  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 273
01-23 14:58:21.428  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 274
01-23 14:58:21.438  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 275
01-23 14:58:21.438  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 276
01-23 14:58:21.568  22595-22641/com.example.lgorse.cineios_test I/System.out﹕ Thread-133482(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables
01-23 14:58:21.578  22595-22641/com.example.lgorse.cineios_test I/System.out﹕ Thread-133482(ApacheHTTPLog):isShipBuild true
01-23 14:58:21.578  22595-22641/com.example.lgorse.cineios_test I/System.out﹕ Thread-133482(ApacheHTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
01-23 14:58:21.648  22595-22595/com.example.lgorse.cineios_test I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build:  ()
    OpenGL ES Shader Compiler Version: E031.24.00.08
    Build Date: 02/20/14 Thu
    Local Branch: AU200_patches_ms_memleak_libsc_profiler
    Remote Branch:
    Local Patches:
    Reconstruct Branch:
01-23 14:58:21.708  22595-22595/com.example.lgorse.cineios_test D/OpenGLRenderer﹕ Enabling debug mode 0
01-23 14:58:21.718  22595-22595/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 277
01-23 14:58:22.368  22595-22641/com.example.lgorse.cineios_test I/System.out﹕ pool-1-thread-1 calls detatch()
01-23 14:58:22.368  22595-22595/com.example.lgorse.cineios_test V/AsyncHttpResponseHandler﹕ Progress 373 from 373 (100%)
01-23 14:58:22.368  22595-22595/com.example.lgorse.cineios_test D/CineIoClient﹕ Starting publish intent: 54a5fa819e6f4f0800dc7ee5
01-23 14:58:22.708  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ Trying to load lib /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429c8648
01-23 14:58:22.718  22595-22595/com.example.lgorse.cineios_test W/linker﹕ libavcodec-55.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-23 14:58:22.718  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ Added shared lib /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429c8648
01-23 14:58:22.718  22595-22595/com.example.lgorse.cineios_test D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429c8648, skipping init
01-23 14:58:22.728  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onCreate complete: io.cine.android.BroadcastActivity@42b3e9e0
01-23 14:58:22.728  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume -- acquiring camera
01-23 14:58:23.088  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ entry: 10000 - 30000
01-23 14:58:23.088  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ Couldn't find match for 15000, using 15000
01-23 14:58:23.088  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ TOTAL SUPPORTED FORMATS: 2
01-23 14:58:23.088  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 256
01-23 14:58:23.088  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 16
01-23 14:58:23.118  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume complete: io.cine.android.BroadcastActivity@42b3e9e0
01-23 14:58:23.118  22595-22751/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.118  22595-22751/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.118  22595-22751/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:58:23.128  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onPause -- releasing camera
01-23 14:58:23.308  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ releaseCamera -- done
01-23 14:58:23.308  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onPause complete
01-23 14:58:23.308  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume -- acquiring camera
01-23 14:58:23.558  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ entry: 10000 - 30000
01-23 14:58:23.558  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ Couldn't find match for 15000, using 15000
01-23 14:58:23.558  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ TOTAL SUPPORTED FORMATS: 2
01-23 14:58:23.558  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 256
01-23 14:58:23.558  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 16
01-23 14:58:23.568  22595-22751/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.568  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume complete: io.cine.android.BroadcastActivity@42b3e9e0
01-23 14:58:23.568  22595-22751/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.568  22595-22751/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:58:23.568  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onPause -- releasing camera
01-23 14:58:23.728  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ releaseCamera -- done
01-23 14:58:23.728  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onPause complete
01-23 14:58:23.728  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onDestroy
01-23 14:58:23.758  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onCreate complete: io.cine.android.BroadcastActivity@42b7e188
01-23 14:58:23.758  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume -- acquiring camera
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ entry: 10000 - 30000
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ Couldn't find match for 15000, using 15000
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ TOTAL SUPPORTED FORMATS: 2
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 256
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 16
01-23 14:58:23.968  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume complete: io.cine.android.BroadcastActivity@42b7e188
01-23 14:58:23.968  22595-22936/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.968  22595-22936/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:23.968  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:58:24.008  22595-22595/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 52 frames!  The application may be doing too much work on its main thread.
01-23 14:58:24.038  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:24.038  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:24.078  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceCreated
01-23 14:58:24.078  22595-22936/com.example.lgorse.cineios_test D/GlUtil﹕ Created program 3 (TEXTURE_EXT)
01-23 14:58:24.088  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceChanged 1920x1080
01-23 14:58:24.098  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42b8a2b0}]: what=0
01-23 14:58:24.708  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42b8a2b0}]: what=1
01-23 14:58:24.708  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ handle setting camera orientation
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SETTING ASPECT RATIO: 1.7777777777777777
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ Setting aspect ratio to 1.7777777777777777 (was -1.0)
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ Camera preferred preview size for video is 1920x1080
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1920x1080
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1440x1080
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1280x720
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1056x864
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 960x720
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 800x480
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 720x480
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 640x480
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 352x288
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 320x240
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 176x144
01-23 14:58:24.718  22595-22595/com.example.lgorse.cineios_test D/CameraUtils﹕ setting preview size: 1280x720
01-23 14:58:24.728  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:58:24.728  22595-22595/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 37 frames!  The application may be doing too much work on its main thread.
01-23 14:58:24.728  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:24.728  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-23 14:58:24.728  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:24.728  22595-22595/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-23 14:58:24.748  22595-22595/com.example.lgorse.cineios_test E/ActivityThread﹕ Performing stop of activity that is not resumed: {com.example.lgorse.cineios_test/com.example.lgorse.cineios_test.MainActivity}
    java.lang.RuntimeException: Performing stop of activity that is not resumed: {com.example.lgorse.cineios_test/com.example.lgorse.cineios_test.MainActivity}
            at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3445)
            at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3532)
            at android.app.ActivityThread.access$1200(ActivityThread.java:173)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1330)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5579)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
            at dalvik.system.NativeStart.main(Native Method)
01-23 14:58:25.348  22595-22624/com.example.lgorse.cineios_test E/BufferQueue﹕ [unnamed-22595-0] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=5 undequeudCount=1)
01-23 14:58:55.998  22595-22595/com.example.lgorse.cineios_test I/Muxer﹕ Created muxer for output: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-23 14:58:55.998  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:55.998  22595-22595/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:55.998  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ init
01-23 14:58:56.038  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ initializing output_fmt_context ...
01-23 14:58:56.038  22595-22595/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _init_output_fmt_context format: flv path: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->name: flv
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->long_name: FLV (Flash Video)
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->mime_type: video/x-flv
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->extensions: flv
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->audio_codec: 86018
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->video_codec: 28
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->subtitle_codec: 0
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->flags: 132160
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ adding video stream ...
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->name: h264
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->long_name: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->type: 0
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->id: 28
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->capabilities: 12322
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _add_stream at index 0
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream: using separate headers
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream st: 0x7968f960
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ adding audio stream ...
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->name: aac
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->long_name: AAC (Advanced Audio Coding)
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->type: 1
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->id: 86018
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->capabilities: 1026
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _add_stream at index 1
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream: using separate headers
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream st: 0x7968e070
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ opening output url ...
01-23 14:58:56.048  22595-22595/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Opening output file for writing at path rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-23 14:58:56.408  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ logging (dumping) output_fmt_ctx log ...
01-23 14:58:56.408  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ Output #0, flv, to 'rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13':
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ Stream #0:0
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 0, 0/0
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ : Video: h264, yuv420p, 1280x720, q=2-31, 1500 kb/s
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 15 tbc
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ [ 01-23 14:58:56.418 22595:22595 D/ffmpegbridge ]
    Stream #0:1
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 0, 0/0
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ : Audio: aac, 44100 Hz, 1 channels, s16, 128 kb/s
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/ffmpegbridge﹕ [ 01-23 14:58:56.418 22595:24139 D/FFmpegMuxer ]
    Starting looper
01-23 14:58:56.418  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ setting mHandler
01-23 14:58:56.418  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ setting mHandler to: Handler (io.cine.android.streaming.FFmpegMuxer$FFmpegHandler) {42bc13e8}
01-23 14:58:56.418  22595-22595/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-23 14:58:56.428  22595-22595/com.example.lgorse.cineios_test I/ACodec﹕ [] Now uninitialized
01-23 14:58:56.438  22595-24140/com.example.lgorse.cineios_test I/OMXClient﹕ Using client-side OMX mux.
01-23 14:58:56.448  22595-24140/com.example.lgorse.cineios_test E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
01-23 14:58:56.488  22595-24140/com.example.lgorse.cineios_test W/linker﹕ libsxqk.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-23 14:58:56.498  22595-24140/com.example.lgorse.cineios_test W/linker﹕ libarac.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-23 14:58:56.528  22595-24140/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Loaded
01-23 14:58:56.538  22595-24140/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Loaded->Idle
01-23 14:58:56.538  22595-24140/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Idle->Executing
01-23 14:58:56.538  22595-24143/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-23 14:58:56.538  22595-24140/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Executing
01-23 14:58:56.538  22595-24143/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-23 14:58:56.558  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ changeRecordingState: was false now true
01-23 14:58:56.568  22595-22595/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 35 frames!  The application may be doing too much work on its main thread.
01-23 14:58:56.568  22595-22936/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ START recording
01-23 14:58:56.568  22595-22936/com.example.lgorse.cineios_test D/TextureMovieEncoder﹕ Encoder: startRecording()
01-23 14:58:56.578  22595-24146/com.example.lgorse.cineios_test D/TextureMovieEncoder﹕ handleStartRecording io.cine.android.streaming.FFmpegMuxer@42b8a1d0' ctxt=android.opengl.EGLContext@79309bf0
01-23 14:58:56.588  22595-24146/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:56.588  22595-24146/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:58:56.588  22595-24146/com.example.lgorse.cineios_test I/ACodec﹕ [] Now uninitialized
01-23 14:58:56.588  22595-24149/com.example.lgorse.cineios_test I/OMXClient﹕ Using client-side OMX mux.
01-23 14:58:56.688  22595-24143/com.example.lgorse.cineios_test D/AndroidEncoder﹕ ADDED TRACK INDEX: 1 io.cine.android.streaming.AudioEncoderCore
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ AUDIO CONFIG LENGTH: 2
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ setAudioCodecExtraData
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_type: 1
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_id: 86018
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_tag: 0
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->stream_codec_tag: 0
01-23 14:58:56.688  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags: 4194304
01-23 14:58:56.698  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags2: 0
01-23 14:58:56.698  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->extradata_size: 2
01-23 14:58:56.698  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x12
01-23 14:58:56.698  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x8
01-23 14:58:56.718  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.718  22595-24149/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Loaded
01-23 14:58:56.728  22595-24149/com.example.lgorse.cineios_test E/ACodec﹕ [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -2147483648
01-23 14:58:56.728  22595-24149/com.example.lgorse.cineios_test I/ACodec﹕ setupVideoEncoder succeeded
01-23 14:58:56.738  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.738  22595-24149/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Loaded->Idle
01-23 14:58:56.758  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.758  22595-24149/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Idle->Executing
01-23 14:58:56.768  22595-24149/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Executing
01-23 14:58:56.768  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.778  22595-24146/com.example.lgorse.cineios_test D/GlUtil﹕ EGLContext created, client version 2
01-23 14:58:56.788  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.798  22595-24146/com.example.lgorse.cineios_test D/GlUtil﹕ Created program 6 (TEXTURE_EXT)
01-23 14:58:56.818  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.868  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.878  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.918  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-23 14:58:56.938  22595-24146/com.example.lgorse.cineios_test D/AndroidEncoder﹕ ADDED TRACK INDEX: 0 io.cine.android.streaming.VideoEncoderCore
01-23 14:58:56.948  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ Capture SPS + PPS
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ setVideoCodecExtraData
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_type: 0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_id: 28
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_tag: 0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->stream_codec_tag: 0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags: 4194304
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags2: 0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->extradata_size: 25
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x67
01-23 14:58:56.958  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x42
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x80
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1f
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xda
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x40
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x16
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xe8
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x6
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xd0
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xa1
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x35
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x68
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xce
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x6
01-23 14:58:56.968  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xe2
01-23 14:58:56.998  22595-22621/com.example.lgorse.cineios_test D/ffmpegbridge﹕ finalize
01-23 14:58:56.998  22595-22621/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Writing trailer ...
01-23 14:58:56.998  22595-24146/com.example.lgorse.cineios_test D/dalvikvm﹕ GC_FOR_ALLOC freed 1391K, 14% free 23108K/26836K, paused 35ms, total 37ms
01-23 14:58:56.998  22595-22621/com.example.lgorse.cineios_test A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 22621 (FinalizerDaemon)

Note that the final term under parentheses changes (Instead of FinalizerDaemon it will say FFMpeg).

Here is what happens right after the error line:

01-23 14:58:57.008  22595-24146/com.example.lgorse.cineios_test I/dalvikvm-heap﹕ Grow heap (frag case) to 27.716MB for 1413136-byte allocation
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writeHeader
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Writing header ...
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO KEYFRAME
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=10, size=17775)
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=19, size=10022)
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=29, size=1092)
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=39, size=4051)
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=48, size=989)
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.018  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=58, size=7423)
01-23 14:58:57.028  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING AUDIO DATA
01-23 14:58:57.028  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ About to filter audio packet buffer ...
01-23 14:58:57.028  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=0/1, device=1/1000000
01-23 14:58:57.028  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 1: (pts=209, size=363)
01-23 14:58:57.038  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING AUDIO DATA
01-23 14:58:57.038  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ About to filter audio packet buffer ...
01-23 14:58:57.038  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=0/1, device=1/1000000
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 1: (pts=314, size=357)
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING AUDIO DATA
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ About to filter audio packet buffer ...
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=0/1, device=1/1000000
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 1: (pts=338, size=365)
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING AUDIO DATA
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ About to filter audio packet buffer ...
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=0/1, device=1/1000000
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 1: (pts=361, size=375)
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING AUDIO DATA
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ About to filter audio packet buffer ...
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=0/1, device=1/1000000
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 1: (pts=384, size=358)
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.048  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=61, size=2339)
01-23 14:58:57.058  22595-24139/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ WRITING VIDEO DATA
01-23 14:58:57.058  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ time bases: stream=1/1000, codec=1/15, device=1/1000000
01-23 14:58:57.058  22595-24139/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writing frame to stream 0: (pts=94, size=22)
01-23 14:58:58.068  22595-22595/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 62 frames!  The application may be doing too much work on its main thread.
01-23 14:58:58.538  24169-24183/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 270
01-23 14:58:58.538  24169-24183/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 271
01-23 14:58:58.538  24169-24183/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 272
01-23 14:58:58.538  24169-24183/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 273
01-23 14:58:58.538  24169-24182/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 274
01-23 14:58:58.548  24169-24169/com.example.lgorse.cineios_test I/PersonaManager﹕ getPersonaService() name persona_policy
01-23 14:58:58.568  24169-24185/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 275
01-23 14:58:58.578  24169-24184/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:42 height:126 bitmap id is 276
01-23 14:58:58.608  24169-24169/com.example.lgorse.cineios_test I/PersonaManager﹕ getPersonaService() name persona_policy
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 11490: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0000
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 11496: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
01-23 14:58:58.628  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0000
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 9179: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000e
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 372: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test W/dalvikvm﹕ VFY: unable to resolve virtual method 394: Landroid/content/res/TypedArray;.getType (I)I
01-23 14:58:58.638  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
01-23 14:58:58.648  24169-24169/com.example.lgorse.cineios_test D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 277
01-23 14:58:58.738  24169-24188/com.example.lgorse.cineios_test I/System.out﹕ Thread-133638(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables
01-23 14:58:58.738  24169-24188/com.example.lgorse.cineios_test I/System.out﹕ Thread-133638(ApacheHTTPLog):isShipBuild true
01-23 14:58:58.738  24169-24188/com.example.lgorse.cineios_test I/System.out﹕ Thread-133638(ApacheHTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
01-23 14:58:58.768  24169-24169/com.example.lgorse.cineios_test I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build:  ()
    OpenGL ES Shader Compiler Version: E031.24.00.08
    Build Date: 02/20/14 Thu
    Local Branch: AU200_patches_ms_memleak_libsc_profiler
    Remote Branch:
    Local Patches:
    Reconstruct Branch:
01-23 14:58:58.798  24169-24169/com.example.lgorse.cineios_test D/OpenGLRenderer﹕ Enabling debug mode 0
01-23 14:58:59.248  24169-24188/com.example.lgorse.cineios_test I/System.out﹕ pool-1-thread-1 calls detatch()
01-23 14:58:59.248  24169-24169/com.example.lgorse.cineios_test V/AsyncHttpResponseHandler﹕ Progress 373 from 373 (100%)
01-23 14:58:59.248  24169-24169/com.example.lgorse.cineios_test D/CineIoClient﹕ Starting publish intent: 54a5fa819e6f4f0800dc7ee5
01-23 14:58:59.358  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ Trying to load lib /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429ca680
01-23 14:58:59.358  24169-24169/com.example.lgorse.cineios_test W/linker﹕ libavcodec-55.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-23 14:58:59.368  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ Added shared lib /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429ca680
01-23 14:58:59.368  24169-24169/com.example.lgorse.cineios_test D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.example.lgorse.cineios_test-65/libffmpegbridge.so 0x429ca680, skipping init
01-23 14:58:59.368  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onCreate complete: io.cine.android.BroadcastActivity@42b48280
01-23 14:58:59.368  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume -- acquiring camera
01-23 14:58:59.638  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ entry: 10000 - 30000
01-23 14:58:59.638  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ Couldn't find match for 15000, using 15000
01-23 14:58:59.638  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ TOTAL SUPPORTED FORMATS: 2
01-23 14:58:59.638  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 256
01-23 14:58:59.638  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 16
01-23 14:58:59.648  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume complete: io.cine.android.BroadcastActivity@42b48280
01-23 14:58:59.648  24169-24192/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:59.648  24169-24192/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 14:58:59.648  24169-24192/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:58:59.658  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:59.658  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:58:59.708  24169-24192/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceCreated
01-23 14:58:59.718  24169-24192/com.example.lgorse.cineios_test D/GlUtil﹕ Created program 3 (TEXTURE_EXT)
01-23 14:58:59.728  24169-24192/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceChanged 1920x1080
01-23 14:58:59.748  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42b583e8}]: what=0
01-23 14:59:00.278  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42b583e8}]: what=1
01-23 14:59:00.278  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ handle setting camera orientation
01-23 14:59:00.278  24169-24169/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:59:00.278  24169-24169/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SETTING ASPECT RATIO: 1.7777777777777777
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ Setting aspect ratio to 1.7777777777777777 (was -1.0)
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ Camera preferred preview size for video is 1920x1080
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1920x1080
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1440x1080
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1280x720
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1056x864
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 960x720
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 800x480
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 720x480
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 640x480
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 352x288
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 320x240
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 176x144
01-23 14:59:00.288  24169-24169/com.example.lgorse.cineios_test D/CameraUtils﹕ setting preview size: 1280x720
01-23 14:59:00.288  24169-24192/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-23 14:59:00.298  24169-24169/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 32 frames!  The application may be doing too much work on its main thread.
01-23 14:59:00.298  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:59:00.298  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-23 14:59:00.298  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-23 14:59:00.298  24169-24169/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-23 14:59:00.778  24169-24181/com.example.lgorse.cineios_test E/BufferQueue﹕ [unnamed-24169-0] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=5 undequeudCount=1)

The stream happens just fine after that. I'm guessing some asynchronous memory freeing isn't going on - has this happened for you guys before?

trshafer commented 9 years ago

Writing the trailer happens when the broadcast stops. Is the app crashing when you stop the broadcast?

lgorse commented 9 years ago

If the broadcast is stopping I'm not making that request voluntarily - I simply start the broadcast by pressing on the record button. I don't press it again to stop it.

Anything else I can provide - please ask! I'm investigating as well but not sure where to start on this one.

lgorse commented 9 years ago

Also I think the automatic restart only occurs when I run the app from android studio. I'm waking around right now and when I start a stream the app simply crashes

lgorse commented 9 years ago

The error is related to the EncodingConfig being set to landscape (maybe forced to landscape). It does not happen when I either don't include a config in the .broadcast method, or when I include a config with "portrait" as the orientation.

Check out this error log without the config - which is always a successful stream launch:

01-23 23:19:31.396  27694-27694/com.example.lgorse.cineios_test I/Muxer﹕ Created muxer for output: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-23 23:19:31.396  27694-27694/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false
01-23 23:19:31.396  27694-27694/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: false

And check out this one which forces landscape:

01-23 22:55:52.526  22071-22071/com.example.lgorse.cineios_test I/Muxer﹕ Created muxer for output: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-23 22:55:52.536  22071-22071/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true
01-23 22:55:52.536  22071-22071/com.example.lgorse.cineios_test D/EncodingConfig﹕ IS LANDSCAPE: true

And then when I set the config orientation as "portrait" streaming is successful!!!

Watch this space.

By the way are you able to reproduce the error?

lgorse commented 9 years ago

One last step I undertook:

I checked the values that BroadcastActivity.onresume() took for width and height. And even though orientation was landscape, width and height were set to portrait:

mGLView.queueEvent(new Runnable() {
            @Override
            public void run() {
                Log.i("WHAT IS MY WIDTH WHAT IS MY HEIGHT", "Width: "+ mEncodingConfig.getWidth() + "height: " +mEncodingConfig.getHeight());
                mRenderer.setCameraPreviewSize(mEncodingConfig.getWidth(), mEncodingConfig.getHeight());
            }
        });

Result:

01-24 01:31:38.066  29381-29435/com.example.lgorse.cineios_test I/WHAT IS MY WIDTH WHAT IS MY HEIHGT﹕ Width: 720height: 1280
01-24 01:31:38.576  29381-29541/com.example.lgorse.cineios_test I/WHAT IS MY WIDTH WHAT IS MY HEIHGT﹕ Width: 720height: 1280
01-24 01:32:21.526  30582-30604/com.example.lgorse.cineios_test I/WHAT IS MY WIDTH WHAT IS MY HEIHGT﹕ Width: 720height: 1280

This is where I sign out - hopefully this will help figure out if the problem is on my end only or if this is a reproducible bug - and will have cut down some of your debugging time as well.

lgorse commented 9 years ago

I've had a lot of false diagnostics because I haven't controlled for something unexpected: how I hold the camera.

If I leave the phone face down on a surface (not holding it) => the error occurs. If I hold the phone up and aim it => the error does not always occur.

NOTE: yesterday the error never occured when I held the phone. Today it does often. I'm not 100% sure this is going to lead to solving the bug.

However the error does not occur in portrait mode (or when no config is passed). So it seems to me the error is avoidable.

trshafer commented 9 years ago

Just released a new version. You were correct in there was a bug where it was setting the resolution to the inverse width and height. Setting the camera w/h needs to always be landscape and this was not doing it properly.

https://github.com/cine-io/cineio-broadcast-android/releases/tag/v0.0.12

lgorse commented 9 years ago

It works.

I had to wipe the previous version from the phone however.

The error does happen occasionally (maybe 1/15 opens), still upon capturing video. I'll open an issue if I can catch a pattern in it.

lgorse commented 9 years ago

I just got the error upon opening the app and starting to record. I thought I'd post the error log in case the cause looks familiar given your work over the weekend.

It's still a signal 11 error that now occurs during "daemonfinalizer" (check out line 5 from the bottom of the log)

01-25 20:51:12.122  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ entry: 10000 - 30000
01-25 20:51:12.122  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ Couldn't find match for 15000, using 15000
01-25 20:51:12.122  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ TOTAL SUPPORTED FORMATS: 2
01-25 20:51:12.122  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 256
01-25 20:51:12.122  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SUPPORTED FORMAT: 16
01-25 20:51:12.132  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ onResume complete: io.cine.android.BroadcastActivity@42ad3fe8
01-25 20:51:12.132  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-25 20:51:12.142  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-25 20:51:12.142  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=-1.0 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-25 20:51:12.192  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceCreated
01-25 20:51:12.202  10436-10632/com.example.lgorse.cineios_test D/GlUtil﹕ Created program 3 (TEXTURE_EXT)
01-25 20:51:12.202  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ onSurfaceChanged 1920x1080
01-25 20:51:12.242  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42ae0198}]: what=0
01-25 20:51:12.772  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ CameraHandler [Handler (io.cine.android.BroadcastActivity$CameraHandler) {42ae0198}]: what=1
01-25 20:51:12.772  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ handle setting camera orientation
01-25 20:51:12.772  10436-10436/com.example.lgorse.cineios_test D/BroadcastActivity﹕ SETTING ASPECT RATIO: 1.7777777777777777
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ Setting aspect ratio to 1.7777777777777777 (was -1.0)
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ Camera preferred preview size for video is 1920x1080
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1920x1080
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1440x1080
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1280x720
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 1056x864
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 960x720
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 800x480
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 720x480
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 640x480
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 352x288
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 320x240
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ supported: 176x144
01-25 20:51:12.782  10436-10436/com.example.lgorse.cineios_test D/CameraUtils﹕ setting preview size: 1280x720
01-25 20:51:12.792  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ setCameraPreviewSize
01-25 20:51:12.792  10436-10436/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 32 frames!  The application may be doing too much work on its main thread.
01-25 20:51:12.792  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-25 20:51:12.792  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-25 20:51:12.792  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ onMeasure target=1.7777777777777777 width=[MeasureSpec: EXACTLY 1920] height=[MeasureSpec: EXACTLY 1080]
01-25 20:51:12.792  10436-10436/com.example.lgorse.cineios_test D/AspectFrameLayout﹕ aspect ratio is good (target=1.7777777777777777, view=1920x1080)
01-25 20:51:13.422  10436-10494/com.example.lgorse.cineios_test E/BufferQueue﹕ [unnamed-10436-0] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=5 undequeudCount=1)
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test I/Muxer﹕ Created muxer for output: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ init
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ initializing output_fmt_context ...
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _init_output_fmt_context format: flv path: rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->name: flv
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->long_name: FLV (Flash Video)
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->mime_type: video/x-flv
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->extensions: flv
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->audio_codec: 86018
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->video_codec: 28
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->subtitle_codec: 0
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ fmt->flags: 132160
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ adding video stream ...
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->name: h264
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->long_name: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->type: 0
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->id: 28
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->capabilities: 12322
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _add_stream at index 0
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream: using separate headers
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream st: 0x77a88d90
01-25 20:51:18.282  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ adding audio stream ...
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->name: aac
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->long_name: AAC (Advanced Audio Coding)
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->type: 1
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->id: 86018
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ codec->capabilities: 1026
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test I/ffmpegbridge﹕ _add_stream at index 1
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream: using separate headers
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ _add_stream st: 0x77a89940
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ opening output url ...
01-25 20:51:18.292  10436-10436/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Opening output file for writing at path rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ logging (dumping) output_fmt_ctx log ...
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ Output #0, flv, to 'rtmp://publish-sfo1.cine.io/live/Xys3zNuX?rock13':
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ Stream #0:0
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 0, 0/0
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ : Video: h264, yuv420p, 1280x720, q=2-31, 1500 kb/s
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 15 tbc
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ [ 01-25 20:51:18.652 10436:10436 D/ffmpegbridge ]
    Stream #0:1
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ , 0, 0/0
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ : Audio: aac, 44100 Hz, 1 channels, s16, 128 kb/s
01-25 20:51:18.652  10436-10436/com.example.lgorse.cineios_test D/ffmpegbridge﹕ [ 01-25 20:51:18.652 10436:11153 D/FFmpegMuxer ]
    Starting looper
01-25 20:51:18.652  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ setting mHandler
01-25 20:51:18.652  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ setting mHandler to: Handler (io.cine.android.streaming.FFmpegMuxer$FFmpegHandler) {42b12c10}
01-25 20:51:18.672  10436-10436/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-25 20:51:18.672  10436-10436/com.example.lgorse.cineios_test I/ACodec﹕ [] Now uninitialized
01-25 20:51:18.672  10436-11157/com.example.lgorse.cineios_test I/OMXClient﹕ Using client-side OMX mux.
01-25 20:51:18.692  10436-11157/com.example.lgorse.cineios_test E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
01-25 20:51:18.762  10436-11157/com.example.lgorse.cineios_test W/linker﹕ libsxqk.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-25 20:51:18.762  10436-11157/com.example.lgorse.cineios_test W/linker﹕ libarac.so has text relocations. This is wasting memory and is a security risk. Please fix.
01-25 20:51:18.792  10436-11157/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Loaded
01-25 20:51:18.792  10436-11157/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Loaded->Idle
01-25 20:51:18.792  10436-11157/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Idle->Executing
01-25 20:51:18.792  10436-11157/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.google.aac.encoder] Now Executing
01-25 20:51:18.792  10436-11161/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-25 20:51:18.792  10436-11161/com.example.lgorse.cineios_test D/AudioEncoderConfig﹕ SETTING CHANNEL MONO
01-25 20:51:18.802  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ changeRecordingState: was false now true
01-25 20:51:18.802  10436-10436/com.example.lgorse.cineios_test I/Choreographer﹕ Skipped 30 frames!  The application may be doing too much work on its main thread.
01-25 20:51:18.822  10436-10632/com.example.lgorse.cineios_test D/CameraSurfaceRenderer﹕ START recording
01-25 20:51:18.822  10436-10632/com.example.lgorse.cineios_test D/TextureMovieEncoder﹕ Encoder: startRecording()
01-25 20:51:18.822  10436-11165/com.example.lgorse.cineios_test D/TextureMovieEncoder﹕ handleStartRecording io.cine.android.streaming.FFmpegMuxer@42ae0030' ctxt=android.opengl.EGLContext@7b4bb8f0
01-25 20:51:18.822  10436-11165/com.example.lgorse.cineios_test I/ACodec﹕ [] Now uninitialized
01-25 20:51:18.832  10436-11167/com.example.lgorse.cineios_test I/OMXClient﹕ Using client-side OMX mux.
01-25 20:51:18.922  10436-11161/com.example.lgorse.cineios_test D/AndroidEncoder﹕ ADDED TRACK INDEX: 1 io.cine.android.streaming.AudioEncoderCore
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ AUDIO CONFIG LENGTH: 2
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ setAudioCodecExtraData
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_type: 1
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_id: 86018
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_tag: 0
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->stream_codec_tag: 0
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags: 4194304
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags2: 0
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->extradata_size: 2
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x12
01-25 20:51:18.922  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x8
01-25 20:51:18.922  10436-11167/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Loaded
01-25 20:51:18.922  10436-11167/com.example.lgorse.cineios_test E/ACodec﹕ [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -2147483648
01-25 20:51:18.922  10436-11167/com.example.lgorse.cineios_test I/ACodec﹕ setupVideoEncoder succeeded
01-25 20:51:18.922  10436-11167/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Loaded->Idle
01-25 20:51:18.942  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:18.952  10436-11167/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Idle->Executing
01-25 20:51:18.952  10436-11167/com.example.lgorse.cineios_test I/ACodec﹕ [OMX.qcom.video.encoder.avc] Now Executing
01-25 20:51:18.962  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:18.962  10436-11165/com.example.lgorse.cineios_test D/GlUtil﹕ EGLContext created, client version 2
01-25 20:51:18.972  10436-11165/com.example.lgorse.cineios_test D/GlUtil﹕ Created program 6 (TEXTURE_EXT)
01-25 20:51:18.972  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:18.992  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:19.022  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:19.032  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:19.052  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:19.092  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ RECEIVED AUDIO DATA NOT ALL TRACKS ADDED
01-25 20:51:19.122  10436-11165/com.example.lgorse.cineios_test D/AndroidEncoder﹕ ADDED TRACK INDEX: 0 io.cine.android.streaming.VideoEncoderCore
01-25 20:51:19.122  10436-11153/com.example.lgorse.cineios_test D/FFmpegMuxer﹕ Capture SPS + PPS
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ setVideoCodecExtraData
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_type: 0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_id: 28
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->codec_tag: 0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->stream_codec_tag: 0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags: 4194304
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->flags2: 0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ br_ctx->audio_stream->codec->extradata_size: 25
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x67
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x42
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x80
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1f
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xda
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x40
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x16
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xe8
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x6
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xd0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xa1
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x35
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x0
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x1
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x68
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xce
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0x6
01-25 20:51:19.142  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ >codec->extradata byte: 0xe2
01-25 20:51:19.172  10436-10445/com.example.lgorse.cineios_test D/ffmpegbridge﹕ finalize
01-25 20:51:19.172  10436-10445/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Writing trailer ...
01-25 20:51:19.172  10436-10445/com.example.lgorse.cineios_test A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 10445 (FinalizerDaemon)
01-25 20:51:19.172  10436-11165/com.example.lgorse.cineios_test D/dalvikvm﹕ GC_FOR_ALLOC freed 1279K, 13% free 23099K/26368K, paused 30ms, total 32ms
01-25 20:51:19.172  10436-11165/com.example.lgorse.cineios_test I/dalvikvm-heap﹕ Grow heap (frag case) to 27.251MB for 1413136-byte allocation
01-25 20:51:19.172  10436-11153/com.example.lgorse.cineios_test D/ffmpegbridge﹕ writeHeader
01-25 20:51:19.172  10436-11153/com.example.lgorse.cineios_test I/ffmpegbridge﹕ Writing header ...
lgorse commented 9 years ago

OK I've been playing with the app and the error does still occur. Recurring patterns:

Always the cause appears to be some issue with landscape mode - there is never a problem with portrait mode.

I'm not sure I'm able to get to the bottom of this - you guys may be able to locate the bug more easily than me. Also do give a holler if you need more info from me or if you're not able to reproduce.

Finally, the error line:

01-25 20:51:19.172  10436-10445/com.example.lgorse.cineios_test A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 10445 (FinalizerDaemon)

either ends with (FinalizerDaemon) or with (FFmpeg). I haven't yet detected the pattern of when it states one vs the other.

Really hope this is helpful!

lgorse commented 9 years ago

Daily bug report: I havent' encountered the bug at all today. I'm sure it's a bummer to hear reports of a mystery bug like that - but I'll keep track of this as I play around with the app.

The only change I can detect is that I'm not running the repo from which I initiated the pull request you have outstanding. Nothing brilliant in it, though.

lgorse commented 9 years ago

Daily bug report: opened the app and tested multiple times today and have not encountered this bug. Will give it through the weekend, when i will really intensify usage, and close if nothing more shows up

lgorse commented 9 years ago

Daily bug report: the error does not reappear due to opening/closing the app as it did before (I'm playing with a Twitter stack that is causing it to appear but presumably this is different)