MiniDLNA crash after copy movie file

When I copy through samba the movie file, after the end of the copy, the MiniDLNA service will end. You will find at the end of the file avi the minidlna running but in copy mp4 and mkv crashed. For example a send description of the movie files. The minidlna setting is standard. No info in log minidlna how crashed!

My config minidlna:

config minidlna 'config'
        option enabled '1'
        option port '8200'
        option interface 'br-lan'
        option friendly_name 'dgwDLNA'
        option db_dir '/var/run/minidlna'
        option log_dir '/var/log'
        option presentation_url 'http://192.168.1.1:8200'
        option serial '12345678'
        option model_number '1'
        option root_container 'B'
        list media_dir 'V,/mnt/hdd/SHARE/Multimedia/Filmy'
        list media_dir 'P,/mnt/hdd/SHARE/Multimedia/Fotky'
        list media_dir 'A,/mnt/hdd/SHARE/Multimedia/Hudba'
        option album_art_names 'Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/alb
        option inotify '1'
        option notify_interval '600'

------------ ep159.mp4
General
Complete name           : ep159.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 736 MiB
Duration                                 : 44 min 46 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 299 kb/s
Codirector                               : codirector
Production studio                        : studio
ContentType                              : Unknown Type
Writing application                      : Lavf55.33.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 44 min 46 s
Bit rate                                 : 2 000 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.087
Stream size                              : 648 MiB (88%)
Writing library                          : x264 core 148 r2699 a5e06b9
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x1:0x111 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=22 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=25 / keyint_min=13 / scenecut=0 / intra_refresh=0 / rc_lookahead=25 / rc=abr / mbtree=1 / bitrate=2000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 44 min 45 s
Bit rate mode                            : Variable
Bit rate                                 : 265 kb/s
Maximum bit rate                         : 320 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 86.2 MiB (12%)
Default                                  : Yes
Alternate group                          : 1

------------ Ako.si.vycvicit.draka.SkCz.mkv

General
Unique ID                                : 212429528848622832256532295938430700849 (0x9FD07066C56AE5ED927D3E548F8B8D31)
Complete name                            : Ako.si.vycvicit.draka.SkCz.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 6.59 GiB
Duration                                 : 1 h 37 min
Overall bit rate                         : 9 642 kb/s
Encoded date                             : UTC 2011-03-01 02:19:36
Writing application                      : mkvmerge v4.5.0 ('Speed of Light') built on Feb  1 2011 02:10:32
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 37 min
Bit rate                                 : 7 914 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.159
Stream size                              : 5.41 GiB (82%)
Writing library                          : x264 core 107 r1745 4785e8e
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 37 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 314 MiB (5%)
Language                                 : Slovak
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 37 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 314 MiB (5%)
Language                                 : Czech
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 37 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 448 MiB (7%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

This is an old bug. I have already reported it here.

Buy any Synology disk station even the cheapest one and you will get the best user experience with multimedia server.

Thank you for the message. The question is why crash minidlna only with new movie files (mkv, …) and when will the problem be solved.

I had QNAP but I canceled it and transferred it to NAS Perk.
More I trust team Turist Omnii than QNAP.

This was the big mistake!

Why do you think it? Samba max 300Mbps speed, not supported in a minidlna but a solution that QNAP has used to 100% QNAP CPU. The transition to the new kernel version was just one! Support is stopped at this time. :wink: so why not Omnia? It’s great HW.
Only info for you samba runs at 941Mbps :smile: .

1 Like

…add -r to /etc/init.d/minidlna in function
start_service() {

procd_set_param command /usr/bin/minidlna -r -S -f “$MINIDLNA_CONFIG_FILE”

}
From help:
-r forces a rescan

Change not very clean … :-(((!