With NLMeans + HQDN3D it stops immediately

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Short feedback for svn7105 (2015042001), the encoding was finished now and everything is fine. I am trying now the movie where the borders have not been cut.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Unfortunately it stopped immediately with HandBrake svn7121 (2015042301) too. Here is the full log:

Code: Select all

[17:21:56] gtkgui: HandBrake svn7121 (2015042301) - Linux x86_64 - https://handbrake.fr
[17:21:56] hb_init: starting libhb thread
[17:21:56] hb_init: starting libhb thread
[17:21:56] hb_init: starting libhb thread
[17:22:13] CPU: 
[17:22:13]  - logical processor count: 8
[17:22:13] OpenCL: library not available
[17:22:13] hb_scan: path=/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts) failed
[17:22:13] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[17:22:13] dvd: not a dvd - trying as a stream/file instead
[17:22:13] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:22:14] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc850059a40] Invalid frame dimensions 0x0.
Input #0, mpegts, from '/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts':
  Duration: 00:59:00.36, start: 77335.232300, bitrate: 4896 kb/s
  Program 28400 
  Program 28401 
  Program 28402 
  Program 28403 
  Program 28404 
  Program 28405 
  Program 28406 
  Program 28407 
  Program 28408 
  Program 28419 
  Program 28420 
  Program 28421 
  Program 28422 
  Program 28423 
  Program 28424 
  Program 28428 
  Program 28429 
  Program 28430 
  Program 28431 
  Program 28432 
  Program 28433 
  Program 28434 
  Program 28435 
  Program 28437 
  Program 28438 
  Program 28439 
  Program 28440 
  Program 28441 
  Program 28442 
  Program 28443 
  Program 28444 
  Program 28445 
  Program 28446 
  Program 28448 
  Program 28449 
  Program 28450 
  Program 28452 
  Program 28453 
  Program 28454 
  Program 28455 
  Program 28456 
  Program 28457 
  Program 28461 
  Program 28462 
  Program 28463 
  Program 28465 
  Program 28466 
  Program 28467 
  Program 28468 
  Program 28469 
  Program 28470 
  Program 28471 
  Program 28472 
  Program 28475 
  Program 28476 
  Program 28477 
  Program 28478 
  Program 28479 
  Program 28480 
  Program 28481 
  Program 28482 
  Program 28483 
  Program 28486 
  Program 28487 
    Stream #0.0[0x579]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 4400 kb/s, 25 fps, 90k tbn, 50 tbc
    Stream #0.1[0x57a](deu): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.2[0x57b](mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3[0x57c](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x57e](deu): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0.5[0x57d](deu): Subtitle: dvbsub (hearing impaired)
    Stream #0.6[0x5be]: Data: [5][0][0][0] / 0x0005
    Stream #0.7[0x87b]: Data: [11][0][0][0] / 0x000B
[17:22:14] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17007
[17:22:14] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17001
[17:22:14] scan: decoding previews for title 1
[17:22:14] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:22:15] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8500fdbc0] Invalid frame dimensions 0x0.
[17:22:15] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[17:22:15] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[17:22:15] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[17:22:16] scan: 30 previews, 720x576, 25,000 fps, autocrop = 2/0/6/6, aspect 16:9, PAR 64:45
[17:22:16] libhb: scan thread found 1 valid title(s)

** (ghb:7129): WARNING **: Inhibit failed: The name org.freedesktop.PowerManagement was not provided by any .service files
[17:31:42] gtkgui: Modified Custom Preset: dvb50
[17:31:42] 1 job(s) to process
[17:31:42] CPU: 
[17:31:42]  - logical processor count: 8
[17:31:42] OpenCL: library not available
[17:31:42] hb_scan: path=/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts) failed
[17:31:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[17:31:42] dvd: not a dvd - trying as a stream/file instead
[17:31:42] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:31:43] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc848025c40] Invalid frame dimensions 0x0.
Input #0, mpegts, from '/tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts':
  Duration: 00:59:00.36, start: 77335.232300, bitrate: 4896 kb/s
  Program 28400 
  Program 28401 
  Program 28402 
  Program 28403 
  Program 28404 
  Program 28405 
  Program 28406 
  Program 28407 
  Program 28408 
  Program 28419 
  Program 28420 
  Program 28421 
  Program 28422 
  Program 28423 
  Program 28424 
  Program 28428 
  Program 28429 
  Program 28430 
  Program 28431 
  Program 28432 
  Program 28433 
  Program 28434 
  Program 28435 
  Program 28437 
  Program 28438 
  Program 28439 
  Program 28440 
  Program 28441 
  Program 28442 
  Program 28443 
  Program 28444 
  Program 28445 
  Program 28446 
  Program 28448 
  Program 28449 
  Program 28450 
  Program 28452 
  Program 28453 
  Program 28454 
  Program 28455 
  Program 28456 
  Program 28457 
  Program 28461 
  Program 28462 
  Program 28463 
  Program 28465 
  Program 28466 
  Program 28467 
  Program 28468 
  Program 28469 
  Program 28470 
  Program 28471 
  Program 28472 
  Program 28475 
  Program 28476 
  Program 28477 
  Program 28478 
  Program 28479 
  Program 28480 
  Program 28481 
  Program 28482 
  Program 28483 
  Program 28486 
  Program 28487 
    Stream #0.0[0x579]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 4400 kb/s, 25 fps, 90k tbn, 50 tbc
    Stream #0.1[0x57a](deu): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.2[0x57b](mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3[0x57c](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x57e](deu): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0.5[0x57d](deu): Subtitle: dvbsub (hearing impaired)
    Stream #0.6[0x5be]: Data: [5][0][0][0] / 0x0005
    Stream #0.7[0x87b]: Data: [11][0][0][0] / 0x000B
