PIP tutorial

edited October 2016 in RaceChrono for Android
Ciao, I recently made nice video using racechrono but one thing still missing is the Pip. If I have two videos how can I do to add the second one in the picture (Pip)? I already tried selecting the channel 2 for the second video but no way to add. The possible choice is between video 1 and video 2, not both. Is there a Tutorial? Where am I wrong?
Thanks a lot.
Giank

NDR. (both video are recorded with gopro 3 and 3+. Both added in the folder of movies, perfectly working)

Comments

  • Ok, here's short tutorial:

    1) You need Android 4.4 or later

    2) On video list (behind the round "Videos" button), click the number icon on each video file, and set the "Video channel 1" for main video and "Video channel 2" for PIP video. The channel selection is free, but this is just for sakes of the example.

    3) Tap the export button, and then "More..." button on the export form

    4) Make sure "Hardware acceleration" checkbox is enabled. PIP is not supported on software codec.

    5) Select "Video channel" and "PIP video channel" from the drop downs in the form.

    6) Start exporting

    7) Profit
  • Thanks, every time I ask for your help I feel a sucker reading the answer.. I missed that passage
  • ...may it be question of ram? May be the video are to huge (1 lap of Nürburgring around 1,86gb each).
  • At what point does it seem to fail, if you look at the steps above? Give me descriptions, screenshots etc. to figure out where you're struggling :)
  • I'm sure that everythings runs until point 6. When exporting is added to queue, is still ok . When click that button "start exporting" simply appears " failed exporting" . If you give me an email address I can send you the screenshot.
  • edited November 2016
    After it fails, can you dig up the log file for me? It's in the phone internal storage

    /Android/data/com.racechrono.pro/files/logs/video_export_log.txt (Pro) or

    /Android/data/com.racechrono.app/files/logs/video_export_log.txt (RaceChrono)
  • yes sure, here you have.
    as info in addition I can say that after many tries, I cannot understand why, instead of fail immediately now start exporting and then around half job..fails.. during the weekend I will try to do a new data logging and let's see.
    I don't understand the software compiling but seems to be an issue of codec?

    03/Nov/2016 18:03:37 Input video format: {csd-1=java.nio.ByteArrayBuffer[position=0,limit=8,capacity=8], mime=video/avc, frame-rate=25, rotation=0, rotation-degrees=0, height=960, width=1280, max-input-size=1572864, durationUs=403080000, csd-0=java.nio.ByteArrayBuffer[position=0,limit=56,capacity=56]}
    03/Nov/2016 18:03:37 Bitrate: frame height = 960
    03/Nov/2016 18:03:37 Bitrate: retry = 0
    03/Nov/2016 18:03:37 Bitrate: quality = 2
    03/Nov/2016 18:03:37 Bitrate: quality multiplier = 1.0
    03/Nov/2016 18:03:37 Bitrate: hw max = 17000000
    03/Nov/2016 18:03:37 Bitrate: retry multiplier = 1.0
    03/Nov/2016 18:03:37 Bitrate: guesstimated max = 40000000
    03/Nov/2016 18:03:37 Bitrate: brute force bitrate = 15000000
    03/Nov/2016 18:03:37 Bitrate: using bitrate = 15000000
    03/Nov/2016 18:03:37 Output video format: {height=960, width=1280, bitrate=15000000, mime=video/avc, frame-rate=25, i-frame-interval=10, color-format=2130708361}
    03/Nov/2016 18:03:37 Output audio format: {aac-profile=2, mime=audio/mp4a-latm, channel-count=2, max-input-size=1572864, isDMCMMExtractor=1, durationUs=403072000, csd-0=java.nio.ByteArrayBuffer[position=0,limit=5,capacity=5], sample-rate=48000}
    03/Nov/2016 18:03:37 Output audio format: {aac-profile=2, bitrate=128000, mime=audio/mp4a-latm, channel-count=2, sample-rate=48000}
    03/Nov/2016 18:03:37 Input video format: {csd-1=java.nio.ByteArrayBuffer[position=0,limit=8,capacity=8], mime=video/avc, frame-rate=30, rotation=0, rotation-degrees=0, height=1080, width=1920, max-input-size=1572864, durationUs=949315033, csd-0=java.nio.ByteArrayBuffer[position=0,limit=56,capacity=56]}
    03/Nov/2016 18:03:38 General failure
    03/Nov/2016 18:03:38 android.media.MediaCodec$CodecException: Error 0xfffffc03
    at android.media.MediaCodec.native_configure(Native Method)
    at android.media.MediaCodec.configure(MediaCodec.java:577)
    at o.gm.(:44)
    at o.gl.ˊ(:3097)
    at o.gr.ˊ(:123)
    at o.amo.ˊ(:255)
    at o.ana.run(:90)

    thanks a lot
  • edited November 2016
    If you export both videos channels alone as standalone video, everything works right? Or does one of them fail?

    It has codec failure when opening the PIP video, so looks like your phone hardware does not support opening two input video streams at same time ( meaning PIP does not work because of hardware limitation ). If both of the video channel export fine as standalone video then it confirms this.

    Which phone is this, brand and model? I've seen this only in few phones, like certain model of Samsung S4, but not all of them as they come with different GPUs...
  • Well, I made a check repeating the export using only the second video recorded anyway with gopro but model 3+ (mine is 3). With this video export fails always although not immediately. Telephone is a Samsung A3 model 2016 with external sd 32gb. At this point I don't want waste your time anymore. ASAP I will do a new data recording may be with a different camera on channel 2 and try again this Pip. If also in this case I will have problem I will contact you again. Anyway thanks a lot, Racechrono pro is number one!!! Ciao
  • edited November 2016
    Try lower resolution with the PIP video, maybe 720p
Sign In or Register to comment.