Code Monkey home page Code Monkey logo

shrinkwrap's People

Contributors

bennetimo avatar emilburzo avatar hugomailhot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

shrinkwrap's Issues

How do I overwrite the original files?

I would like to overwrite the original files instead of having the original and the original-tc version, so I don't have to manually delete and rename.

running on other drives

Hello, very new to coding, docker, etc but was able to run this successfully off my C: drive. Most of my media is on my D: drive, but when I run the command, it scans the directory but no files and ends up complete. Any ideas here? thank you

Incompatible pixel format 'yuvj420p' for codec 'libx265

I am unable to set pix_fmt=yuvj420p option (default pixel format for GoPro session )
The following message is displayed:
Incompatible pixel format 'yuvj420p' for codec 'libx265', auto-selecting format 'yuv420p'
I've tried it with newest ffmpeg version and it worked fine.

Is it possible to upgrade ffmpeg version ?

FFMPEG Error: missing picture in access unit with size 56

Firstly thank you for your post.

I am trying to use your tool to reduce the file sizes of some AVI files though I get the errors below. Admittedly I am a noob to ffmpeg so please forgive me if it is a simple solution.

# docker run --rm -v /path/to/files:/files bennetimo/shrinkwrap --input-extension avi /files/video1.avi                                                   
02:15:46.159 [main] DEBUG shrinkwrap - 
  ___ _        _      _
 / __| |_  _ _(_)_ _ | |____ __ ___ _ __ _ _ __
 \__ \ ' \| '_| | ' \| / /\ V  V / '_/ _` | '_ \
 |___/_||_|_| |_|_||_|_\_\ \_/\_/|_| \__,_| .__/
                                          |_|
    
02:15:46.168 [main] DEBUG shrinkwrap - 
Using config: 
Input Extension: avi
Output Extension: mp4
Transcode Audio: true
Transcode Video: true
Backup Metadata: false
Metadata Suffix: -metadata
Overwrite Existing Transcodes: false
Transcoded Files Suffix: -tc
Using Shrinkwrap Preset: standard
FFMpeg Additional Options: 
Input: /files/video1.avi

02:15:46.198 [main] DEBUG shrinkwrap - Shrinkwrapping file: /files/video1.avi (1/1)
02:15:46.238 [main] DEBUG shrinkwrap - Executing cmd: List(/bin/sh, -c, ffmpeg -y -noautorotate -i "/files/video1.avi" -copy_unknown  -map_metadata 0 -map 0 -codec copy -preset medium -codec:v libx264 -pix_fmt yuv420p -crf 23 -codec:a libfdk_aac -vbr 4 "/files/video1-tc.mp4")
ffmpeg version 4.0.4 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.4.0 (Alpine 6.4.0)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-postproc --enable-small --enable-version3 --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[avi @ 0x55c59148e780] sample size (2) != block align (4096)
[avi @ 0x55c59148e780] non-interleaved AVI
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
[h264 @ 0x55c5914a1ac0] No start code is found.
[h264 @ 0x55c5914a1ac0] Error splitting the input into NAL units.
[h264 @ 0x55c5914a1ac0] missing picture in access unit with size 56
    Last message repeated 68 times
[avi @ 0x55c59148e780] Could not find codec parameters for stream 1 (Audio: none ([172][10][0][0] / 0x0AAC), 16000 Hz, 1 channels, 256 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from '/files/video1.avi':
  Metadata:
    VGN0            : Living Room
    VGT0            : ?q??w?
    VGT1            : ?
                    : ??w?
  Duration: 00:05:01.50, start: 0.000000, bitrate: 2188 kb/s
    Stream #0:0: Video: h264 (q264 / 0x34363271), yuv420p(progressive), 2048x1536, 2114 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
    Stream #0:1: Audio: none ([172][10][0][0] / 0x0AAC), 16000 Hz, mono, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (? (?) -> aac (libfdk_aac))
Decoder (codec none) not found for input stream #0:1
02:15:50.412 [main] ERROR shrinkwrap - Encountered a problem. Exiting shrinkwrap for safety

ffmpeg options not all translated

Hi,

I have a file with an mjpeg stream. When I try to use shrinkwrap to convert the file, ffmpeg doesn't like that stream, and I get an error. Searching the web, I found the most common way to have ffmpeg ignore that stream was to include the following options: -map 0 -map -v -map V (see here). I tried doing that with this shrinkwrap command:

docker run -v /mnt/storage/downloads/convert:/files bennetimo/shrinkwrap:latest
--input-extension mp4 --ffmpeg-opts preset=veryfast,vsync=2,map=0,map=v,map=V --preset standard /files

When I run the above, this is in the log:

19:16:47.844 [main] DEBUG shrinkwrap - Executing cmd: List(/bin/sh, -c, ffmpeg -y -noautorotate -i "/files/Jericho (2006) - S01E01 - Pilot - The First Seventeen Hours.mp4" -copy_unknown -map_metadata 0 -codec copy -codec:vlibx264 -pix_fmt yuv420p -crf 23 -codec:a libfdk_aac -vbr 4 -preset veryfast -vsync 2 -map V "/files/Jericho (2006) - S01E01 - Pilot - The First Seventeen Hours-tc.mp4")

Note only the last map command (-map V) is included.

The command runs successfully, but only the video stream is included. No audio.

Honestly, I've never been good with ffmpeg, so I may be dong something wrong. I tried to have a look at your code to see if I could figure it out myself, but I'm not familiar with scala!

I'd appreciate any help you can give me.

Thanks!

Error: Not a valid MOV

I tried to use shrinkwrap to shrink some large video files from my iCloud library.

Unfortunately I ended up with this error:

$ docker run -v /some/path:/vids bennetimo/shrinkwrap \
    --input-extension mp4 --ffmpeg-opts crf=22,preset=fast /vids
20:04:45.230 [main] DEBUG shrinkwrap -
  ___ _        _      _
 / __| |_  _ _(_)_ _ | |____ __ ___ _ __ _ _ __
 \__ \ ' \| '_| | ' \| / /\ V  V / '_/ _` | '_ \
 |___/_||_|_| |_|_||_|_\_\ \_/\_/|_| \__,_| .__/
                                          |_|