[17:31:43] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17007
[17:31:43] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17001
[17:31:43] scan: decoding previews for title 1
[17:31:43] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:31:44] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc8480a29c0] Invalid frame dimensions 0x0.
[17:31:44] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[17:31:44] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[17:31:44] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[17:31:45] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[17:31:45] libhb: scan thread found 1 valid title(s)
[17:31:45] starting job
[17:31:45] yadif thread started for segment 0
[17:31:45] yadif thread started for segment 1
[17:31:45] yadif thread started for segment 2
[17:31:45] yadif thread started for segment 4
[17:31:45] yadif thread started for segment 3
[17:31:45] yadif thread started for segment 5
[17:31:45] yadif thread started for segment 7
[17:31:45] decomb filter thread started for segment 0
[17:31:45] decomb filter thread started for segment 2
[17:31:45] decomb filter thread started for segment 5
[17:31:45] decomb filter thread started for segment 6
[17:31:45] decomb filter thread started for segment 3
[17:31:45] decomb check thread started for segment 2
[17:31:45] decomb filter thread started for segment 1
[17:31:45] yadif thread started for segment 6
[17:31:45] decomb filter thread started for segment 7
[17:31:45] decomb check thread started for segment 0
[17:31:45] decomb check thread started for segment 1
[17:31:45] decomb filter thread started for segment 4
[17:31:45] mask filter thread started for segment 5
[17:31:45] decomb check thread started for segment 4
[17:31:45] mask erode thread started for segment 0
[17:31:45] decomb check thread started for segment 6
[17:31:45] mask erode thread started for segment 2
[17:31:45] mask erode thread started for segment 3
[17:31:45] mask filter thread started for segment 3
[17:31:45] mask filter thread started for segment 7
[17:31:45] mask dilate thread started for segment 0
[17:31:45] mask filter thread started for segment 4
[17:31:45] mask dilate thread started for segment 4
[17:31:45] mask dilate thread started for segment 5
[17:31:45] mask dilate thread started for segment 7
[17:31:45] mask erode thread started for segment 1
[17:31:45] decomb check thread started for segment 7
[17:31:45] mask filter thread started for segment 0
[17:31:45] mask erode thread started for segment 4
[17:31:45] mask erode thread started for segment 5
[17:31:45] mask filter thread started for segment 1
[17:31:45] mask erode thread started for segment 6
[17:31:45] mask filter thread started for segment 2
[17:31:45] mask erode thread started for segment 7
[17:31:45] mask dilate thread started for segment 1
[17:31:45] mask dilate thread started for segment 2
[17:31:45] mask dilate thread started for segment 3
[17:31:45] mask filter thread started for segment 6
[17:31:45] decomb check thread started for segment 3
[17:31:45] mask dilate thread started for segment 6
[17:31:45] decomb check thread started for segment 5
[17:31:45] sync: expecting 88250 video frames
[17:31:45] work: only 1 chapter, disabling chapter markers
[17:31:45] job configuration:
[17:31:45]  * source
[17:31:45]    + /tapes/rec/duo2/movie/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts
[17:31:45]    + title 1, start 00:00:7,00 stop 00:58:56,00
[17:31:45]    + container: mpegts
[17:31:45]    + data rate: 4896 kbps
[17:31:45]  * destination
[17:31:45]    + /videos/movies/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.mkv
[17:31:45]    + container: Matroska (libavformat)
[17:31:45]  * video track
[17:31:45]    + decoder: mpeg2video
[17:31:45]      + bitrate 4400 kbps
[17:31:45]    + filters
[17:31:45]      + Decomb (default settings)
[17:31:45]      + Framerate Shaper (1:27000000:1080000)
[17:31:45]        + frame rate: 25,000 fps -> constant 25,000 fps
[17:31:45]      + Denoise (hqdn3d) (1:0.7:0.7:1:2:2)
[17:31:45]      + Crop and Scale (768:432:6:12:10:12)
[17:31:45]        + source: 720 * 576, crop (6/12/10/12): 698 * 558, scale: 768 * 432
[17:31:45]    + Output geometry
[17:31:45]      + storage dimensions: 768 x 432
[17:31:45]      + pixel aspect ratio: 1 : 1
[17:31:45]      + display dimensions: 768 x 432
[17:31:45]    + encoder: H.264 (libx264)
[17:31:45]      + preset:  medium
[17:31:45]      + tune:    film
[17:31:45]      + quality: 25,00 (RF)
[17:31:45]  * audio track 1
[17:31:45]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[17:31:45]      + bitrate: 192 kbps, samplerate: 48000 Hz
[17:31:45]    + mixdown: Stereo
[17:31:45]    + encoder: AAC (libavcodec)
[17:31:45]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:31:45] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[17:31:46] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fc84401bea0] Invalid frame dimensions 0x0.
[17:31:46] encx264: encoding at constant RF 25,000000
[17:31:46] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
[17:31:46] reader: done. 1 scr changes
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.0
[17:31:46] work: average encoding speed for job is 0,000000 fps
[17:31:46] sync: got 0 frames, 88250 expected
[17:31:46] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[17:31:46] render: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[17:31:46] render: lost time: 0 (0 frames)
[17:31:46] render: gained time: 0 (0 frames) (0 not accounted for)
[17:31:46] mpeg2video-decoder done: 0 frames, 0 decoder errors, 0 drops
[17:31:46] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[17:31:46] mux: track 0, 0 frames, 0 bytes, 0,00 kbps, fifo 8
[17:31:46] mux: track 1, 0 frames, 0 bytes, 0,00 kbps, fifo 8
[17:31:46] libhb: work result = 0
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by JohnAStebbins »

This just appears to be some sort of problem reading your source file. How big is it? Can you share it? Since it is a transport stream, it can be cut pretty much anywhere if you need to cut it to make a smaller sample.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

My upload is slow, I will come back, when it is done. I think you should see the whole file, not split by a tool which could change things, which are important.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Upload is still going on, but i found out the following:

Code: Select all

mkvmerge -o 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden.mkv 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden.ts 
mkvmerge v6.7.0 ('Back to the Ground') 64bit gebaut am Jan  9 2014 18:03:17
Fehler: Es wurde ein B-Frame ohne zweites Referenzbild innerhalb einer nicht geschlossenen Bildgruppe gefunden. Bitte diesen Fehler im MPEG2-Videostrom beheben und danach erneut versuchen, ihn zu muxen.
I try to translate it: A b-frame without a 2nd reference-picture was found within a not closed picture group. In the last time handbrake could handle this error normally. Please correct this error in the mpeg2-video-stream and try again to mux it.

Code: Select all

avconv -i 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden.ts -c copy 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden-AVCONVCOPY.ts rden.ts -c copy 20150423\ 1101\ -\ ARD-alpha\ -\avconv version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
  built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[mpeg2video @ 0x7b7480] mpeg_decode_postinit() failure
    Last message repeated 8 times
[mpegts @ 0x794020] max_analyze_duration reached
[NULL @ 0x7bc060] start time is not set in estimate_timings_from_pts
[NULL @ 0x7d37e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x7fc260] start time is not set in estimate_timings_from_pts
[mpegts @ 0x794020] PES packet size mismatch
    Last message repeated 3 times
