i will try this and report.
thanks!
i will try this and report.
thanks!
I am using comskip for months now. working really fine!
one thing woud be super amazing because new Odroid N2 has enough power to do comskip and record simultanious.
i want to use comskip while recording. it already does work if i use comskip from another computer while recording the same video file.
i just want to use both on one device. is this possible? as pre-recording command does not work maybe because filename is not clear on "pre-record-state"? how could we get this to work?
I thought C2 can be woken up via Hardkernel remote and CEC?!
But its shutdown/boot not suspend/resume, right?
I am at Raybuntus Leia22 on the Odroid C2 (S905) at the moment. It has 3.14 Kernel. This issue still exists.
Maybe with new mainline kernel this issue will be resolved.
Hopefully the new kernel will be released any time (soon).
Its been covered many times before, no h/w decoding for widevine DRM based content.
does this "feature" change things?
I´ve read multiple times AMlogic still not released drivers for mali/VPU => for video decoding/encoding.
Do you developers know if they plan to release them? (sometime...soon...?)
And a 32bit userspace version for Raybuntu-Build lovers?
Would be really really nice!
after copy whole comskip dir (/storage/.kodi/addons/tools.comskip) to:
i also copied comskip ini to:
now i can launch comskip near the ini. but i get the error:
Full output:
LibreELEC:~/.kodi/userdata/addon_data/tool.comskip/bin # /storage/.kodi/userdata/addon_data/tool.comskip/bin/comskip /var/media/160GB_USB/TV-Record/Reiseticker/Reisetic
ker-sonnenklar.TV2017-11-0421-15.ts
Comskip 0.81.089, made using ffmpeg
Donator build
The commandline used was:
/storage/.kodi/userdata/addon_data/tool.comskip/bin/comskip /var/media/160GB_USB/TV-Record/Reiseticker/Reiseticker-sonnenklar.TV2017-11-0421-15.ts
Using comskip.ini for initiation values.
Mpeg: /var/media/160GB_USB/TV-Record/Reiseticker/Reiseticker-sonnenklar.TV2017-11-0421-15.ts
Exe comskip.exe
Logo: /var/media/160GB_USB/TV-Record/Reiseticker/Reiseticker-sonnenklar.TV2017-11-0421-15.logo.txt
Ini: comskip.ini
Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 2000 seconds
3) Resolution Change
4) Aspect Ratio
ComSkip throttles back from -0001 to -0001.
The time is now 2133 so it's full speed ahead!
Settings
--------
[Main Settings]
;the sum of the values for which kind of frames comskip will consider as possible cutpoints: 1=uniform (black or any other color) frame, 2=logo, 4=scene change, 8=resolution change, 16=closed captions, 32=aspect ration, 64=silence, 255=all.
detect_method=43
;Set to 10 to show a lot of extra info, level 5 is also OK, set to 0 to disable
verbose=10
;Frame not black if any of the pixels of the frame has a brightness greater than this (scale 0 to 255)
max_brightness=60
maxbright=1
;Frame not pure black if a small number of the pixels of the frame has a brightness greater than this. To decide if the frame is truly black, comskip will also check average brightness (scale 0 to 255)
test_brightness=40
;
max_avg_brightness=25
;
max_commercialbreak=600
;
min_commercialbreak=25
;
max_commercial_size=125
;
min_commercial_size=4
;
min_show_segment_length=250
;
max_volume=500
;
max_silence=100
;
non_uniformity=500
[Detailed Settings]
min_silence=12
remove_silent_segments=0
noise_level=5
brightness_jump=200
fps=22
validate_silence=1
validate_uniform=1
validate_scenechange=1
global_threshold=1.05
disable_heuristics=4
[CPU Load Reduction]
thread_count=2
hardware_decode=0
play_nice_start=-1
play_nice_end=-1
play_nice_sleep=2
[Input Correction]
max_repair_size=200
ms_audio_delay=5
volume_slip=40
lowres=0
skip_b_frames=0
[Aspect Ratio]
ar_delta=0.08
cut_on_ar_change=1
[Global Removes]
padding=0
remove_before=0
remove_after=0
added_recording=14
delete_show_after_last_commercial=0
delete_show_before_first_commercial=0
delete_show_before_or_after_current=0
delete_block_after_commercial=0
min_commercial_break_at_start_or_end=39
always_keep_first_seconds=0
always_keep_last_seconds=0
[USA Specific]
intelligent_brightness=0
black_percentile=0.0076
uniform_percentile=0.003
score_percentile=0.71
[Main Scoring]
length_strict_modifier=3
length_nonstrict_modifier=1.5
combined_length_strict_modifier=2
combined_length_nonstrict_modifier=1.25
ar_wrong_modifier=2
excessive_length_modifier=0.01
dark_block_modifier=0.3
min_schange_modifier=0.5
max_schange_modifier=2
logo_present_modifier=0.01
punish_no_logo=1
[Detailed Scoring]
punish=0
reward=0
punish_threshold=1.3
punish_modifier=2
reward_modifier=0.5
[Logo Finding]
border=10
give_up_logo_search=2000
delay_logo_search=0
logo_max_percentage_of_screen=0.12
ticker_tape=0
ticker_tape_percentage=0
ignore_side=0
ignore_left_side=0
ignore_right_side=0
subtitles=0
logo_at_bottom=0
logo_threshold=0.75
logo_percentage_threshold=0.25
logo_filter=0
aggressive_logo_rejection=0
edge_level_threshold=5
edge_radius=2
edge_w*eight=10
edge_step=1
num_logo_buffers=50
use_existing_logo_file=1
two_pass_logo=1
[Logo Interpretation]
connect_blocks_with_logo=1
logo_percentile=0.92
logo_fraction=0.4
shrink_logo=5
shrink_logo_tail=0
before_logo=0
after_logo=0
where_logo=0
min_black_frames_for_break=1
[Closed Captioning]
ccCheck=0
cc_commercial_type_modifier=4
cc_wrong_type_modifier=2
cc_correct_type_modifier=0.75
[Live TV]
live_tv=1
live_tv_retries=4
require_div5=0
div5_tolerance=-1
incommercial_frames=1000
[Output Control]
output_default=1
output_chapters=0
output_plist_cutlist=0
output_zoomplayer_cutlist=0
output_zoomplayer_chapter=0
output_vcf=0
output_vdr=0
output_projectx=0
output_avisynth=0
output_videoredo=0
output_videoredo3=0
videoredo_offset=2
output_btv=0
output_edl=1
output_live=0
edl_offset=0
timeline_repair=1
edl_skip_field=0
output_edlp=0
output_bsplayer=0
output_edlx=0
output_cuttermaran=0
output_mpeg2schnitt=0
output_womble=0
output_mls=0
output_mpgtx=0
output_dvrmstb=0
output_dvrcut=0
output_ipodchap=0
output_framearray=0
output_debugwindow=0
output_tuning=0
output_t*raining=0
output_false=0
output_aspect=0
output_demux=0
output_data=0
output_srt=0
output_smi=0
output_timing=0
output_incommercial=0
output_ffmeta=0
output_ffsplit=0
delete_logo_file=0
cutscene_frame=0
cutscene_threshold=10
windowtitle="Comskip - %s"
cuttermaran_options="cut=\"true\" unattended=\"true\" muxResult=\"false\" snapToCutPoints=\"true\" closeApp=\"true\""
mpeg2schnitt_options="mpeg2schnitt.exe /S /E /R25 /Z %2 %1"
avisynth_options="LoadPlugin(\"MPEG2Dec3.dll\") \nMPEG2Source(\"%s\")\n"
dvrcut_options="dvrcut \"%s.dvr-ms\" \"%s_clean.dvr-ms\" "
[Sage Workarounds]
sage_framenumber_bug=0
sage_minute_bug=0
enable_mencoder_pts=0
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1ac2870] Invalid frame dimensions 0x0.
[mpegts @ 0x1abe890] PES packet size mismatch
Input #0, mpegts, from '/var/media/160GB_USB/TV-Record/Reiseticker/Reiseticker-sonnenklar.TV2017-11-0421-15.ts':
Duration: 00:00:53.53, start: 20626.599944, bitrate: 2673 kb/s
Program 24112
Stream #0:0[0x233]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 544x576 [SAR 32:17 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x234](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
Stream #0:2[0x238](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
[mpeg2video @ 0x1ac2350] gray decoding requested but not enabled at configuration time
Initial pts = 0.560
Frame Rate set to 25.000 f/s
Format changed to [544 : 576]
Frame: 1 Ratio: 0.95 MinY: 1 MaxY: 576 MinX: 1 MaxX: 544
Resizing scene change array to accomodate 2000 frames.
0:00:49 - 1245 frames in 6.97 sec(178.62 fps), 1.00 sec(183.00 fps), 94%
Looking For Logo in frames 25 to 1250.
Edge count - 25584 Percentage of screen - 83.23% TOO BIG, CAN'T BE A LOGO.
Looking For Logo in frames 50 to 1275.
Edge count - 26013 Percentage of screen - 83.23% TOO BIG, CAN'T BE A LOGO.
Looking For Logo in frames 75 to 1300.
Edge count - 26972 Percentage of screen - 83.23% TOO BIG, CAN'T BE A LOGO.
overread 52
[mpeg2video @ 0x1ac2350] Warning MVs not available
Retry=0 at frame=1306, time= 52.24 seconds
Retry target pos=17831800, pts=1861131032
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
Retry t_pos=17831800, l_pos=16942560, t_pts=1861131032, l_pts=1860922795
Strange audio pts step of 49.84309 instead of 0.00000 at frame 1306
Strange video pts step of -1.79950 instead of 0.04050 at frame 1306
overread 52
[mpeg2video @ 0x1b4ed50] Warning MVs not available
Retry=1 at frame=1306, time= 52.24 seconds
Retry target pos=17831800, pts=1861131032
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
Retry t_pos=17831800, l_pos=16942560, t_pts=1861131032, l_pts=1860922795
Strange audio pts step of 49.84309 instead of 0.00000 at frame 1306
overread 52
[mpeg2video @ 0x1b4ed50] Warning MVs not available
Retry=2 at frame=1306, time= 52.24 seconds
Retry target pos=17831800, pts=1861131032
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
Retry t_pos=17831800, l_pos=16942560, t_pts=1861131032, l_pts=1860922795
Strange audio pts step of 49.84309 instead of 0.00000 at frame 1306
overread 52
[mpeg2video @ 0x1b4ed50] Warning MVs not available
Retry=3 at frame=1306, time= 52.24 seconds
Retry target pos=17831800, pts=1861131032
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
[mpeg2video @ 0x1b2c650] Invalid frame dimensions 0x0.
Retry t_pos=17831800, l_pos=16942560, t_pts=1861131032, l_pts=1860922795
Strange audio pts step of 49.84309 instead of 0.00000 at frame 1306
overread 52
[mpeg2video @ 0x1b4ed50] Warning MVs not available
1306 frames decoded in 24.14 seconds (54.10 fps)
Parsed 1306 video frames and 1487 audio frames at 54.10 fps
Maximum Volume found is 4804
Finished scanning file. Starting to build Commercial List.
Vol : #Frames
Calculated silence level = 0
Vol : #Frames
Calculated silence level = 0
Vol : #Frames
Calculated silence level = 0
Vol : #Frames
Calculated silence level = 0
Vol : #Frames
Calculated silence level = 0
Logo Histogram - 0.15326
0.000 - 1305 - 0.99923 ********************************************************************************************************************************************************************************************************
0.050 - 0 - 0.99923
0.100 - 0 - 0.99923
0.150 - 0 - 0.99923
0.200 - 0 - 0.99923
0.250 - 0 - 0.99923
0.300 - 0 - 0.99923
0.350 - 0 - 0.99923
0.400 - 0 - 0.99923
0.450 - 0 - 0.99923
0.500 - 0 - 0.99923
0.550 - 0 - 0.99923
0.600 - 0 - 0.99923
0.650 - 0 - 0.99923
0.700 - 0 - 0.99923
0.750 - 0 - 0.99923
0.800 - 0 - 0.99923
0.850 - 0 - 0.99923
0.900 - 0 - 0.99923
0.950 - 0 - 0.99923
Set Logo Quality = 0.77500
Not enough or too much logo's found (0.00), disabling the use of Logo detection
The last ar cblock wasn't closed. Now closing.
Printing AR cblock list before cleaning
-----------------------------------------
Block: 0 Start: 1 End: 1306 AR_R: 0.95 Length: 0:00:52.16, [ 544x 576] minX= 1, minY= 1, maxX=544, maxY=576
After Sorting - 47
--------------
Aspect Ratio 0.95 found on 1300 frames totalling 99.9%
Aspect Ratio 0.97 found on 1 frames totalling 100.0%
After Sorting - 45
--------------
Aspect Ratio 0.95 found on 1306 frames totalling 100.0%
Printing AR cblock list
-----------------------------------------
Block: 0 Start: 1 End: 1306 AR_R: 0.95 Length: 0:00:52.16, [ 544x 576] minX= 1, minY= 1, maxX=544, maxY=576
Segmentation fault (core dumped)
is there something i can try?
What is Comskip?
Best regards...
comskip is searching in video files for commercials and marks them in a seperate text file. kodi can read these files and jumps above the marked commercials. pretty awesome stuff
not yet, not sure if we maybe just add it as normal addon, it is config able due editing of the config file at the userdata folder
no, this is LE9 stuff - this is now default there
as soon we hit some "alpha/beta" with LE9 i start builds for it
Sounds great, so its not out of your mind
To build a seperate addon seems to be the right way, as not everybode who uses tvh uses comskip too
CvH:
some time ago you wrote about comskip included in tvheadend.
I am using Raybuntus Leia11 (32bit)
Is comskip included in newer builds of tvheadend?
Are the addons off the first post compatible with 32bit userspace?
And one last question: how to use/configure comskip included in tvheadend?
Does this run on Odroid C2? I can supply UART output if you need.
the above method did not work, same error: unable to stop the tvheadend service.
Do your newer/nightly builds support Transcoding (especially on Odroid C2) to reduce the bitrate?
I want to stream via WAN to my weekend location. Would be awesome.
enable/disable of tvheadend-service must be done via SSH because tvh2kodi has to connect so tvheadend at startup, right?
I will try this for LibreELEC on Odroid C2:
1. Start tvh2kodi
2. Choose Backup
3.
4. Start Backup
5.
the picons did not go where i wantet them - there was no error.
I did not see anything in the log, thought you can find something - nevermind, its not important for me.