20:04:45.234 [main] DEBUG shrinkwrap -
Using config:
Input Extension: mp4
Output Extension: mp4
Transcode Audio: true
Transcode Video: true
Backup Metadata: false
Metadata Suffix: -metadata
Overwrite Existing Transcodes: false
Transcoded Files Suffix: -tc
Using Shrinkwrap Preset: standard
FFMpeg Additional Options: -crf 22 -preset fast
Input: /vids

20:04:45.266 [main] DEBUG shrinkwrap - Shrinkwrapping file: /vids/IMG_0550.mp4 (1/2)
20:04:45.277 [main] DEBUG shrinkwrap - Executing cmd: List(/bin/sh, -c, ffmpeg -y -noautorotate -i "/vids/IMG_0550.mp4" -copy_unknown  -map_metadata 0 -map 0 -codec copy -codec:v libx264 -pix_fmt yuv420p -codec:a libfdk_aac -vbr 4 -crf 22 -preset fast "/vids/IMG_0550-tc.mp4")
ffmpeg version 4.0.4 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.4.0 (Alpine 6.4.0)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-postproc --enable-small --enable-version3 --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/vids/IMG_0550.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2015-10-25T02:36:25.000000Z
    date            : 2015-10-25T02:37:24Z
    date-eng        : 2015-10-25T02:37:24Z
  Duration: 00:00:53.45, start: 0.000000, bitrate: 10609 kb/s
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 10504 kb/s, 30.01 fps, 30 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2015-10-25T02:36:25.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 98 kb/s (default)
    Metadata:
      creation_time   : 2015-10-25T02:36:25.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libx264 @ 0x55a08cca8540] using SAR=1/1
[libx264 @ 0x55a08cca8540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x55a08cca8540] profile High, level 3.1
[libx264 @ 0x55a08cca8540] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libfdk_aac @ 0x55a08ccaa3c0] Note, the VBR setting is unsupported and only works with some parameter combinations
Output #0, mp4, to '/vids/IMG_0550-tc.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2015-10-25T02:36:25.000000Z
    date            : 2015-10-25T02:37:24Z
    date-eng        : 2015-10-25T02:37:24Z
    encoder         : Lavf58.12.100
    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
    Metadata:
      creation_time   : 2015-10-25T02:36:25.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(und): Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 44100 Hz, mono, s16 (default)
    Metadata:
      creation_time   : 2015-10-25T02:36:25.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.18.100 libfdk_aac