Guessed Channel Layout for  Input Stream #0.1 : stereo
Guessed Channel Layout for  Input Stream #0.2 : stereo
Input #0, mpegts, from '20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts':
  Duration: 00:59:00.36, start: 77335.232300, bitrate: 4896 kb/s
  Program 28400 
  Program 28401 
  Program 28402 
  Program 28403 
  Program 28404 
  Program 28405 
  Program 28406 
  Program 28407 
  Program 28408 
  Program 28419 
  Program 28420 
  Program 28421 
  Program 28422 
  Program 28423 
  Program 28424 
  Program 28428 
  Program 28429 
  Program 28430 
  Program 28431 
  Program 28432 
  Program 28433 
  Program 28434 
  Program 28435 
  Program 28437 
  Program 28438 
  Program 28439 
  Program 28440 
  Program 28441 
  Program 28442 
  Program 28443 
  Program 28444 
  Program 28445 
  Program 28446 
  Program 28448 
  Program 28449 
  Program 28450 
  Program 28452 
  Program 28453 
  Program 28454 
  Program 28455 
  Program 28456 
  Program 28457 
  Program 28461 
  Program 28462 
  Program 28463 
  Program 28465 
  Program 28466 
  Program 28467 
  Program 28468 
  Program 28469 
  Program 28470 
  Program 28471 
  Program 28472 
  Program 28475 
  Program 28476 
  Program 28477 
  Program 28478 
  Program 28479 
  Program 28480 
  Program 28481 
  Program 28482 
  Program 28483 
  Program 28486 
  Program 28487 
    Stream #0.0[0x579]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 4400 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x57a](deu): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0.2[0x57b](mis): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0.3[0x57c](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x57e](deu): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0.5[0x57d](deu): Subtitle: dvbsub (hearing impaired)
    Stream #0.6[0x5be]: Data: [5][0][0][0] / 0x0005
    Stream #0.7[0x87b]: Data: [11][0][0][0] / 0x000B
Output #0, mpegts, to '20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden-AVCONVCOPY.ts':
  Metadata:
    encoder         : Lavf54.20.4
    Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 4400 kb/s, 90k tbn, 90k tbc
    Stream #0.1(deu): Audio: mp2, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
PES packet size mismatch1.0 size= 1758575kB time=3499.54 bitrate=4116.6kbits/s    
frame=88494 fps=3389 q=-1.0 Lsize= 1778859kB time=3540.08 bitrate=4116.4kbits/s    
video:1561827kB audio:82970kB global headers:0kB muxing overhead 8.150682%

After i copied with avconv I could copy the file in a miv-container:

Code: Select all

mkvmerge -o 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden-AVCONVCOPY.mkv 20150423\ 1101\ -\ ARD-alpha\ -\ Planet\ Wissen_\ Island\ -\ Exotik\ im\ Norden-AVCONVCOPY.ts 
mkvmerge v6.7.0 ('Back to the Ground') 64bit gebaut am Jan  9 2014 18:03:17
»20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden-AVCONVCOPY.ts«: Der Demultiplexer für das folgende Format wird benutzt: »MPEG-Transportdatenstrom«.
»20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden-AVCONVCOPY.ts« Spur 0: Das Ausgabemodul für das folgende Format wird benutzt: »MPEG-1/2«.
»20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden-AVCONVCOPY.ts« Spur 1: Das Ausgabemodul für das folgende Format wird benutzt: »MP3«.
Die Datei »20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden-AVCONVCOPY.mkv« wurde zum Schreiben geöffnet.
Fortschritt: 100%
Die Cue-Einträge (der Index) werden geschrieben …
Das Muxen dauerte 36 Sekunden.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by JohnAStebbins »

Ok, this issue is provoked by you trimming off a little from the start of the video using the "Seconds" range setting. This was a real corner case. It would only happen with a transport stream like yours that is missing the program map. When a transport stream is missing the program map, we rely on libav to probe it to determine what streams it contains and then demux it. Normally, we would get stream information from the program map and demux it ourselves.

Anyway, the code for seeking to the start time did not compensate for an initial offset in the timestamps of the stream correctly when demuxing with libav. This should be fixed in http://trac.handbrake.fr/changeset/7124
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Thanks a lot, I will do a test ASAP, probably on Sunday.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

I don't know the values anymore which I used last time, when it stopped at the beginning and the log do not show them, so I used values which could be realistic and congratulations, it works with svn7124!

Code: Select all

[00:58:46] gtkgui: HandBrake svn7124 (2015042501) - Linux x86_64 - https://handbrake.fr
[00:58:46] hb_init: starting libhb thread
[00:58:46] hb_init: starting libhb thread
[00:58:46] hb_init: starting libhb thread
[00:59:24] CPU: 
[00:59:24]  - logical processor count: 8
[00:59:24] OpenCL: library not available
[00:59:24] hb_scan: path=/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts) failed
[00:59:24] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[00:59:24] dvd: not a dvd - trying as a stream/file instead
[00:59:24] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:59:30] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f7674047560] Invalid frame dimensions 0x0.
Input #0, mpegts, from '/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts':
  Duration: 00:59:00.36, start: 77335.232300, bitrate: 4896 kb/s
  Program 28400 
  Program 28401 
  Program 28402 
  Program 28403 
  Program 28404 
  Program 28405 
  Program 28406 
  Program 28407 
  Program 28408 
  Program 28419 
  Program 28420 
  Program 28421 
  Program 28422 
  Program 28423 
  Program 28424 
  Program 28428 
  Program 28429 
  Program 28430 
  Program 28431 
  Program 28432 
  Program 28433 
  Program 28434 
  Program 28435 
  Program 28437 
  Program 28438 
  Program 28439 
  Program 28440 
  Program 28441 
  Program 28442 
  Program 28443 
  Program 28444 
  Program 28445 
  Program 28446 
  Program 28448 
  Program 28449 
  Program 28450 
  Program 28452 
  Program 28453 
  Program 28454 
  Program 28455 
  Program 28456 
  Program 28457 
  Program 28461 
  Program 28462 
  Program 28463 
  Program 28465 
  Program 28466 
  Program 28467 
  Program 28468 
  Program 28469 
  Program 28470 
  Program 28471 
  Program 28472 
  Program 28475 
  Program 28476 
  Program 28477 
  Program 28478 
  Program 28479 
  Program 28480 
  Program 28481 
  Program 28482 
  Program 28483 
  Program 28486 
  Program 28487 
    Stream #0.0[0x579]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 4400 kb/s, 25 fps, 90k tbn, 50 tbc
    Stream #0.1[0x57a](deu): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.2[0x57b](mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3[0x57c](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x57e](deu): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0.5[0x57d](deu): Subtitle: dvbsub (hearing impaired)
    Stream #0.6[0x5be]: Data: [5][0][0][0] / 0x0005
    Stream #0.7[0x87b]: Data: [11][0][0][0] / 0x000B
