Converts only 5 seconds of a 17 second Security camera DAV clip

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
vayhinger1
Posts: 1
Joined: Thu Mar 25, 2021 1:57 am

Converts only 5 seconds of a 17 second Security camera DAV clip

Post by vayhinger1 »

Downloaded a 17 second clip off of my Lorex Security Camera box in DAV format (Only format it will give me). Ran it through HandBrake with normal settings and MP4 output format. But it only outputs 5 seconds of video, instead of the 17 seconds it should be. :

HandBrake version 1.3.3 (2020061300) :

Operating system and version Microsoft Windows 10 Home x64bit :

HandBrake Activity Log ***required***

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD Ryzen 7 2700X Eight-Core Processor         
Ram: 16315 MB, 
GPU Information:
  NVIDIA GeForce GTX 1080 - 27.21.14.6079
Screen: 1920x1080
Temp Dir: C:\Users\vayhi\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\vayhi\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[06:55:15] base preset: Fast 1080p30 (Modified)
[18:55:15] hb_init: starting libhb thread
[18:55:15] Starting work at: Wed Mar 24 18:55:15 2021
[18:55:15] 1 job(s) to process
[18:55:15] json job:
{
  "Audio": {
    "AudioList": [],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": false,
    "File": "C:\\Users\\vayhi\\Desktop\\Lorex Clips\\D241a8 Ch8 Main 20210324163152 20210324163215-1-1.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/1800000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\vayhi\\Desktop\\Lorex Clips\\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:55:15] CPU:
[18:55:15]  - logical processor count: 16
[18:55:15] Intel Quick Sync Video support: no
[18:55:15] hb_scan: path=C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v\) failed
[18:55:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:55:15] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2021-03-25T01:52:25.000000Z
    encoder         : HandBrake 1.3.3 2020061300
  Duration: 00:00:03.71, start: 0.000000, bitrate: 2550 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2575 kb/s, 15 fps, 15 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2021-03-25T01:52:25.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 1 kb/s (default)
    Metadata:
      creation_time   : 2021-03-25T01:52:25.000000Z
      handler_name    : Mono
      title           : Mono
[18:55:15] scan: decoding previews for title 1
[18:55:15] scan: audio 0x1: aac, rate=8000Hz, bitrate=1023 Unknown (AAC LC) (1.0 ch) (1 kbps)
[18:55:16] scan: 10 previews, 1920x1080, 15.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:55:16] scan: supported video decoders: avcodec qsv
[18:55:16] libhb: scan thread found 1 valid title(s)
[18:55:16] Skipping subtitle scan.  No suitable subtitle tracks.
[18:55:16] Starting Task: Encoding Pass
[18:55:16] Skipping crop/scale filter
[18:55:16] job configuration:
[18:55:16]  * source
[18:55:16]    + C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1.m4v
[18:55:16]    + title 1, chapter(s) 1 to 1
[18:55:16]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:55:16]    + data rate: 2550 kbps
[18:55:16]  * destination
[18:55:16]    + C:\Users\vayhi\Desktop\Lorex Clips\D241a8 Ch8 Main 20210324163152 20210324163215-1-1.mp4
[18:55:16]    + container: MPEG-4 (libavformat)
[18:55:16]  * video track
[18:55:16]    + decoder: h264
[18:55:16]      + bitrate 2575 kbps
[18:55:16]    + filters
[18:55:16]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:55:16]      + Decomb (mode=39)
[18:55:16]      + Framerate Shaper (mode=2:rate=27000000/1800000)
[18:55:16]        + frame rate: 15.000 fps -> peak rate limited to 15.000 fps
[18:55:16]    + Output geometry
[18:55:16]      + storage dimensions: 1920 x 1080
[18:55:16]      + pixel aspect ratio: 1 : 1
[18:55:16]      + display dimensions: 1920 x 1080
[18:55:16]    + encoder: H.264 (libx264)
[18:55:16]      + preset:  fast
[18:55:16]      + profile: main
[18:55:16]      + level:   4.0
[18:55:16]      + quality: 22.00 (RF)
[18:55:16]      + color profile: 1-1-1
[18:55:16] sync: expecting 55 video frames
[18:55:16] encx264: min-keyint: 15, keyint: 150
[18:55:16] encx264: encoding at constant RF 22.000000
[18:55:16] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[18:55:16] sync: first pts video is 0
[18:55:16] sync: Chapter 1 at frame 1 time 0
[18:55:16] reader: done. 1 scr changes
[18:55:17] work: average encoding speed for job is 0.000000 fps
[18:55:17] comb detect: heavy 0 | light 0 | uncombed 55 | total 55
[18:55:17] decomb: deinterlaced 0 | blended 0 | unfiltered 55 | total 55
[18:55:17] vfr: 55 frames output, 0 dropped and 0 duped for CFR/PFR
[18:55:17] vfr: lost time: 0 (0 frames)
[18:55:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:55:17] h264-decoder done: 55 frames, 0 decoder errors
[18:55:17] sync: got 55 frames, 55 expected
[18:55:17] sync: framerate min 15.000 fps, max 15.000 fps, avg 15.000 fps
x264 [info]: frame I:1     Avg QP:16.74  size:325051
x264 [info]: frame P:22    Avg QP:18.07  size: 30798
x264 [info]: frame B:32    Avg QP:22.16  size:  3919
x264 [info]: consecutive B-frames:  3.6% 54.5%  5.5% 36.4%
x264 [info]: mb I  I16..4:  9.8%  0.0% 90.2%
x264 [info]: mb P  I16..4:  0.8%  0.0%  1.2%  P16..4: 27.6%  8.1%  6.2%  0.0%  0.0%    skip:56.1%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.2%  B16..8:  5.9%  2.0%  0.3%  direct: 4.9%  skip:86.4%  L0:45.3% L1:45.7% BI: 9.0%
x264 [info]: coded y,uvDC,uvAC intra: 77.3% 57.9% 26.6% inter: 8.8% 12.5% 0.4%
x264 [info]: i16 v,h,dc,p: 42% 29% 15% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 19% 13%  8%  8%  7%  7%  8% 10%
x264 [info]: i8c dc,h,v,p: 49% 24% 20%  7%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 85.4% 14.6%
x264 [info]: ref B L0: 86.4% 13.6%
x264 [info]: ref B L1: 98.7%  1.3%
x264 [info]: kb/s:2461.10
[18:55:17] mux: track 0, 55 frames, 1127964 bytes, 2417.07 kbps, fifo 64
[18:55:17] Finished work at: Wed Mar 24 18:55:17 2021
[18:55:17] libhb: work result = 0

# Encode Completed ...


mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Converts only 5 seconds of a 17 second Security camera DAV clip

Post by mduell »

HB thought it had reached the end of the video stream. Video security systems are notorious for malformed output.

Also the source container says it's only 3.7 seconds of video:

Code: Select all

Duration: 00:00:03.71, start: 0.000000, bitrate: 2550 kb/s
Post Reply