How to make awesome time-lapses from RAW photos

Discussion in 'Tips, Guides and Tutorials' started by Bezbod, Mar 2, 2017.

  1. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    Ok, then the camera string for your camera should be SJ8PRO
    Full line:
    24064000, 0, 4000, 3008, 7, 8000, 16, 4, SJ8PRO
     
    Damian Holt likes this.
  2. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    Excellent thanks @Sulev.

    I'll try it out when I get home tonight.
     
  3. Capyboppy

    Capyboppy New Member

    Joined:
    Oct 22, 2017
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    Gender:
    Female
    Hi again.

    The first time for some reason I received a exec file but no request for money. I did some Googling and found I needed the raw2dng.app. I followed a youtube video on how to use this, even though I found I had this right; but still no joy. I get the following when dragging an SJ6 Legend RAW file onto it,


    raw2dng converter GUI for OsX

    Beta ver.0.13



    2016_0521_031342_001 File Supported

    Error: This ain't a lv_rec RAW file



    Generating ProResHQ 4444 with FPS:

    *.dng: No such file or directory

    ffmpeg version 1.2.1-tessus Copyright (c) 2000-2013 the FFmpeg developers

    built on May 9 2013 21:58:14 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)

    configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect

    libavutil 52. 18.100 / 52. 18.100

    libavcodec 54. 92.100 / 54. 92.100

    libavformat 54. 63.104 / 54. 63.104

    libavdevice 54. 3.103 / 54. 3.103

    libavfilter 3. 42.103 / 3. 42.103

    libswscale 2. 2.100 / 2. 2.100

    libswresample 0. 17.102 / 0. 17.102

    libpostproc 52. 2.100 / 52. 2.100

    [image2pipe demuxer @ 0x102817000] Could not parse framerate: .

    pipe:0: Invalid argument

    Done


    Any advice appreciated.
     
  4. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    I'm assuming it's needs the correct ini file. @Sulev was very kind and managed to provide the details for the SJ8 raw files. If you can provide a raw file and it's corresponding jpg he may be able to make the ini file for the sj6 too.
     
  5. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    It seems, that there is some other problem related with raw2dng for mac. I can't help there. I never had any IOS devices, I don't know much of IOS apps.
    I suggest to use raw2nef for mac and convert your images through the NEF format.

    Edit:
    It seems, that the raw2dng app for mac is supposed to convert raw videos to dng, not photos.
    But raw2nef should definitely convert photos.
     
    Last edited: Sep 7, 2018
  6. Capyboppy

    Capyboppy New Member

    Joined:
    Oct 22, 2017
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    Gender:
    Female

    Thank you. I will try this and report back.
     
  7. Capyboppy

    Capyboppy New Member

    Joined:
    Oct 22, 2017
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    Gender:
    Female
    I have now tried again and after trying to convert I get a 'No supported files found' message. I am wondering if this is something to do with the NEF files? I found these by opposite clicking on the app to access any packages/folders. I copied them to my desktop and changed the file path to point to this location; as I did also for input and output. I did notice however, all the NEF files were Nikon and ILCE (whatever ILCE is).
     
  8. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    I think this is where the ini file is required.
     
  9. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    Try downloading the one I shared along with making the ini file the @Sulev made. If it works then you need the ini file for the sj6.
     
  10. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    If the 'No supported files found' message was shown by the converter app, then this hints, that the input files are not recognized. Maybe this app also is looking for video files? I really don't know, and can't test it by myself.
    For this converter NEF is output format. If the converter worked, and produced bunch of nef files from your raw images, then you just need a raw converter, that supports nefs (most major converters will do).
     
  11. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
  12. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    Hi, Damian.
    I was away from my computer. I checked it now and found out, that the converter from your link does not work correctly. I didn't test the dng conversion, but nef, because as a Nikon DSLR camera user I have typically nef workflow. And resulting nef has wrong colors. Seems that bit order is not correctly taken account. Possible cause is, that as this converter was first developed for SJ5000X and that had compressed data, the new version still expects compressed data, even if they are not compressed for SJ7 and SJ8.
    The resulting image converted into jpg without any adjustments:
    https://www.upload.ee/image/8917762/20180905215803_0001a.JPG
    You can't get rid of those solarized violet spots without loosing some data!

    Compare it with the unmodified output from the raw2nef:
    https://www.upload.ee/image/8913696/20180905215803_0001__2_.JPG

    Tested it with SJ5000X, and there it works ok.
    https://www.upload.ee/image/8917815/2017_0602_105812_1375.JPG
     
    Last edited: Sep 7, 2018
  13. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    @Troy the raw converter does not work fir SJ8 files either.

    @Sulev Svilponis thanks for checking.

    So it looks like there isn't a converter that currently works for SJ8 raw files
     
  14. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    raw2nef and raw2dng work ok with SJ8 files.
     
  15. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    Sorry, I meant no official converter that SJCam has. The one I posted above was meant to support the SJ8
     
  16. Troy

    Troy Administrator Staff Member

    Joined:
    Feb 28, 2017
    Messages:
    10,279
    Likes Received:
    10,083
    Trophy Points:
    1,000
    I'll see what options there are, I was told that this was supposed to support SJ8 RAW files, converting them to a more software-friendly DNG (digital negative) file.
     
  17. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    Unfortunately not. So far as there's no macOS version I'm unable to test it. @Sulev was unsucessful at getting the converter from the SJCam page to work. He has been successful at getting the other converters to work by hacking together his own ini file.
     
  18. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    This converter actually works with SJ7 and SJ8 raw files, i.e, it recognizes their image dimensions (height, width, how many bytes per row) and produces readable nef and dng files, but it interprets bitwise pixel data incorrectly. I do not know, if that misinterpretation happens in the reading process of the raw files or in the conversion process. Based on, what i see, I suspect, that the culprit is data compression. I think, that the author of this converter first created it for SJ5000X, that uses certain data packing or 12 bit per pixel on raw files. SJ7 and SJ8 use 16bit per pixel raw files. I suppose, that the author of the converter added support for SJ7 and SJ8 file sizes, but did not take into account, that there is a difference in pixel data format.
     
  19. Sulev Svilponis

    Sulev Svilponis Elite

    Joined:
    Aug 11, 2017
    Messages:
    548
    Likes Received:
    117
    Trophy Points:
    43
    Gender:
    Male
    This SJ8 raw file I got from Damian Holt has a weird property - half of the information in raw data bytes seem to be simply waste.
    Here is 10 x 10 pixel size area from one corner of the image, but the rest of the file is very similar:
    Code:
    C0 05 E0 05 E0 05 20 06 50 05 A0 05 C0 05 20 06 30 06 80 05
    90 05 00 04 10 06 30 04 50 05 E0 03 C0 05 00 04 B0 05 E0 03
    40 05 C0 05 00 06 30 06 E0 05 80 05 F0 05 E0 05 F0 05 B0 05
    70 05 00 04 70 05 D0 03 C0 05 10 04 90 05 C0 03 B0 05 E0 03
    20 06 10 06 F0 05 A0 05 90 05 A0 05 80 05 A0 05 10 06 D0 05
    B0 05 20 04 C0 05 E0 03 10 06 10 04 D0 05 10 04 80 05 F0 03
    70 05 C0 05 70 05 50 06 70 05 B0 05 D0 05 F0 05 A0 05 B0 05
    F0 05 10 04 C0 05 00 04 40 05 C0 03 90 05 00 04 80 05 E0 03
    F0 05 F0 05 C0 05 C0 05 C0 05 D0 05 E0 05 D0 05 B0 05 50 06
    90 05 E0 03 A0 05 F0 03 70 05 F0 03 B0 05 00 04 90 05 00 04
    
    You may notice, that there are columns of zeros in each byte through all the file. Those zeros carry no information! I haven't noticed this at raw files of other SJCAM models. Maybe there is some simple reasons, like the image was taken in relatively dark place.

    Here is 10 x 10 pixel size area from a SJ7 raw (random place) for comparision:
    Code:
    08 0E CC 1A 50 0E 08 1A E4 0D 60 1A 20 0E 80 1A D8 0D AC 19
    80 0D 20 1A 8C 0D FC 1A 28 0E 10 1B 90 0E AC 1B 44 0E 68 1B
    A4 0F F0 1D B8 0F 54 1D 58 10 A4 1E 30 10 34 20 90 10 0C 20
    2C 11 7C 21 B4 11 B4 21 D0 11 D8 21 08 12 40 22 1C 12 68 23
    A4 12 98 23 90 12 64 23 24 13 28 24 04 13 8C 24 AC 12 C8 23
    E4 12 74 25 98 13 20 26 74 13 EC 24 7C 13 88 25 10 13 10 26
    EC 13 1C 26 58 14 78 26 A4 13 00 26 B8 13 20 25 40 13 0C 25
    5C 12 B0 22 84 12 98 22 D4 11 B4 22 18 11 34 21 38 11 6C 20
    54 10 2C 20 84 10 D4 1F 94 10 38 20 48 11 D4 1F CC 10 54 20
    68 10 EC 1F F8 10 9C 20 04 11 9C 1F 30 11 68 20 A0 10 28 20
    
    No columns of zeros!

    Edit, I was wrong! The SJ8 raw still contains other nibbles than zeros in those columns with leading zeros. Decided to look closer at those specific spots, where SJCAM's converter gives solarised purple spots. Those spots have actually ones instead of zeros in those columns. Columns with trailing zeros have still zeros at those spots.
    But overall it confirms, that the SJCAM converter expects 12 bit per pixel data instead of 16 bit per pixel, as increase in byte value of certain color data over extent, where another nibble comes into use, does not increase brightness of that color, but changes color of that pixel.
     
    Last edited: Sep 11, 2018
  20. Damian Holt

    Damian Holt Moderator

    Joined:
    Sep 4, 2017
    Messages:
    271
    Likes Received:
    52
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Retail manager
    Location:
    Uk
    It was taken at night with the ceiling light on. I'm off tomorrow and will take a few in day time. It's meant to be cloudy tomorrow though so not sure how bright the image will be.
     
    Sulev Svilponis likes this.

Share This Page