[00:59:30] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17007
[00:59:30] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17001
[00:59:30] scan: decoding previews for title 1
[00:59:30] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:59:31] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76740d5680] Invalid frame dimensions 0x0.
[00:59:31] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[00:59:31] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[00:59:31] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[00:59:32] scan: 30 previews, 720x576, 25,000 fps, autocrop = 2/0/6/6, aspect 16:9, PAR 64:45
[00:59:32] libhb: scan thread found 1 valid title(s)
[01:02:21] gtkgui: Modified Custom Preset: dvb50
[01:02:21] 1 job(s) to process
[01:02:21] CPU: 
[01:02:21]  - logical processor count: 8
[01:02:21] OpenCL: library not available
[01:02:21] hb_scan: path=/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts) failed
[01:02:21] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[01:02:21] dvd: not a dvd - trying as a stream/file instead
[01:02:21] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:02:22] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780262e0] Invalid frame dimensions 0x0.
Input #0, mpegts, from '/videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts':
  Duration: 00:59:00.36, start: 77335.232300, bitrate: 4896 kb/s
  Program 28400 
  Program 28401 
  Program 28402 
  Program 28403 
  Program 28404 
  Program 28405 
  Program 28406 
  Program 28407 
  Program 28408 
  Program 28419 
  Program 28420 
  Program 28421 
  Program 28422 
  Program 28423 
  Program 28424 
  Program 28428 
  Program 28429 
  Program 28430 
  Program 28431 
  Program 28432 
  Program 28433 
  Program 28434 
  Program 28435 
  Program 28437 
  Program 28438 
  Program 28439 
  Program 28440 
  Program 28441 
  Program 28442 
  Program 28443 
  Program 28444 
  Program 28445 
  Program 28446 
  Program 28448 
  Program 28449 
  Program 28450 
  Program 28452 
  Program 28453 
  Program 28454 
  Program 28455 
  Program 28456 
  Program 28457 
  Program 28461 
  Program 28462 
  Program 28463 
  Program 28465 
  Program 28466 
  Program 28467 
  Program 28468 
  Program 28469 
  Program 28470 
  Program 28471 
  Program 28472 
  Program 28475 
  Program 28476 
  Program 28477 
  Program 28478 
  Program 28479 
  Program 28480 
  Program 28481 
  Program 28482 
  Program 28483 
  Program 28486 
  Program 28487 
    Stream #0.0[0x579]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 4400 kb/s, 25 fps, 90k tbn, 50 tbc
    Stream #0.1[0x57a](deu): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.2[0x57b](mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3[0x57c](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x57e](deu): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0.5[0x57d](deu): Subtitle: dvbsub (hearing impaired)
    Stream #0.6[0x5be]: Data: [5][0][0][0] / 0x0005
    Stream #0.7[0x87b]: Data: [11][0][0][0] / 0x000B
[01:02:22] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17007
[01:02:22] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17001
[01:02:22] scan: decoding previews for title 1
[01:02:22] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:02:23] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f76780cc900] Invalid frame dimensions 0x0.
[01:02:23] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[01:02:23] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[01:02:23] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[01:02:24] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[01:02:24] libhb: scan thread found 1 valid title(s)
[01:02:24] starting job
[01:02:24] yadif thread started for segment 0
[01:02:24] yadif thread started for segment 2
[01:02:24] yadif thread started for segment 3
[01:02:24] yadif thread started for segment 1
[01:02:24] yadif thread started for segment 4
[01:02:24] decomb filter thread started for segment 1
[01:02:24] decomb filter thread started for segment 2
[01:02:24] yadif thread started for segment 7
[01:02:24] decomb filter thread started for segment 7
[01:02:24] decomb check thread started for segment 0
[01:02:24] decomb check thread started for segment 4
[01:02:24] decomb filter thread started for segment 3
[01:02:24] mask filter thread started for segment 1
[01:02:24] decomb filter thread started for segment 6
[01:02:24] mask filter thread started for segment 5
[01:02:24] mask filter thread started for segment 6
[01:02:24] decomb check thread started for segment 1
[01:02:24] decomb filter thread started for segment 0
[01:02:24] decomb check thread started for segment 2
[01:02:24] decomb check thread started for segment 3
[01:02:24] decomb check thread started for segment 5
[01:02:24] mask erode thread started for segment 7
[01:02:24] mask dilate thread started for segment 1
[01:02:24] decomb check thread started for segment 7
[01:02:24] decomb filter thread started for segment 4
[01:02:24] mask dilate thread started for segment 6
[01:02:24] mask filter thread started for segment 2
[01:02:24] mask filter thread started for segment 3
[01:02:24] mask filter thread started for segment 4
[01:02:24] yadif thread started for segment 5
[01:02:24] decomb filter thread started for segment 5
[01:02:24] mask filter thread started for segment 7
[01:02:24] mask erode thread started for segment 0
[01:02:24] mask erode thread started for segment 1
[01:02:24] mask erode thread started for segment 2
[01:02:24] mask erode thread started for segment 3
[01:02:24] mask erode thread started for segment 4
[01:02:24] mask erode thread started for segment 5
[01:02:24] yadif thread started for segment 6
[01:02:24] mask erode thread started for segment 6
[01:02:24] mask dilate thread started for segment 0
[01:02:24] decomb check thread started for segment 6
[01:02:24] mask dilate thread started for segment 2
[01:02:24] mask dilate thread started for segment 3
[01:02:24] mask dilate thread started for segment 4
[01:02:24] mask dilate thread started for segment 5
[01:02:24] mask dilate thread started for segment 7
[01:02:24] mask filter thread started for segment 0
[01:02:24] sync: expecting 3600 video frames
[01:02:24] work: only 1 chapter, disabling chapter markers
[01:02:24] job configuration:
[01:02:24]  * source
[01:02:24]    + /videos/movies/test/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.ts
[01:02:24]    + title 1, start 00:00:3,00 stop 00:02:26,00
[01:02:24]    + container: mpegts
[01:02:24]    + data rate: 4896 kbps
[01:02:24]  * destination
[01:02:24]    + /videos/movies/20150423 1101 - ARD-alpha - Planet Wissen_ Island - Exotik im Norden.mkv
[01:02:24]    + container: Matroska (libavformat)
[01:02:24]  * video track
[01:02:24]    + decoder: mpeg2video
[01:02:24]      + bitrate 4400 kbps
[01:02:24]    + filters
[01:02:24]      + Decomb (default settings)
[01:02:24]      + Framerate Shaper (1:27000000:1080000)
[01:02:24]        + frame rate: 25,000 fps -> constant 25,000 fps
[01:02:24]      + Denoise (hqdn3d) (1:0.7:0.7:1:2:2)
[01:02:24]      + Crop and Scale (768:432:2:8:6:6)
[01:02:24]        + source: 720 * 576, crop (2/8/6/6): 708 * 566, scale: 768 * 432
[01:02:24]    + Output geometry
[01:02:24]      + storage dimensions: 768 x 432
[01:02:24]      + pixel aspect ratio: 1 : 1
[01:02:24]      + display dimensions: 768 x 432
[01:02:24]    + encoder: H.264 (libx264)
[01:02:24]      + preset:  medium
[01:02:24]      + tune:    film
[01:02:24]      + quality: 25,00 (RF)
[01:02:24]  * audio track 1
[01:02:24]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[01:02:24]      + bitrate: 192 kbps, samplerate: 48000 Hz
[01:02:24]    + mixdown: Stereo
[01:02:24]    + encoder: AAC (libavcodec)
[01:02:24]      + bitrate: 160 kbps, samplerate: 48000 Hz
[01:02:24] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[01:02:25] hb_ts_stream_find_pids - end of file
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7f768439e360] Invalid frame dimensions 0x0.
[01:02:25] encx264: encoding at constant RF 25,000000
[01:02:25] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
[01:02:25] reader: first SCR 279153 id 0x1 DTS 283449
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.0
[01:02:25] sync: first pts is 62308
[01:03:02] sync: reached pts 12870000, exiting early
[01:03:03] work: average encoding speed for job is 95,488297 fps
[01:03:03] reader: done. 1 scr changes
[01:03:03] sync: got 3575 frames, 3600 expected
[01:03:03] decomb: deinterlaced 2409 | blended 205 | unfiltered 960 | total 3574
[01:03:03] render: 3574 frames output, 0 dropped and 0 duped for CFR/PFR
[01:03:03] render: lost time: 0 (0 frames)
[01:03:03] render: gained time: 0 (0 frames) (0 not accounted for)
[01:03:03] mpeg2video-decoder done: 3972 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:33    Avg QP:22,50  size: 22706
x264 [info]: frame P:1302  Avg QP:25,54  size:  5571
x264 [info]: frame B:2239  Avg QP:29,02  size:   986
x264 [info]: consecutive B-frames:  6,7% 19,3% 30,4% 43,6%
x264 [info]: mb I  I16..4: 17,8% 65,8% 16,3%
x264 [info]: mb P  I16..4:  2,0%  5,0%  0,6%  P16..4: 40,8% 13,6%  7,1%  0,0%  0,0%    skip:30,9%
x264 [info]: mb B  I16..4:  0,0%  0,1%  0,0%  B16..8: 31,4%  2,1%  0,3%  direct: 0,8%  skip:65,2%  L0:35,8% L1:57,0% BI: 7,2%
x264 [info]: 8x8 transform intra:65,7% inter:76,7%
x264 [info]: coded y,uvDC,uvAC intra: 54,2% 63,2% 24,1% inter: 10,3% 12,8% 0,8%
x264 [info]: i16 v,h,dc,p: 24% 31%  6% 38%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 18% 17%  5%  8% 11%  8%  8%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 10%  4% 13% 16%  8%  6%  4%
x264 [info]: i8c dc,h,v,p: 51% 21% 21%  8%
x264 [info]: Weighted P-Frames: Y:2,2% UV:1,2%
x264 [info]: ref P L0: 59,7% 18,7% 15,8%  5,8%  0,0%
x264 [info]: ref B L0: 90,1%  8,4%  1,5%
x264 [info]: ref B L1: 96,5%  3,5%
x264 [info]: kb/s:571,31
[01:03:03] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[01:03:03] mux: track 0, 3574 frames, 10208050 bytes, 571,24 kbps, fifo 4096
[01:03:03] mux: track 1, 6702 frames, 2867359 bytes, 160,46 kbps, fifo 8192
[01:03:03] libhb: work result = 0
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