frame= 1605 fps= 24 q=-1.0 Lsize=   32893kB time=00:00:53.45 bitrate=5041.1kbits/s dup=1 drop=0 speed=0.785x
video:32310kB audio:510kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.221778%
[libx264 @ 0x55a08cca8540] frame I:11    Avg QP:21.40  size: 56477
[libx264 @ 0x55a08cca8540] frame P:446   Avg QP:23.86  size: 32012
[libx264 @ 0x55a08cca8540] frame B:1148  Avg QP:25.59  size: 15842
[libx264 @ 0x55a08cca8540] consecutive B-frames:  4.2%  0.4%  2.4% 93.0%
[libx264 @ 0x55a08cca8540] mb I  I16..4: 14.7% 67.9% 17.4%
[libx264 @ 0x55a08cca8540] mb P  I16..4:  4.6% 18.9%  2.2%  P16..4: 45.5% 18.7%  8.6%  0.0%  0.0%    skip: 1.5%
[libx264 @ 0x55a08cca8540] mb B  I16..4:  4.1%  6.3%  0.2%  B16..8: 36.3%  7.8%  0.2%  direct:33.8%  skip:11.3%  L0:51.5% L1:41.7% BI: 6.7%
[libx264 @ 0x55a08cca8540] 8x8 transform intra:66.3% inter:56.3%
[libx264 @ 0x55a08cca8540] coded y,uvDC,uvAC intra: 53.9% 95.2% 78.7% inter: 19.7% 77.8% 36.4%
[libx264 @ 0x55a08cca8540] i16 v,h,dc,p: 23% 16% 24% 37%
[libx264 @ 0x55a08cca8540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 24%  7%  9%  8%  9%  7%  6%
[libx264 @ 0x55a08cca8540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 17% 15%  6% 14%  8% 10%  6%  4%
[libx264 @ 0x55a08cca8540] i8c dc,h,v,p: 61% 18% 12%  9%
[libx264 @ 0x55a08cca8540] Weighted P-Frames: Y:5.8% UV:2.7%
[libx264 @ 0x55a08cca8540] ref P L0: 66.7% 33.3%
[libx264 @ 0x55a08cca8540] ref B L0: 87.8% 12.2%
[libx264 @ 0x55a08cca8540] ref B L1: 97.3%  2.7%
[libx264 @ 0x55a08cca8540] kb/s:4947.26
20:05:53.571 [main] DEBUG shrinkwrap - Executing cmd: List(/bin/sh, -c, exiftool -tagsfromfile "/vids/IMG_0550.mp4" -extractEmbedded -all:all \
       -"*gps*" -time:all --FileAccessDate --FileInodeChangeDate -FileModifyDate \
       -ext mp4 -overwrite_original "/vids/IMG_0550-tc.mp4")
    0 image files updated
    1 files weren't updated due to errors
Error: Not a valid MOV - /vids/IMG_0550-tc.mp4
20:05:54.361 [main] ERROR shrinkwrap - Encountered a problem. Exiting shrinkwrap for safety

Basically I just tried your tool with the code snippet provided in your blog post.

I tried it another time with an .mov file located in the input directory but it ended up with the same Error: Not a valid MOV error.

The output files ending in -tc.mp4 which are located in the directory after shrinkwrap ends with this error can not be played by QuickTime Player nor by VLC.

Do you have an idea what is going wrong here?

Thank's in advance!

Wrong metadata make all videos look like they are created on 1st of Jan 1970

Awesome tool, really a big thanks to you !

What's wrong

There is a mistake in the metadata of the newly created files. You can see it on a Windows machine :

Capture d’écran 2023-11-14 175502

As you can see there is a "Media created at" property on transcoded files that is wrongly set. This causes any phots management app like the Windows Photos app to be totally lost with those files :

Capture d’écran 2023-11-14 175249

How to solve the bug

Keep the right "Media created at" prop

How did I get there

I simply ran the README docker command on my MP4 and MOV files, on my Ubuntu 22, three days ago.

Output Folder or File

Could we have a different output folder (maybe even Files/tc) or a prefix instead of suffix?
THis would make a lot easier to cull off the original after compression.
Thanks Erik

When I specify folder containing videos I get docker: invalid reference format.

I am using a windows system and installed docker and it's working fine.

I tried this command docker run -v /path/to/your/files:/files bennetimo/shrinkwrap \ /files and it worked I saw shrinkwrap doing it's thing. Then I tried change /path/to/your/files to the actual path where I have my videos which is D:\Videos hence ended up with this command: docker run -v D:\Videos:/files bennetimo/shrinkwrap \ /files and got this docker: invalid reference format.

I am thinking that it might be something related to \ / windows vs linux thing but I am totally lost. Can you please help?

How to limit the number of threads/cores used?

I've been using shrinkwrap a lot. It's a true life-saver.

However when I use it my computer becomes unusable for a long time, since I need to transcode tens of gigs of footage, which takes hours, and all cores are leveraged for parallel processing.

image

^ Easily 6-10 hours or this per motorcycle ride!

Ideally I'd like to be able to dedicate a custom amount of cores to transcoding in the background, while I go about my other tasks without sacrificing too much CPU resources.

I looked into ffmpeg options I could pass to --ffmpeg-opts, tried things I don't really understand but had the word threads in them, such as filter_threads=4, but I still see all cores being used.

Am I missing something?

Converting Hero10 video with Hero7 preset drops error

I tried using the gopro7 preset to convert a Hero10 Video.
This produces the following output:

docker run -v /mnt/c/Users/abc/Desktop/GoPro\ Testfile/test:/files bennetimo/shrinkwrap --input-extension MP4 --preset gopro7 /files
13:08:33.971 [main] DEBUG shrinkwrap -
  ___ _        _      _
 / __| |_  _ _(_)_ _ | |____ __ ___ _ __ _ _ __
 \__ \ ' \| '_| | ' \| / /\ V  V / '_/ _` | '_ \
 |___/_||_|_| |_|_||_|_\_\ \_/\_/|_| \__,_| .__/
                                          |_|

13:08:33.982 [main] DEBUG shrinkwrap -
Using config:
Input Extension: MP4
Output Extension: mp4
Transcode Audio: true
Transcode Video: true
Backup Metadata: false
Metadata Suffix: -metadata
Overwrite Existing Transcodes: false
Transcoded Files Suffix: -tc
Using Shrinkwrap Preset: gopro7
FFMpeg Additional Options:
Input: /files

13:08:34.013 [main] DEBUG shrinkwrap - Shrinkwrapping file: /files/GX010718.MP4 (1/1)
13:08:34.015 [main] DEBUG shrinkwrap - Executing cmd: List(/bin/sh, -c, ffmpeg -y -noautorotate -i "/files/GX010718.MP4" -copy_unknown  -map_metadata 0 -codec copy -preset medium -map 0:v  -map 0:a  -map 0:m:handler_name:'
                                                                                                      GoPro TCD  '  -map 0:m:handler_name:'
                   GoPro SOS  '  -map 0:m:handler_name:'
                                                        GoPro MET  '?  -tag:d:1 'gpmd' -tag:d:2 'gpmd' -metadata:s:v: handler='GoPro AVC' -metadata:s:a: handler='GoPro AAC' -metadata:s:d:0 handler='GoPro TCD ' -metadata:s:d:2 handler='GoPro SOS (original fdsc stream)' -metadata:s:d:1 handler='GoPro MET' -codec:v libx264 -crf 23 -pix_fmt yuvj420p "/files/GX010718-tc.mp4")
ffmpeg version 4.0.4 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.4.0 (Alpine 6.4.0)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-postproc --enable-small --enable-version3 --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/files/GX010718.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2022-08-31T10:28:53.000000Z
    firmware        : H21.01.01.46.00
  Duration: 00:00:10.97, start: 0.000000, bitrate: 60114 kb/s
    Stream #0:0(eng): Video: hevc (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59809 kb/s, 100 fps, 100 tbr, 90k tbn, 100 tbc (default)
    Metadata:
      creation_time   : 2022-08-31T10:28:53.000000Z
      handler_name    : GoPro H.265
      encoder         : GoPro H.265 encoder
      timecode        : 10:28:53:07
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2022-08-31T10:28:53.000000Z
      handler_name    : GoPro AAC
      timecode        : 10:28:53:07
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2022-08-31T10:28:53.000000Z
      handler_name    : GoPro TCD
      timecode        : 10:28:53:07
    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 65 kb/s (default)
    Metadata:
      creation_time   : 2022-08-31T10:28:53.000000Z
      handler_name    : GoPro MET
Stream map '0:m:handler_name:
                             GoPro SOS  ' matches no streams.
To ignore this, add a trailing '?' to the map.
13:08:34.069 [main] ERROR shrinkwrap - Encountered a problem. Exiting shrinkwrap for safety

It seems there is a Problem with the additional Stream - maybe the suggested ? could be added?

I tried solving the problem manually, using the great Blogpost, but i didnt succeed.

My testfile and a screenshot of the GoPro videomode settings can be found here (can't upload videos here):
https://drive.google.com/drive/folders/1w2kv_mdorf_0QRUtJH3jquXsnYlHrLPx?usp=sharing

It would be great if this could be fixed. Cause as i wrote - even with the great Blogost i didn't succeed. :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.