I am sorry to tell you, that there is still a problem with the end time, which I didn't notice before, because I reduced a lot time at the end with the test before. Although I don't know, if this is beyound the handbrake coding but I will tell you more, showing logs and screenshots, after encoding has finished and I will prepare a sample, where I noticed the problem, so you can test yourself.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Please notice the total time, which vlc shows, it is 25min46sec

Image

This is the log of the ts.file, which is the original file from the dvb-recording

Code: Select all

[01:43:14] gtkgui: HandBrake svn7124 (2015042501) - Linux x86_64 - https://handbrake.fr
[01:43:14] hb_init: starting libhb thread
[01:43:14] hb_init: starting libhb thread
[01:43:14] hb_init: starting libhb thread
[01:43:27] CPU: 
[01:43:27]  - logical processor count: 8
[01:43:27] OpenCL: library not available
[01:43:27] hb_scan: path=/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv) failed
[01:43:27] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[01:43:28] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv':
  Duration: 00:25:47.79, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(fre): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(mul): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
    Stream #0.4(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
[01:43:28] scan: decoding previews for title 1
[01:43:28] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Francais (MPEG) (2.0 ch)
[01:43:28] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[01:43:28] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[01:43:28] scan: audio 0x4: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[01:43:35] scan: 30 previews, 1280x720, 50,000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[01:43:35] libhb: scan thread found 1 valid title(s)
[01:45:49] gtkgui: Modified Custom Preset: dvb50
[01:45:49] 1 job(s) to process
[01:45:49] CPU: 
[01:45:49]  - logical processor count: 8
[01:45:49] OpenCL: library not available
[01:45:49] hb_scan: path=/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv) failed
[01:45:49] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[01:45:49] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv':
  Duration: 00:25:47.79, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(fre): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(mul): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
    Stream #0.4(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
[01:45:49] scan: decoding previews for title 1
[01:45:49] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Francais (MPEG) (2.0 ch)
[01:45:49] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[01:45:49] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[01:45:49] scan: audio 0x4: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[01:45:51] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[01:45:51] libhb: scan thread found 1 valid title(s)
[01:45:51] starting job
[01:45:51] yadif thread started for segment 0
[01:45:51] yadif thread started for segment 1
[01:45:51] yadif thread started for segment 2
[01:45:51] yadif thread started for segment 3
[01:45:51] yadif thread started for segment 4
[01:45:51] yadif thread started for segment 5
[01:45:51] yadif thread started for segment 6
[01:45:51] decomb filter thread started for segment 5
[01:45:51] decomb filter thread started for segment 0
[01:45:51] decomb filter thread started for segment 1
[01:45:51] decomb filter thread started for segment 2
[01:45:51] decomb filter thread started for segment 3
[01:45:51] decomb check thread started for segment 2
[01:45:51] decomb check thread started for segment 4
[01:45:51] decomb filter thread started for segment 6
[01:45:51] decomb check thread started for segment 7
[01:45:51] mask filter thread started for segment 0
[01:45:51] mask filter thread started for segment 2
[01:45:51] decomb filter thread started for segment 7
[01:45:51] decomb check thread started for segment 0
[01:45:51] mask filter thread started for segment 4
[01:45:51] decomb filter thread started for segment 4
[01:45:51] decomb check thread started for segment 3
[01:45:51] mask erode thread started for segment 1
[01:45:51] decomb check thread started for segment 5
[01:45:51] mask erode thread started for segment 3
[01:45:51] mask erode thread started for segment 4
[01:45:51] mask filter thread started for segment 1
[01:45:51] decomb check thread started for segment 1
[01:45:51] mask dilate thread started for segment 2
[01:45:51] mask filter thread started for segment 5
[01:45:51] mask filter thread started for segment 6
[01:45:51] mask dilate thread started for segment 5
[01:45:51] mask erode thread started for segment 0
[01:45:51] yadif thread started for segment 7
[01:45:51] decomb check thread started for segment 6
[01:45:51] mask filter thread started for segment 3
[01:45:51] mask erode thread started for segment 5
[01:45:51] mask erode thread started for segment 6
[01:45:51] mask erode thread started for segment 7
[01:45:51] mask dilate thread started for segment 0
[01:45:51] mask dilate thread started for segment 1
[01:45:51] mask erode thread started for segment 2
[01:45:51] mask dilate thread started for segment 3
[01:45:51] mask dilate thread started for segment 4
[01:45:51] mask filter thread started for segment 7
[01:45:51] mask dilate thread started for segment 6
[01:45:51] mask dilate thread started for segment 7
[01:45:51] sync: expecting 75650 video frames
[01:45:51] work: only 1 chapter, disabling chapter markers
[01:45:51] job configuration:
[01:45:51]  * source
[01:45:51]    + /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv
[01:45:51]    + title 1, start 00:00:34,00 stop 00:25:46,00
[01:45:51]    + container: matroska,webm
[01:45:51]  * destination
[01:45:51]    + /videos/movies/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv
[01:45:51]    + container: Matroska (libavformat)
[01:45:51]  * video track
[01:45:51]    + decoder: h264
[01:45:51]    + filters
[01:45:51]      + Decomb (default settings)
[01:45:51]      + Framerate Shaper (1:27000000:1080000)
[01:45:51]        + frame rate: 50,000 fps -> constant 25,000 fps
[01:45:51]      + Denoise (hqdn3d) (1:0.7:0.7:1:2:2)
[01:45:51]      + Crop and Scale (1280:720:2:2:2:4)
[01:45:51]        + source: 1280 * 720, crop (2/2/2/4): 1274 * 716, scale: 1280 * 720
[01:45:51]    + Output geometry
[01:45:51]      + storage dimensions: 1280 x 720
[01:45:51]      + pixel aspect ratio: 1 : 1
[01:45:51]      + display dimensions: 1280 x 720
[01:45:51]    + encoder: H.264 (libx264)
[01:45:51]      + preset:  medium
[01:45:51]      + tune:    film
[01:45:51]      + quality: 25,00 (RF)
[01:45:51]  * audio track 1
[01:45:51]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[01:45:51]      + bitrate: 192 kbps, samplerate: 48000 Hz
[01:45:51]    + mixdown: Stereo
[01:45:51]    + encoder: AAC (libavcodec)
[01:45:51]      + bitrate: 160 kbps, samplerate: 48000 Hz
[01:45:51] encx264: encoding at constant RF 25,000000
[01:45:51] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
[01:45:51] reader: first SCR 3044790 id 0x0 DTS 3044790
x264 [info]: profile High, level 3.1
[01:45:52] sync: first pts is 16200
[02:18:37] sync: reached pts 136080270, exiting early
[02:18:37] reader: done. 1 scr changes
[02:18:38] work: average encoding speed for job is 38,458214 fps
[02:18:38] sync: got 75600 frames, 75650 expected
[02:18:38] decomb: deinterlaced 0 | blended 0 | unfiltered 75599 | total 75599
[02:18:38] render: 37800 frames output, 37799 dropped and 0 duped for CFR/PFR
[02:18:38] render: lost time: 0 (0 frames)
[02:18:38] render: gained time: 0 (0 frames) (0 not accounted for)
[02:18:39] h264-decoder done: 75698 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:240   Avg QP:21,63  size:110401
x264 [info]: frame P:15247 Avg QP:25,10  size: 15737
x264 [info]: frame B:22313 Avg QP:28,08  size:  2234
x264 [info]: consecutive B-frames:  6,0% 36,9% 26,8% 30,3%
x264 [info]: mb I  I16..4:  9,8% 68,9% 21,3%
x264 [info]: mb P  I16..4:  1,6%  2,9%  0,3%  P16..4: 41,8% 13,8%  9,8%  0,0%  0,0%    skip:29,8%
x264 [info]: mb B  I16..4:  0,0%  0,1%  0,0%  B16..8: 34,2%  1,3%  0,2%  direct: 1,2%  skip:63,0%  L0:34,3% L1:62,5% BI: 3,3%
x264 [info]: 8x8 transform intra:62,9% inter:70,9%
x264 [info]: coded y,uvDC,uvAC intra: 44,4% 55,3% 18,7% inter: 12,2% 13,6% 0,2%
x264 [info]: i16 v,h,dc,p: 24% 42% 10% 24%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 16% 35%  4%  6%  6%  7%  5%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 19% 12%  6% 10%  9%  9%  7%  7%
x264 [info]: i8c dc,h,v,p: 56% 25% 14%  5%
x264 [info]: Weighted P-Frames: Y:2,9% UV:0,8%
x264 [info]: ref P L0: 64,7% 21,1% 10,8%  3,4%  0,0%
x264 [info]: ref B L0: 94,1%  5,3%  0,6%
x264 [info]: ref B L1: 96,8%  3,2%
x264 [info]: kb/s:1673,46
[02:18:39] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[02:18:39] mux: track 0, 37800 frames, 316273917 bytes, 1673,41 kbps, fifo 2048
[02:18:39] mux: track 1, 70874 frames, 30339437 bytes, 160,53 kbps, fifo 4096
[02:18:39] libhb: work result = 0
I cut off 1 second at the end and it showed 00:25:39, there was no possibility to go to 00:25:46

Code: Select all

+ title 1, start 00:00:34,00 stop 00:25:39,00
Image

Then I created a mkv-file with mkvmerge from the original ts-file and loaded it into handbrake:

Image

Please compare the chapter time now, there is only 1 second difference compared to vlc.

This is the log of the file, which was converted to mkv from ts:

Code: Select all

[01:43:14] gtkgui: HandBrake svn7124 (2015042501) - Linux x86_64 - https://handbrake.fr
[01:43:14] hb_init: starting libhb thread
[01:43:14] hb_init: starting libhb thread
[01:43:14] hb_init: starting libhb thread
[01:43:27] CPU: 
[01:43:27]  - logical processor count: 8
[01:43:27] OpenCL: library not available
[01:43:27] hb_scan: path=/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv) failed
[01:43:27] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[01:43:28] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv':
  Duration: 00:25:47.79, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(fre): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(mul): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
    Stream #0.4(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
[01:43:28] scan: decoding previews for title 1
[01:43:28] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Francais (MPEG) (2.0 ch)
[01:43:28] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[01:43:28] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[01:43:28] scan: audio 0x4: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[01:43:35] scan: 30 previews, 1280x720, 50,000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[01:43:35] libhb: scan thread found 1 valid title(s)
[01:45:49] gtkgui: Modified Custom Preset: dvb50
[01:45:49] 1 job(s) to process
[01:45:49] CPU: 
[01:45:49]  - logical processor count: 8
[01:45:49] OpenCL: library not available
[01:45:49] hb_scan: path=/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv) failed
[01:45:49] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[01:45:49] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv':
  Duration: 00:25:47.79, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 1k tbn, 100 tbc (default)
    Stream #0.1(ger): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s (default)
    Stream #0.2(fre): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
    Stream #0.3(mul): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
    Stream #0.4(mis): Audio: mp2, 48000 Hz, 2 channels, s16p, 192 kb/s
[01:45:49] scan: decoding previews for title 1
[01:45:49] scan: audio 0x2: mp2, rate=48000Hz, bitrate=192000 Francais (MPEG) (2.0 ch)
[01:45:49] scan: audio 0x1: mp2, rate=48000Hz, bitrate=192000 Deutsch (MPEG) (2.0 ch)
[01:45:49] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[01:45:49] scan: audio 0x4: mp2, rate=48000Hz, bitrate=192000 Unknown (MPEG) (2.0 ch)
[01:45:51] scan: 10 previews, 1280x720, 50,000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[01:45:51] libhb: scan thread found 1 valid title(s)
[01:45:51] starting job
[01:45:51] yadif thread started for segment 0
[01:45:51] yadif thread started for segment 1
[01:45:51] yadif thread started for segment 2
[01:45:51] yadif thread started for segment 3
[01:45:51] yadif thread started for segment 4
[01:45:51] yadif thread started for segment 5
[01:45:51] yadif thread started for segment 6
[01:45:51] decomb filter thread started for segment 5
[01:45:51] decomb filter thread started for segment 0
[01:45:51] decomb filter thread started for segment 1
[01:45:51] decomb filter thread started for segment 2
[01:45:51] decomb filter thread started for segment 3
[01:45:51] decomb check thread started for segment 2
[01:45:51] decomb check thread started for segment 4
[01:45:51] decomb filter thread started for segment 6
[01:45:51] decomb check thread started for segment 7
[01:45:51] mask filter thread started for segment 0
[01:45:51] mask filter thread started for segment 2
[01:45:51] decomb filter thread started for segment 7
[01:45:51] decomb check thread started for segment 0
[01:45:51] mask filter thread started for segment 4
[01:45:51] decomb filter thread started for segment 4
[01:45:51] decomb check thread started for segment 3
[01:45:51] mask erode thread started for segment 1
[01:45:51] decomb check thread started for segment 5
[01:45:51] mask erode thread started for segment 3
[01:45:51] mask erode thread started for segment 4
[01:45:51] mask filter thread started for segment 1
[01:45:51] decomb check thread started for segment 1
[01:45:51] mask dilate thread started for segment 2
[01:45:51] mask filter thread started for segment 5
[01:45:51] mask filter thread started for segment 6
[01:45:51] mask dilate thread started for segment 5
[01:45:51] mask erode thread started for segment 0
[01:45:51] yadif thread started for segment 7
[01:45:51] decomb check thread started for segment 6
[01:45:51] mask filter thread started for segment 3
[01:45:51] mask erode thread started for segment 5
[01:45:51] mask erode thread started for segment 6
[01:45:51] mask erode thread started for segment 7
[01:45:51] mask dilate thread started for segment 0
[01:45:51] mask dilate thread started for segment 1
[01:45:51] mask erode thread started for segment 2
[01:45:51] mask dilate thread started for segment 3
[01:45:51] mask dilate thread started for segment 4
[01:45:51] mask filter thread started for segment 7
[01:45:51] mask dilate thread started for segment 6
[01:45:51] mask dilate thread started for segment 7
[01:45:51] sync: expecting 75650 video frames
[01:45:51] work: only 1 chapter, disabling chapter markers
[01:45:51] job configuration:
[01:45:51]  * source
[01:45:51]    + /tapes/rec/muell/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv
[01:45:51]    + title 1, start 00:00:34,00 stop 00:25:46,00
[01:45:51]    + container: matroska,webm
[01:45:51]  * destination
[01:45:51]    + /videos/movies/20150419 0602 - arte HD - Wie das Land, so der Mensch.ts.mkv
[01:45:51]    + container: Matroska (libavformat)
[01:45:51]  * video track
[01:45:51]    + decoder: h264
[01:45:51]    + filters
[01:45:51]      + Decomb (default settings)
[01:45:51]      + Framerate Shaper (1:27000000:1080000)
[01:45:51]        + frame rate: 50,000 fps -> constant 25,000 fps
[01:45:51]      + Denoise (hqdn3d) (1:0.7:0.7:1:2:2)
[01:45:51]      + Crop and Scale (1280:720:2:2:2:4)
[01:45:51]        + source: 1280 * 720, crop (2/2/2/4): 1274 * 716, scale: 1280 * 720
[01:45:51]    + Output geometry
[01:45:51]      + storage dimensions: 1280 x 720
[01:45:51]      + pixel aspect ratio: 1 : 1
[01:45:51]      + display dimensions: 1280 x 720
[01:45:51]    + encoder: H.264 (libx264)
[01:45:51]      + preset:  medium
[01:45:51]      + tune:    film
[01:45:51]      + quality: 25,00 (RF)
[01:45:51]  * audio track 1
[01:45:51]    + decoder: Deutsch (MPEG) (2.0 ch) (track 1, id 0x1)
[01:45:51]      + bitrate: 192 kbps, samplerate: 48000 Hz
[01:45:51]    + mixdown: Stereo
[01:45:51]    + encoder: AAC (libavcodec)
[01:45:51]      + bitrate: 160 kbps, samplerate: 48000 Hz
[01:45:51] encx264: encoding at constant RF 25,000000
[01:45:51] encx264: unparsed options: deblock=-1,-1:psy-rd=1,0,15
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
[01:45:51] reader: first SCR 3044790 id 0x0 DTS 3044790
x264 [info]: profile High, level 3.1
[01:45:52] sync: first pts is 16200
[02:18:37] sync: reached pts 136080270, exiting early
[02:18:37] reader: done. 1 scr changes
[02:18:38] work: average encoding speed for job is 38,458214 fps
[02:18:38] sync: got 75600 frames, 75650 expected
[02:18:38] decomb: deinterlaced 0 | blended 0 | unfiltered 75599 | total 75599
[02:18:38] render: 37800 frames output, 37799 dropped and 0 duped for CFR/PFR
[02:18:38] render: lost time: 0 (0 frames)
[02:18:38] render: gained time: 0 (0 frames) (0 not accounted for)
[02:18:39] h264-decoder done: 75698 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:240   Avg QP:21,63  size:110401
x264 [info]: frame P:15247 Avg QP:25,10  size: 15737
x264 [info]: frame B:22313 Avg QP:28,08  size:  2234
x264 [info]: consecutive B-frames:  6,0% 36,9% 26,8% 30,3%
x264 [info]: mb I  I16..4:  9,8% 68,9% 21,3%
x264 [info]: mb P  I16..4:  1,6%  2,9%  0,3%  P16..4: 41,8% 13,8%  9,8%  0,0%  0,0%    skip:29,8%
x264 [info]: mb B  I16..4:  0,0%  0,1%  0,0%  B16..8: 34,2%  1,3%  0,2%  direct: 1,2%  skip:63,0%  L0:34,3% L1:62,5% BI: 3,3%
x264 [info]: 8x8 transform intra:62,9% inter:70,9%
x264 [info]: coded y,uvDC,uvAC intra: 44,4% 55,3% 18,7% inter: 12,2% 13,6% 0,2%
x264 [info]: i16 v,h,dc,p: 24% 42% 10% 24%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 16% 35%  4%  6%  6%  7%  5%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 19% 12%  6% 10%  9%  9%  7%  7%
x264 [info]: i8c dc,h,v,p: 56% 25% 14%  5%
x264 [info]: Weighted P-Frames: Y:2,9% UV:0,8%
x264 [info]: ref P L0: 64,7% 21,1% 10,8%  3,4%  0,0%
x264 [info]: ref B L0: 94,1%  5,3%  0,6%
x264 [info]: ref B L1: 96,8%  3,2%
x264 [info]: kb/s:1673,46
[02:18:39] mp2-decoder done: 0 frames, 0 decoder errors, 0 drops
[02:18:39] mux: track 0, 37800 frames, 316273917 bytes, 1673,41 kbps, fifo 2048
[02:18:39] mux: track 1, 70874 frames, 30339437 bytes, 160,53 kbps, fifo 4096
[02:18:39] libhb: work result = 0
Just guessing, maybe there is a calculation error of the time only?

Code: Select all

+ title 1, start 00:00:34,00 stop 00:25:46,00
Additional info, the mkv-file started nearly immediately with encoding, although I used the the same values at the beginning and at the end, The ts file I think took 30-60 sec. for searching the start before encoding began. Not a problem, but maybe a hint.

You will get a sample for download within 24 hrs (hopefully, it depends on my upload possibilities)
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by JohnAStebbins »

The accuracy (or lack thereof) of the duration is a side effect of the heuristic HandBrake uses to calculate it. Transport streams have no header with an accurate duration encoded in it. They also are not guaranteed to have monotonically increasing timestamps (i.e. there often are discontinuities in the timestamps where they jump backward or forward in time). So to make an approximation of the duration of a transport stream, HandBrake samples the timestamps at several positions throughout the file and extrapolates. vlc and many other tools take a simpler approach. They subtract the first timestamp from that last timestamp and call that the duration. This is more accurate when there are no discontinuities, but it is horrifically inaccurate if there is even one discontinuity in the file.

I could probably improve HandBrake's estimate by comparing the result of both types of estimate and if they are close, use the vlc style estimate under the assumption that if they were close, there were probably no discontinuities. But this is normally a minor issue and not usually a problem.

I didn't realize the the linux gui was putting a hard limit on the end time at the estimated duration. I assumed it would let you set an end time that is past the duration. I've fixed this and the next nightly build will let you set times beyond the estimated duration.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

I had 3 uploads with errors, I will try tomorrow again to upload a sample.

Please keep in mind the following situation:

With some situations it doesn' count how long the video actually is, important is to cut off parts of the beginning and of the end, because it doesn't belong to the movie. So you need a program, like vlc to view the movie and see when it starts and ends. The values of the videoplayer are put into handbrake. So if vlc is wrong with the time, handbrake should be wrong the same way.

Maybe you could code the following:

In the preview window are pictures shown to see if the cut of black borders is correct. Maybe you can put a still-image of the beginning and the end according to the set time values to the image preview? So you can check optically, if the set time is correct. If I was not clear, please let me know.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by JohnAStebbins »

linuxuser wrote:In the preview window are pictures shown to see if the cut of black borders is correct. Maybe you can put a still-image of the beginning and the end according to the set time values to the image preview? So you can check optically, if the set time is correct. If I was not clear, please let me know.
I think you missed the point of my previous post. In order to implement the above, HandBrake would have to seek to the end position, decode a frame and then add it to the previews. With transport streams, the problem is that there is no way to accurately seek to any particular time without decoding every frame leading up to that time. Since there can be discontinuities in the timestamps anywhere within the stream, you have to read the entire stream looking for these discontinuities in order to accurately reconstruct the timeline of the video. What you want just isn't possible in the most general scenario where the stream has discontinuities.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

I understand what you explain and it is not easy. You wrote about 2 differenct calculations.

Most times, the video ends with handbrake at the time what vlc showed. I understand that 1 second is not exact enough, but this accuracy is fine for me for dvb-streams and probably for most movies. I don't know how much work it is, to add a preview at the beginning and at the end which could be or is near to the start and end time, which is entered in handbrake. A preview image at the start and endtime would help me too, to see if I entered the correct time. It happened, that I had a typo and I had to encode the dvb-stream again. If the 1st and the last screen (or 3rd scrren or whatever) in the preview is near at my beginning and the end (let's say 5-10 seconds difference in a worse case), I can see if I am wrong.

I am still having problemls to upload my last sample, I keep on trying.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: With NLMeans + HQDN3D it stops immediately

Post by linuxuser »

Post Reply