Code Monkey home page Code Monkey logo

otr-verwaltung3p's People

Contributors

adlerweb avatar binsky08 avatar elbersb avatar gcurse avatar limbusdev avatar mainboand avatar maltekiefer avatar monarc99 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

otr-verwaltung3p's Issues

Einfach mal Danke sagen

Ich weiß nicht wie ich es sonst übermittlen soll, aber ich wollte mich einfach nur für dieses großartige Programm bedanken.
Ich hatte vor meinem Umstieg auf Linux Bedenken ob ich dort Software für den OnlineTVRecorder finden werde.
Und was soll ich sagen: Alles funktioniert auf Anhieb und die Software bietet genau das was ich für meinen Workflow benötige in einem Programm vereint (dekodieren, schneiden, umbenennen).
Vielleicht habe ich es mir bis jetzt auch unnötig schwer gemacht, aber ein so gutes Programm kannte ich unter Windows nicht.

Vielen Dank für die großartige Arbeit, das Projekt ist einfach klasse 🎉 👍

PS: Der Dank geht natürlich an alle aktuellen und ehemaligen Entwickler ;)

In some cases "Result of __simulate_smart_mkvmerge is None" occurs when batch-cutting but not when using the cutinterface

I've downloaded a bunch of .otrkey files and decoding went smooth.
But the cutting process always gets cancelled after a few seconds with this error message.

Fehler: Cutlist oder zu schneidende Datei passen nicht zusammen oder sind fehlerhaft.cutsmartmkvmerge:230:Result of __simulate_smart_mkvmerge is None

Here is the file that i wanted to cut (but the same error occurs for all other files): Ant_Man_and_the_Wasp_21.04.03_01-35_sf2_105_TVOON_DE.mpg.HD.avi

And here is the debug log:

~ >>> otrverwaltung3p --debug                                                  
D:otrverwaltung3p:root:<module>:94 Assuming path is correct
otr-verwaltung3p, version 1.0.0b8.post4
D:config:Config:__init__:56 Keyring available: True
D:config:Config:set:64 Set [general].[aes_key] to *****
D:config:Config:set:64 Set [general].[ask_if_all] to True
D:config:Config:set:64 Set [general].[choose_cutlists_by] to 1
D:config:Config:set:64 Set [general].[cut_action] to 0
D:config:Config:set:64 Set [general].[cut_avis_by] to SmartMKVmerge
D:config:Config:set:64 Set [general].[cut_avis_man_by] to CutInterface
D:config:Config:set:64 Set [general].[cut_hqs_by] to SmartMKVmerge
D:config:Config:set:64 Set [general].[cut_hqs_man_by] to CutInterface
D:config:Config:set:64 Set [general].[cut_hd2_by] to SmartMKVmerge
D:config:Config:set:64 Set [general].[cut_hd2_man_by] to CutInterface
D:config:Config:set:64 Set [general].[cut_mp4s_by] to SmartMKVmerge
D:config:Config:set:64 Set [general].[cut_mp4s_man_by] to CutInterface
D:config:Config:set:64 Set [general].[cutlist_comment] to OTRV3p
D:config:Config:set:64 Set [general].[cutlist_hash] to d7a0d26b77f900d5b219bcded5a3faf7
D:config:Config:set:64 Set [general].[cutlist_mp4_as_hq] to False
D:config:Config:set:64 Set [general].[cutlist_username] to 
D:config:Config:set:64 Set [general].[cut_show_after] to 10
D:config:Config:set:64 Set [general].[cut_show_pre] to 10
D:config:Config:set:64 Set [general].[delete_cutlists] to True
D:config:Config:set:64 Set [general].[email] to *****
D:config:Config:set:64 Set [general].[folder_archive] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/archive
D:config:Config:set:64 Set [general].[folder_cut_avis] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/cut
D:config:Config:set:64 Set [general].[folder_new_otrkeys] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/ortkeys
D:config:Config:set:64 Set [general].[folder_trash_avis] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/trash
D:config:Config:set:64 Set [general].[folder_trash_otrkeys] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/trash
D:config:Config:set:64 Set [general].[folder_uncut_avis] to /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/uncut
D:config:Config:set:64 Set [general].[h264_codec] to ffdshow
D:config:Config:set:64 Set [general].[hide_archive_buttons] to False
D:config:Config:set:64 Set [general].[icon_size] to 22
D:config:Config:set:64 Set [general].[ignore_suggested_filename] to False
D:config:Config:set:64 Set [general].[komisar_hd_string] to --tune film --direct auto --force-cfr --rc-lookahead 60 --b-adapt 2 --weightp 0
D:config:Config:set:64 Set [general].[komisar_hq_string] to --tune film --direct auto --force-cfr --rc-lookahead 60 --b-adapt 2 --aq-mode 2 --weightp 0
D:config:Config:set:64 Set [general].[komisar_mp4_string] to --force-cfr --profile baseline --preset medium --trellis 0
D:config:Config:set:64 Set [general].[merge_ac3s] to True
D:config:Config:set:64 Set [general].[merge_ac3s_by] to mkvmerge
D:config:Config:set:64 Set [general].[move_otrkey_to_trash_after_decode] to True
D:config:Config:set:64 Set [general].[mplayer_fullscreen] to True
D:config:Config:set:64 Set [general].[mpv_screen] to 0
D:config:Config:set:64 Set [general].[mpv_vol_max] to 150.0
D:config:Config:set:64 Set [general].[otrkey_search] to http://otrkeyfinder.com/?search=
D:config:Config:set:64 Set [general].[passwd_store] to 1
D:config:Config:set:64 Set [general].[passwd_store_memory] to False
D:config:Config:set:64 Set [general].[planned_items] to 
D:config:Config:set:64 Set [general].[prefer_mplayer] to False
D:config:Config:set:64 Set [general].[rename_cut] to True
D:config:Config:set:64 Set [general].[rename_schema] to {titel} {format}
D:config:Config:set:64 Set [general].[save_email_password] to False
D:config:Config:set:64 Set [general].[server] to *****
D:config:Config:set:64 Set [general].[show_bottom] to False
D:config:Config:set:64 Set [general].[show_conclusiondialog_after_cutting] to False
D:config:Config:set:64 Set [general].[smart] to True
D:config:Config:set:64 Set [general].[snippets] to Snippets können in Einstellungen->Cutlist eingetragen werden
D:config:Config:set:64 Set [general].[sort_record_date] to False
D:config:Config:set:64 Set [general].[use_internal_icons] to False
D:config:Config:set:64 Set [general].[verify_decoded] to True
D:config:Config:set:64 Set [general].[vol_adjust] to uswabc,1.0,100__usw,3.0,140__uk,3.0,140
D:config:Config:set:64 Set [general].[vol_adjust_on] to False
D:config:Config:set:64 Set [general].[window_settings] to 0,1678,844
D:config:Config:set:64 Set [general].[x264vfw_hd_string] to --tune film --direct auto --force-cfr --rc-lookahead 60 --b-adapt 2 --weightp 0
D:config:Config:set:64 Set [general].[x264vfw_hq_string] to --tune film --direct auto --force-cfr --rc-lookahead 60 --b-adapt 2 --aq-mode 2 --weightp 0
D:config:Config:set:64 Set [general].[x264vfw_mp4_string] to --force-cfr --profile baseline --preset medium --trellis 0
D:config:Config:set:64 Set [cutinterface].[alt_time_frame_conv] to True
D:config:Config:set:64 Set [cutinterface].[hide_cuts] to False
D:config:Config:set:64 Set [cutinterface].[label_time_colors] to [False, '#009900', '#FF9900', '#0064C8', 'lightblue', 'yellow']
D:config:Config:set:64 Set [cutinterface].[mouse_hide_over_video] to True
D:config:Config:set:64 Set [cutinterface].[new_keyframe_search] to True
D:config:Config:set:64 Set [cutinterface].[not_force_search_cutlist_by_name] to False
D:config:Config:set:64 Set [cutinterface].[resolution_x] to 800
D:config:Config:set:64 Set [cutinterface].[resolution_y] to 450
D:config:Config:set:64 Set [cutinterface].[scrolling_inverted] to False
D:config:Config:set:64 Set [cutinterface].[seek1] to 4
D:config:Config:set:64 Set [cutinterface].[seek2] to 20
D:config:Config:set:64 Set [cutinterface].[seek_distance_default] to 80
D:config:Config:set:64 Set [cutinterface].[show_tooltips] to False
D:config:Config:set:64 Set [cutinterface].[test_cut_offset_secs] to 5
D:config:Config:set:64 Set [downloader].[aria2c_opts] to ['--allow-overwrite=true', '--continue', '--max-connection-per-server=1', '--max-tries=0', '--split=5', '--auto-file-renaming=false', '--allow-overwrite=true', '--allow-piece-length-change=true', '--always-resume=false', '--max-resume-failure-tries=0']
D:config:Config:set:64 Set [downloader].[aria2c_opts_torrent] to ['--check-integrity=true', '--continue']
D:config:Config:set:64 Set [downloader].[preferred_downloader] to 
D:config:Config:set:64 Set [downloader].[resume_on_startup] to True
D:config:Config:set:64 Set [downloader].[wget_opts] to ['-v']
D:config:Config:set:64 Set [plugins].[config] to {'MP4': {'DontOptimizeMP4': False, 'DownMixStereo': True, 'DumpAVIs': True, 'EncodeAudioToAAC': True, 'EncodeOnlyFirstAudioToAAC': True, 'NormalizeAudio': False, 'RemoveOtherAudioStreamsThanAC3': False}, 'Mediainfo': {'mediainfo': 'mediainfo-gui'}, 'Mkv': {'DownMixStereo': True, 'DumpAVIs': True, 'DumpAVIs_delete': False, 'EncodeAudioToAAC': False, 'EncodeOnlyFirstAudioToAAC': True, 'NormalizeAudio': False, 'RemoveOtherAudioStreamsThanAC3': False}}
D:config:Config:set:64 Set [plugins].[enabled] to Play:Mkv
D:config:Config:set:64 Set [programs].[aria2c] to intern-aria2c
D:config:Config:set:64 Set [programs].[decoder] to intern-easydecoder
D:config:Config:set:64 Set [programs].[ffmpeg] to /usr/bin/ffmpeg
D:config:Config:set:64 Set [programs].[ffmsindex] to /usr/bin/ffmsindex
D:config:Config:set:64 Set [programs].[ffprobe] to /usr/bin/ffprobe
D:config:Config:set:64 Set [programs].[mediainfo] to /usr/bin/mediainfo
D:config:Config:set:64 Set [programs].[mkvmerge] to /usr/bin/mkvmerge
D:config:Config:set:64 Set [programs].[mp4box] to intern-mp4box
D:config:Config:set:64 Set [programs].[mplayer] to mplayer
D:config:Config:set:64 Set [programs].[mpv] to /usr/bin/mpv
D:config:Config:set:64 Set [programs].[sox] to intern-sox
D:config:Config:set:64 Set [programs].[vdub] to intern-vdub
D:config:Config:set:64 Set [programs].[wget] to wget
D:config:Config:set:64 Set [programs].[wineprefix] to 
D:config:Config:set:64 Set [programs].[x264] to /usr/bin/x264
D:config:Config:set:64 Set [smartmkvmerge].[encoder_engine] to ffmpeg
D:config:Config:set:64 Set [smartmkvmerge].[first_audio_stream] to originale MP3 Spur kopieren
D:config:Config:set:64 Set [smartmkvmerge].[normalize_audio] to False
D:config:Config:set:64 Set [smartmkvmerge].[remux_to_mp4] to False
D:config:Config:set:64 Set [smartmkvmerge].[second_audio_stream] to originale AC3 Spur kopieren
D:config:Config:set:64 Set [smartmkvmerge].[single_threaded] to False
D:config:Config:set:64 Set [smartmkvmerge].[single_threaded_automatic] to True
D:config:Config:set:64 Set [smartmkvmerge].[workingdir] to /tmp
I:MainWindow:otrverwaltung3p.gui.MainWindow:new:940 Version: 1.0.0b8.post4
D:backend:keyring.backend:_load_plugins:200 Loading KWallet
D:backend:keyring.backend:_load_plugins:200 Loading SecretService
D:backend:keyring.backend:_load_plugins:200 Loading Windows
D:backend:keyring.backend:_load_plugins:200 Loading chainer
D:backend:keyring.backend:_load_plugins:200 Loading macOS
D:config:Config:set:64 Set [general].[h264_codec] to ffdshow
D:config:Config:set:64 Set [programs].[vdub] to intern-vdub
I:pluginsystem:PluginSystem:__init__:71 Paths to search: ('/home/laurenz/.local/share/otrverwaltung3p/plugins', '/usr/share/otrverwaltung3p/plugins')
I:pluginsystem:PluginSystem:__init__:75 /home/laurenz/.local/share/otrverwaltung3p/plugins is not a directory.
I:pluginsystem:PluginSystem:__init__:102 Found: Mediainfo
I:pluginsystem:PluginSystem:__init__:102 Found: ConvertToMP3
I:pluginsystem:PluginSystem:__init__:102 Found: MP4
I:pluginsystem:PluginSystem:__init__:102 Found: CutPlay
I:pluginsystem:PluginSystem:__init__:102 Found: Play
I:pluginsystem:PluginSystem:__init__:102 Found: CutManually
I:pluginsystem:PluginSystem:__init__:102 Found: Mkv
I:pluginsystem:PluginSystem:__init__:110 Enabled: Play
I:pluginsystem:PluginSystem:__init__:110 Enabled: Mkv
D:config:Config:get_program:173 program value: /usr/bin/ffmpeg
D:config:Config:get_program:175 intern_program: /usr/bin/ffmpeg
D:config:Config:get_program:173 program value: /usr/bin/ffprobe
D:config:Config:get_program:175 intern_program: /usr/bin/ffprobe
D:config:Config:get_program:173 program value: /usr/bin/ffmsindex
D:config:Config:get_program:175 intern_program: /usr/bin/ffmsindex
D:config:Config:get_program:173 program value: /usr/bin/x264
D:config:Config:get_program:175 intern_program: /usr/bin/x264
D:config:Config:get_program:173 program value: /usr/bin/mediainfo
D:config:Config:get_program:175 intern_program: /usr/bin/mediainfo
D:config:Config:get_program:173 program value: /usr/bin/mkvmerge
D:config:Config:get_program:175 intern_program: /usr/bin/mkvmerge
D:config:Config:get_program:173 program value: /usr/bin/mpv
D:config:Config:get_program:175 intern_program: /usr/bin/mpv
D:config:Config:get_program:173 program value: intern-easydecoder
D:config:Config:get_program:175 intern_program: /usr/share/otrverwaltung3p/tools/intern-easydecoder
D:cutlists:otrverwaltung3p.cutlists:download_cutlists:348 <FRED>D<FRED>o<FRED>w<FRED>n<FRED>l<FRED>o<FRED>a<FRED>d<FRED> <FRED>f<FRED>r<FRED>o<FRED>m<FRED>:<FRED> <FRED>h<FRED>t<FRED>t<FRED>p<FRED>:<FRED>/<FRED>/<FRED>c<FRED>u<FRED>t<FRED>l<FRED>i<FRED>s<FRED>t<FRED>.<FRED>a<FRED>t<FRED>/<FRED>g<FRED>e<FRED>t<FRED>x<FRED>m<FRED>l<FRED>.<FRED>p<FRED>h<FRED>p<FRED>?<FRED>n<FRED>a<FRED>m<FRED>e<FRED>=<FRED>A<FRED>n<FRED>t<FRED>_<FRED>M<FRED>a<FRED>n<FRED>_<FRED>a<FRED>n<FRED>d<FRED>_<FRED>t<FRED>h<FRED>e<FRED>_<FRED>W<FRED>a<FRED>s<FRED>p<FRED>_<FRED>2<FRED>1<FRED>.<FRED>0<FRED>4<FRED>.<FRED>0<FRED>3<FRED>_<FRED>0<FRED>1<FRED>-<FRED>3<FRED>5<FRED>_<FRED>s<FRED>f<FRED>2<FRED>_<FRED>1<FRED>0<FRED>5<FRED>_<FRED>T<FRED>V<FRED>O<FRED>O<FRED>N<FRED>_<FRED>D<FRED>E<FRED>.<FRED>m<FRED>p<FRED>g<FRED>.<FRED>H<FRED>D<FRED>
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node usercomment failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node filename failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node autoname failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node autoname failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:download_cutlists:348 <FRED>D<FRED>o<FRED>w<FRED>n<FRED>l<FRED>o<FRED>a<FRED>d<FRED> <FRED>f<FRED>r<FRED>o<FRED>m<FRED>:<FRED> <FRED>h<FRED>t<FRED>t<FRED>p<FRED>:<FRED>/<FRED>/<FRED>c<FRED>u<FRED>t<FRED>l<FRED>i<FRED>s<FRED>t<FRED>.<FRED>a<FRED>t<FRED>/<FRED>g<FRED>e<FRED>t<FRED>x<FRED>m<FRED>l<FRED>.<FRED>p<FRED>h<FRED>p<FRED>?<FRED>n<FRED>a<FRED>m<FRED>e<FRED>=<FRED>A<FRED>n<FRED>t<FRED>_<FRED>M<FRED>a<FRED>n<FRED>_<FRED>a<FRED>n<FRED>d<FRED>_<FRED>t<FRED>h<FRED>e<FRED>_<FRED>W<FRED>a<FRED>s<FRED>p<FRED>_<FRED>2<FRED>1<FRED>.<FRED>0<FRED>4<FRED>.<FRED>0<FRED>3<FRED>_<FRED>0<FRED>1<FRED>-<FRED>3<FRED>5<FRED>_<FRED>s<FRED>f<FRED>2<FRED>_<FRED>1<FRED>0<FRED>5<FRED>_<FRED>T<FRED>V<FRED>O<FRED>O<FRED>N<FRED>_<FRED>D<FRED>E<FRED>.<FRED>m<FRED>p<FRED>g<FRED>.<FRED>H<FRED>D<FRED>
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node usercomment failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node filename failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node autoname failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung3p.cutlists:__read_value:433 Reading node autoname failed. Returning empty string.
I:decodeorcut:DecodeOrCut:cut:457 [Decodeandcut] Datei /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/uncut/Ant_Man_and_the_Wasp_21.04.03_01-35_sf2_105_TVOON_DE.mpg.HD.avi wird geschnitten
D:cutlists:Cutlist:download:140 video_filename: /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/uncut/Ant_Man_and_the_Wasp_21.04.03_01-35_sf2_105_TVOON_DE.mpg.HD.avi
D:cut:DecodeOrCut:get_format:106 function start
D:cut:DecodeOrCut:get_format:117 get_format:get_codeccore: 0
D:cut:DecodeOrCut:get_format:138 vformat = Format.HD2, value: 5
I:cutlists:Cutlist:read_cuts:214 Append seconds:  471.8312084, 6405.5959583
D:config:Config:get_program:173 program value: /usr/bin/ffmpeg
D:config:Config:get_program:175 intern_program: /usr/bin/ffmpeg
D:cut:DecodeOrCut:analyse_mediafile:465 FPS: 50.0
D:cut:DecodeOrCut:analyse_mediafile:477 fps: 50.0, dar: 16:9, sar: 1:1, max_frames: 362442.0, ac3_stream: None, 
I:decodeorcut:DecodeOrCut:cut_file_by_cutlist:603 Calculate frame values from seconds.
D:config:Config:get_program:173 program value: /usr/bin/mkvmerge
D:config:Config:get_program:175 intern_program: /usr/bin/mkvmerge
D:config:Config:get_program:173 program value: /usr/bin/x264
D:config:Config:get_program:175 intern_program: /usr/bin/x264
D:config:Config:get_program:173 program value: /usr/bin/ffmpeg
D:config:Config:get_program:175 intern_program: /usr/bin/ffmpeg
D:config:Config:get_program:173 program value: /usr/bin/ffmpeg
D:config:Config:get_program:175 intern_program: /usr/bin/ffmpeg
D:cut:CutSmartMkvmerge:analyse_mediafile:465 FPS: 50.0
D:cut:CutSmartMkvmerge:analyse_mediafile:477 fps: 50.0, dar: 16:9, sar: 1:1, max_frames: 362442.0, ac3_stream: None, 
D:cutsmartmkvmerge:CutSmartMkvmerge:cut_file_by_cutlist:113 cutlist.cuts_frames: [(23592, 320280)]
D:cutsmartmkvmerge:CutSmartMkvmerge:cut_file_by_cutlist:114 cutlist.cuts_seconds: [(471.8312084, 6405.5959583)]
D:cut:CutSmartMkvmerge:get_format:106 function start
D:cut:CutSmartMkvmerge:get_format:117 get_format:get_codeccore: 0
D:cut:CutSmartMkvmerge:get_format:138 vformat = Format.HD2, value: 5
D:config:Config:get_program:173 program value: /usr/bin/ffmpeg
D:config:Config:get_program:175 intern_program: /usr/bin/ffmpeg
D:cut:CutSmartMkvmerge:analyse_mediafile:465 FPS: 50.0
D:cut:CutSmartMkvmerge:analyse_mediafile:477 fps: 50.0, dar: 16:9, sar: 1:1, max_frames: 362442.0, ac3_stream: None, 
D:cutsmartmkvmerge:CutSmartMkvmerge:cut_file_by_cutlist:224 flag_singlethread: False
D:cutsmartmkvmerge:CutSmartMkvmerge:cut_file_by_cutlist:248 Command: ['/usr/bin/mkvmerge', '--ui-language', 'en_US', '-D', '--split', 'parts:00:07:51.831208-01:54:37.427167', '-o', '/tmp/audio_copy.mkv', '/mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/uncut/Ant_Man_and_the_Wasp_21.04.03_01-35_sf2_105_TVOON_DE.mpg.HD.avi']
D:config:Config:get_program:173 program value: /usr/bin/ffmsindex
D:config:Config:get_program:175 intern_program: /usr/bin/ffmsindex
D:cut:CutSmartMkvmerge:show_indexing_progress:599 Function start
D:cut:CutSmartMkvmerge:show_indexing_progress:610 Outer while break
D:fileoperations:otrverwaltung3p.fileoperations:remove_file:59 Remove /mnt/8d2954fc-ff7f-41e1-9784-945a947b25b0/OnlineTvRecorder/Downloads/uncut/Ant_Man_and_the_Wasp_21.04.03_01-35_sf2_105_TVOON_DE.mpg.HD.avi.ffindex
W:cutsmartmkvmerge:CutSmartMkvmerge:__simulate_smart_mkvmerge:700 Exception: list index out of range
D:otrverwaltung3p:App:perform_action:840 last_marked_row model length: 9
D:otrverwaltung3p:App:perform_action:841 last_marked_row: 0
D:conclusions:ConclusionsManager:show_conclusions:134 Move to archive?
D:conclusions:ConclusionsManager:show_conclusions:139 False
D:conclusions:ConclusionsManager:show_conclusions:187 Create cutlist: False
D:conclusions:ConclusionsManager:show_conclusions:256 Rate cutlists

Conf: TypeError: new() missing 1 required positional argument: 'mode'

Starting otr-verwaltung3p for the second time gives the following problem:

Traceback (most recent call last):
File "./bin/otrverwaltung", line 1023, in
app = App()
File "./bin/otrverwaltung", line 264, in init
self.config.load()
File "/home/username/otr-verwaltung3p/otrverwaltung/config.py", line 126, in load
decryption_suite = AES.new(base64.b64decode(json_config['general']['aes_key'].encode('utf-8')))
TypeError: new() missing 1 required positional argument: 'mode'

Potential Solution:
add the AES.mode to the decryption_suite (otrverwaltung/config.py lines 89 and 126):
encryption_suite = AES.new(base64.b64decode(self.__fields['general']['aes_key'].encode('utf-8')), AES.MODE_CBC)
and
decryption_suite = AES.new(base64.b64decode(json_config['general']['aes_key'].encode('utf-8')), AES.MODE_CBC)

Can't cut HD Files

When I try to cut a HD file I got following stack-trace:

otr-verwaltung3p, version 1.0.0-beta002
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/MainWindow.py", line 753, in _on_toolbutton_clicked
    self.app.perform_action(action, cut_action)
  File "/usr/bin/otrverwaltung3p", line 688, in perform_action
    action.do(chosen_action, filenames, cut_action)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 85, in do
    if self.cut(file_conclusions, action, cut_action) == False:
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 430, in cut
    cut_video, ac3_file, error = self.cut_file_by_cutlist(file_conclusion.uncut_video,
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 576, in cut_file_by_cutlist
    cut_video, error = cutter.cut_file_by_cutlist(filename, cutlist)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/cutsmartmkvmerge.py", line 116, in cut_file_by_cutlist
    codec, codec_core = self.ffmpeg_codec_options(
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/cut.py", line 622, in ffmpeg_codec_options
    if 'x264' in self.media_info.tracks[1].writing_library:
TypeError: argument of type 'NoneType' is not iterable

Any idea? I installed it with https://aur.archlinux.org/packages/otr-verwaltung3p-dev/ on my arch linux system.

FFMPEG is installed:

ffmpeg version n4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100

CutInterface GTK Version 3.20

When i want to open the CutIntferace i got the following error:

Traceback (most recent call last):
File "/home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/gui/MainWindow.py", line 669, in _on_toolbutton_clicked
self.app.perform_action(action, cut_action)
File "otrverwaltung", line 645, in perform_action
action.do(chosen_action, filenames, cut_action)
File "/home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 82, in do
if self.cut(file_conclusions, action, cut_action) == False:
File "/home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 323, in cut
error_message, cutlist = self.cut_file_manually(file_conclusion.uncut_video)
File "/home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 463, in cut_file_manually
ci = CutinterfaceDialog.NewCutinterfaceDialog(self.gui)
File "/home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/gui/CutinterfaceDialog.py", line 1113, in NewCutinterfaceDialog
builder.add_from_file(glade_filename)
GLib.Error: gtk-builder-error-quark: /home/baum/Entwicklung/otr-verwaltung3p/otrverwaltung/../data/ui/CutinterfaceDialog.glade:5:1 Required gtk+ version 3.20, current version is 3.18 (7)

It looks like the new CutIntferace has gtk version 3.20. Linux MInt 18.3 runs with gtk 3.18

solved: PyGTK/GTK is missing

Hi,

I installed otr-verwaltung3p with otrv3p-install-deb.sh on a minimal Ubuntu 18.04 system and got the error message "PyGTK/GTK is missing".

After installing the package "gir1.2-gtk-3.0" it runs.

I would be nice, if you could add the installation of "gir1.2-gtk-3.0" in otrv3p-install-deb.sh.

Thanks for your work,
Hauke

AES stuff doesn't work with pycryprodome 3.7.3-1 on Artixlinux

File "bin/otrverwaltung", line 1026, in <module>
    app.config.save()
  File "~/otr-verwaltung3p/otrverwaltung/config.py", line 90, in save
    cipher_text = EncodeAES(encryption_suite, self.__fields['general']['password'])
  File "~/otr-verwaltung3p/otrverwaltung/config.py", line 88, in <lambda>
    EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s)))
  File "/usr/lib/python3.7/site-packages/Crypto/Cipher/_mode_ecb.py", line 135, in encrypt
    c_uint8_ptr(plaintext),
  File "/usr/lib/python3.7/site-packages/Crypto/Util/_raw_api.py", line 144, in c_uint8_ptr
    raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code

Solution:
Change otrverwaltung/config.py:88 from

EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s)))

to

EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s).encode('UTF-8')))

otr-verwaltung3p does not launch on WSL2 Ubuntu 20.04

Trying to launch otr-verwaltung3p on Ubuntu 20.04 (fully updated) under WSL2 yields the following error.

otr-verwaltung3p, version 1.0.0b8.post4
E:config:Config:load:141 Config file is not available. ([Errno 2] No such file or directory: '/home/tim/.config/otrverwaltung3p/conf') Using default configuration.
Traceback (most recent call last):
  File "/usr/bin/otrverwaltung3p", line 1267, in <module>
    app = App()
  File "/usr/bin/otrverwaltung3p", line 358, in __init__
    self.__gui = gui.Gui(self)  # for backwards compability
  File "/usr/lib/python3/dist-packages/otrverwaltung3p/gui/gui.py", line 57, in __init__
    self.main_window.post_init()
  File "/usr/lib/python3/dist-packages/otrverwaltung3p/gui/MainWindow.py", line 79, in post_init
    self.__setup_toolbar()
  File "/usr/lib/python3/dist-packages/otrverwaltung3p/gui/MainWindow.py", line 163, in __setup_toolbar
    image.show()
UnboundLocalError: local variable 'image' referenced before assignment

Tutorial used to set up WSL2 for GUI apps: https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242

glxgears runs fine when disabling native openGL at launch of XLaunch.
gedit also works as expected.

otr-verwaltung3p was installed using dpkg -i followed by apt install -f

Results screen not shown

On Ubuntu 19.10 showing the result screen after decrypting and cutting videos is not shown. Instead I see following output:

Traceback (most recent call last):
  File "/home/fermat/otr-verwaltung3p/otrverwaltung/gui/MainWindow.py", line 553, in on_button_show_conclusion_clicked
    self.app.conclusions_manager.show_conclusions()
  File "/home/fermat/otr-verwaltung3p/otrverwaltung/conclusions.py", line 94, in show_conclusions
    self.app.config.get('general', 'folder_archive'))
  File "/home/fermat/otr-verwaltung3p/otrverwaltung/gui/ConclusionDialog.py", line 91, in _run
    self.combobox_archive.fill(archive_directory)
  File "/home/fermat/otr-verwaltung3p/otrverwaltung/gui/widgets/FolderChooserComboBox.py", line 61, in fill
    image = Gtk.IconTheme.get_default().load_icon('folder', 16, Gtk.IconLookupFlags.USE_BUILTIN)

The idon "folder" does not exist. I changed this to folder-symbolic and it worked again. Pull Request will follow...

Schneiden bleibt stehen

Hallo,

beim Versuch, einige Dateien (z.B. Brokenwood_Mord_in_Neuseeland_20.05.31_21-45_ard_90_TVOON_DE.mpg.HD.avi) nach dem Dekodieren zu schneiden, bleibt der Statusbalken in der Oberfläche stehen. Auf der Kommandozeile gibt es folgenden Stacktrace:

Traceback (most recent call last):
File "/home/user/otr-verwaltung3p/otrverwaltung/gui/MainWindow.py", line 740, in _on_toolbutton_clicked
self.app.perform_action(action, cut_action)
File "./otr-verwaltung3p/bin/otrverwaltung", line 679, in perform_action
action.do(chosen_action, filenames, cut_action)
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 82, in do
if self.cut(file_conclusions, action, cut_action) == False:
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 403, in cut
file_conclusion.cut.cutlist, None)
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 543, in cut_file_by_cutlist
cut_video, error = cutter.cut_file_by_cutlist(filename, cutlist)
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/cutsmartmkvmerge.py", line 117, in cut_file_by_cutlist
self.config.get('smartmkvmerge', 'ffmpeg_hd_x264_options').split(' '), filename)
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/cut.py", line 591, in ffmpeg_codec_options
codec_core = int(self.media_info.tracks[1].writing_library.split(' ')[2])
AttributeError: 'NoneType' object has no attribute 'split'

"file" gibt folgendes aus:
Brokenwood_Mord_in_Neuseeland_20.05.31_21-45_ard_90_TVOON_DE.mpg.HD.avi: RIFF (little-endian) data, AVI, 1280 x 720, >30 fps, video: H.264 X.264 or H.264, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

Auf dem Rechner läuft Ubuntu 18.04.4 LTS.

Wäre toll, wenn Ihr das korrigieren könntet :-)

Cu Hauke

'CutinterfaceDialog' object has no attribute 'movie_box'

Hello,

I have been using otr-verwaltung3p for a while and today I encountered the following exception when trying to manually cut a video.
Since I cleaned up some packages yesterday, I might have removed a dependency accidentally BUT reinstalling otr-verwaltung3p from GitHub and the AUR result in the same exception.
The issue also occured before updating to the latest version and it (probably) also occurs in master.

If you need more info about the packages installed on my system or info about the file I will gladly try to help but this looks like a bug in the CutInterfaceDialog.

Exception:

otr-verwaltung3p, version 1.0.0-beta002
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/widgets/movieBox.py", line 17, in __init__
    self.movie_widget = self.gtksink.props.widget
AttributeError: 'NoneType' object has no attribute 'props'
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/CutinterfaceDialog.py", line 63, in do_parser_finished
    self.movie_box = self.builder.get_object('movie_box').movie_widget
AttributeError: 'MovieBox' object has no attribute 'movie_widget'
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/MainWindow.py", line 753, in _on_toolbutton_clicked
    self.app.perform_action(action, cut_action)
  File "/usr/bin/otrverwaltung3p", line 688, in perform_action
    action.do(chosen_action, filenames, cut_action)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 85, in do
    if self.cut(file_conclusions, action, cut_action) == False:
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 361, in cut
    error_message, cutlist = self.cut_file_manually(file_conclusion.uncut_video)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 514, in cut_file_manually
    cutlist = ci._run(filename, local_cutlist, self.app)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/CutinterfaceDialog.py", line 171, in _run
    self.movie_box.set_size_request(self.config.get('general', 'cutinterface_resolution_x'),
AttributeError: 'CutinterfaceDialog' object has no attribute 'movie_box'

installscript fails to log

Hi,

the deb install script fails to log at least on mint, as root is not permitted to append to a tmp file of another user:

$ id -u | tee -a /tmp/test.log
1000
$ sudo bash -c "id -u | tee -a /tmp/test.log"
tee: /tmp/test.log: Permission denied
0

ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0: undefined symbol: PyString_Type

At start of otr-verwaltung3p i get the given error on my debian 10 (buster) system:

Traceback (most recent call last):
File "./bin/otrverwaltung", line 110, in
from otrverwaltung.actions import actions
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/actions.py", line 21, in
from otrverwaltung.actions import download
File "/home/user/otr-verwaltung3p/otrverwaltung/actions/download.py", line 22, in
from otrverwaltung.gui import AddDownloadDialog
File "/home/user/otr-verwaltung3p/otrverwaltung/gui/AddDownloadDialog.py", line 17, in
import libtorrent as lt
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0: undefined symbol: PyString_Type

I can not solve this problem.
Tried to install different versions of libboost-python1.67.0, same problem.
Also tried in a virtual machine with a fresh kali system. Same problem.

Installation unter Fedora

Hallo,
ich nutze das Tool schon lange unter Ubuntu. Nun bin ich auf Fedora umgeschwugen. Leider weiß ich nicht wie ich es hier installieren kann. Könnte mir da jemand ein paar Tips geben.?

AttributeError in actions/cut.py

Leider funktioniert bei mir seit neuestem (ws. ein Update eines Python-Pakets) das Schneiden nicht mehr:

D:config:Config:get:68 [general][server]: http://cutlist.at/
D:config:Config:get:68 [general][choose_cutlists_by]: 1
D:config:Config:get:68 [general][cutlist_mp4_as_hq]: False
D:cutlists:otrverwaltung.cutlists:download_cutlists:336 Download from : http://cutlist.at/getxml.php?name=Ostwind_III_Aufbruch_nach_Ora_20.12.27_05-30_ard_100_TVOON_DE.mpg.HD
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node rating failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node autoname failed. Returning empty string.
D:config:Config:get:68 [general][server]: http://cutlist.at/
D:config:Config:get:68 [general][choose_cutlists_by]: 1
D:config:Config:get:68 [general][cutlist_mp4_as_hq]: False
D:cutlists:otrverwaltung.cutlists:download_cutlists:336 Download from : http://cutlist.at/getxml.php?name=Ostwind_III_Aufbruch_nach_Ora_20.12.27_05-30_ard_100_TVOON_DE.mpg.HD
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node rating failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node actualcontent failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node othererrordescription failed. Returning empty string.
D:cutlists:otrverwaltung.cutlists:__read_value:404 Reading node autoname failed. Returning empty string.
I:decodeorcut:DecodeOrCut:cut:392 [Decodeandcut] Datei /home/robert/otr/2-decoded/Ostwind_III_Aufbruch_nach_Ora_20.12.27_05-30_ard_100_TVOON_DE.mpg.HD.avi wird geschnitten
D:config:Config:get:68 [general][server]: http://cutlist.at/
D:config:Config:get:68 [general][cut_avis_by]: SmartMKVmerge
D:config:Config:get:68 [general][cut_hqs_by]: SmartMKVmerge
D:config:Config:get:68 [general][cut_hqs_by]: SmartMKVmerge
D:config:Config:get:68 [general][cut_mp4s_by]: SmartMKVmerge
D:cut:DecodeOrCut:get_format:64 function start
I:cutlists:Cutlist:read_cuts:202 Append frames: 21661, 302526
I:cutlists:Cutlist:read_cuts:208 Append seconds:  433.22, 6050.52
D:config:Config:get:68 [smartmkvmerge][workingdir]: /tmp
D:config:Config:get:68 [smartmkvmerge][workingdir]: /tmp
D:config:Config:get:68 [smartmkvmerge][workingdir]: /tmp
D:config:Config:get:68 [smartmkvmerge][workingdir]: /tmp
D:cutsmartmkvmerge:CutSmartMkvmerge:cut_file_by_cutlist:89 FFMPEG: /home/robert/otr/otr-verwaltung3p/otrverwaltung/../data/tools/intern-ffmpeg
D:config:Config:get:68 [smartmkvmerge][encoder_engine]: ffmpeg
D:cut:CutSmartMkvmerge:analyse_mediafile:303 FPS: 50.0
D:cut:CutSmartMkvmerge:analyse_mediafile:315 Leave function
D:cut:CutSmartMkvmerge:get_format:64 function start
D:config:Config:get:68 [smartmkvmerge][ffmpeg_hd_x264_options]: crf=23:deblock=-1/-1:psy-rd=1/0.15:direct=auto:force-cfr=1:b-adapt=2:rc-lookahead=60:weightp=0:aq-mode=2
D:cut:CutSmartMkvmerge:analyse_mediafile:303 FPS: 50.0
D:cut:CutSmartMkvmerge:analyse_mediafile:315 Leave function 
Traceback (most recent call last):
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/gui/MainWindow.py", line 740, in _on_toolbutton_clicked
    self.app.perform_action(action, cut_action)
  File "./otrverwaltung", line 679, in perform_action
    action.do(chosen_action, filenames, cut_action)
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 82, in do
    if self.cut(file_conclusions, action, cut_action) == False:
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 402, in cut
    cut_video, ac3_file, error = self.cut_file_by_cutlist(file_conclusion.uncut_video,
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 543, in cut_file_by_cutlist
    cut_video, error = cutter.cut_file_by_cutlist(filename, cutlist)
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/actions/cutsmartmkvmerge.py", line 116, in cut_file_by_cutlist
    codec, codec_core = self.ffmpeg_codec_options(
  File "/home/robert/otr/otr-verwaltung3p/otrverwaltung/actions/cut.py", line 591, in ffmpeg_codec_options
    codec_core = int(self.media_info.tracks[1].writing_library.split(' ')[2])
AttributeError: 'NoneType' object has no attribute 'split'

Leider sagt mir der Fehler garnichts.

CutInterface with black Screen

The CutInterface is not playing the video, drawingarea is black, but the audio is playing.

@gCurse can you pls run otr cutinterface in debugmode with the branch GstreamerDebug.
Maybe we can find the error im detail log.
For more information we can change the log level.

Here is my logfile:
Gstreamer debug log with log level Error:
gstreamererrordebuglog

otr-verwaltung3p startet nicht mit "SyntaxError"

OpenSUSE Leap 15.2, otr-verwaltung3p gerade eben frisch installiert mit dem Skript. Ausgabe des Skriptes (nachdem ich es ein zweites Mal habe laufen lassen):

abc@Linux:~/Downloads> ./otrv3p-install-opensuse_leap-dev.sh 
./otrv3p-install-opensuse_leap-dev.sh: Zeile 155: [: Zu viele Argumente.

Die Installation wird in zwei Schritten durchgeführt werden:

    1. Installation der Abhängigkeiten (Root-Rechte benötigt).
    2. Installation der otr-verwaltung3p (ohne Root-Rechte).


Das läuft automatisch ab. Bereit? Dann weiter mit der Eingabetaste, abbrechen mit Strg-C

otrv3p: Start sudo ./otrv3p-install-opensuse_leap-dev.sh deps
[sudo] Passwort für root: 
otrv3p:install_deps: Installiere Abhängigkeiten
Alle Abhängigkeiten sind (jetzt) installiert.

otrv3p: Start ./otrv3p-install-opensuse_leap-dev.sh prog
otrv3p:install_otrv3p_git: Das Verzeichnis /home/abc/otr-verwaltung3p existiert. Das Repo wird nicht geklont.
fatal: Branch 'development' existiert bereits.
otrv3p:install_otrv3p_git: Bestehendes Repo wurde auf den development-Branch umgestellt.
Bereits aktuell.
otrv3p:create_desktop_file: Erzeuge otrv3p-git.desktop in /home/abc/.local/share/applications
otrv3p:install_otrv3p_git: Updating desktop database


Please report any issues at https://github.com/EinApfelBaum/otr-verwaltung3p/issues

Nach dem Startversuch kommt dann das:

abc@Linux:~> /home/abc/otr-verwaltung3p/bin/otrverwaltung3p
Traceback (most recent call last):
  File "/home/abc/otr-verwaltung3p/bin/otrverwaltung3p", line 114, in <module>
from otrverwaltung3p.actions import actions
  File "/home/abc/otr-verwaltung3p/otrverwaltung3p/actions/actions.py", line 18, in <module>
from otrverwaltung3p.actions import decodeorcut
  File "/home/abc/otr-verwaltung3p/otrverwaltung3p/actions/decodeorcut.py", line 40, in <module>
from otrverwaltung3p.gui import CutinterfaceDialog
  File "<fstring>", line 1
    (self.getVideoLength = )
                         ^
SyntaxError: invalid syntax

OTR Verwaltung 3p crashes with UnicodeDecodeError when easydecoder reports errors

Hi,
I noticed that when you try to decode a otrkey file that was downloaded from a time, when you didn't have premium status, it simply hangs.
In the UI there is no error message presented or whatsoever, which is quite confusing, because it took me a while to find out, that I didn't have Premium back then.
In console i found the following:

~ >>> otrverwaltung3p                                                     [130]
otr-verwaltung3p, version 1.0.0b8.post1
Gdk-Message: 23:00:21.641: Window 0x5616f90f85f0 is a temporary window without parent, application will not be able to position it on screen.

(otrverwaltung3p:75369): Gdk-CRITICAL **: 23:00:21.643: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/gui/MainWindow.py", line 890, in _on_toolbutton_clicked
    self.app.perform_action(action, cut_action)
  File "/usr/bin/otrverwaltung3p", line 770, in perform_action
    action.do(chosen_action, filenames, cut_action)
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 82, in do
    if not self.decode(file_conclusions):
  File "/usr/lib/python3.8/site-packages/otrverwaltung3p/actions/decodeorcut.py", line 293, in decode
    errors = process.stderr.readlines()
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 77: invalid start byte
~ >>>                                                                          

If the OnlineTvRecoder API returns a error if the decoding request is not valid because of missing premium, it would be nice to present this error message to the user.

CutInterface doesn't work in some installations (related to missing video acceleration?)

When opening the Cutinterface in virtualbox the video is displayed in a separate "OpenGL-renderer" window aside of the Cutinterface. Navigation buttons do work.

This can be fixed by adding the following code after line ~220: self.playbin = Gst.ElementFactory.make('playbin', None)

self.videosink = Gst.ElementFactory.make("ximagesink", "ximagesink")
self.playbin.set_property("video-sink", self.videosink)

Cutinterface of otrv++ works in virtualbox.

Missing lib.pymediainfo in v3.3.1-A

The file otr-verwaltung3p/lib/pymediainfo.py is missing in version v3.3.1-A.

$ bin/otrverwaltung
Traceback (most recent call last):
  File "bin/otrverwaltung", line 110, in <module>
    from otrverwaltung.actions import actions
  File "otrverwaltung/actions/actions.py", line 17, in <module>
    from otrverwaltung.actions import decodeorcut
  File "otrverwaltung/actions/decodeorcut.py", line 32, in <module>
    from otrverwaltung.gui import CutinterfaceDialog
  File "otrverwaltung/gui/CutinterfaceDialog.py", line 24, in <module>
    from otrverwaltung.actions.cut import Cut
  File "otrverwaltung/actions/cut.py", line 27, in <module>
    from lib.pymediainfo import MediaInfo
ModuleNotFoundError: No module named 'lib'
$

Feature request: Add options for renaming

Requested in otrforum.com

Vielleicht wäre es auch sinnvoll, in den Einstellungen unter Umbennenen mehrere Optionen anzubieten:

  • Manuell umbenennen (Original Dateiname als Vorlage) = original filename
  • Vorgeschlagener Dateiname (falls in cutlist vergeben) = suggested filename from cutlist
  • nach Schema umbenennen = automatic rename according stored rename scheme

This relates to which kind of filename is listed first in the conclusiondialog's rename combobox.

Decode: error, when E-Mail and password is not set in config

Install otr3p with the install script for ubuntu/linux mint.
At the first start I was asked, to set the location.
At the second start I was asked, to set E-Mail and Password.
When I click the decode button and I have not configured E-Mail and password i get this error:

Traceback (most recent call last):
File "/home/baum/otr-verwaltung3p/otrverwaltung/gui/MainWindow.py", line 669, in _on_toolbutton_clicked
self.app.perform_action(action, cut_action)
File "otrverwaltung", line 645, in perform_action
action.do(chosen_action, filenames, cut_action)
File "/home/baum/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 77, in do
if self.decode(file_conclusions) == False:
File "/home/baum/otr-verwaltung3p/otrverwaltung/actions/decodeorcut.py", line 133, in decode
self.gui.dialog_email_password.set_email_password(email, password)
File "/home/baum/otr-verwaltung3p/otrverwaltung/gui/EmailPasswordDialog.py", line 38, in set_email_password
self.builder.get_object('entryDialogPassword').set_text(password.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Linux distro: Linux Mint 19

Keyframe forward/backward jump doesn't work for at least recordings of US TV stations

Update 2018-05-30:
ffmsindex -c -k <filename> creates a
keyframe index (.ffindex_track00.kf.txt) and a
timestamp index (.ffindex_track00.tc.txt)
try:
Read timestamp index, make it a dictionary: {frame_number:time_in_nanoseconds, ...}
and use this dict to navigate/jump around.
cut.py(318): def get_timecodes_from_file(self, filename)

Update 2018-05-29:
US recordings:
SD: 29.970 (30000/1001) FPS
HQ: 29.970 (30000/1001) FPS
HD: 59.940 (60000/1001) FPS

With this, time -> frame conversion produces frame numbers with non-zero decimals so comparison to int values in the keyframelist always fails.
I changed time -> frame to time -> round(frame). Seems to work.

Problem:
HD.avi: Keyframe list (*.ffindex_track00.kf.txt) looks good but the jump hits keyframeposition - 1 and then no further jump is possible without advancing to another position by other means (stuck).

otrv3p-install-opensuse_leap.sh: Zeile 157: check_pack: Kommando nicht gefunden.

Hello,

two errors in otrv3p-install-opensuse_leap.sh:

  1. My openSUSE runs with a german localization. So the "zypper repos" gives a "Ja" instead of a "Yes" for an installed package. I fixed that in line 157 with a shortly hacked regex. Please see line below

  2. Script threw the error "Zeile 157: check_pack: Kommando nicht gefunden."
    This is caused by leading and trainling spaces at the "="
    Old
    157 check_pack = $(zypper repos | grep -i packman | grep -i Yes )

New:
157 check_pack=$(zypper repos | grep -i packman | grep -Ei "Ja|Yes" )

cat /etc/SUSE-brand
openSUSE
VERSION = 15.0

Regards,
Chris

headless mode

Is there a possibility to have otrkey files processed (decoded and cut if cutlist is available) without user interaction?

Installation, Befehl nicht gefunden

Hallo Entwickler,
erstmal danke für dieses tolle Programm (Nutze es auch unter Ubuntu).

Bei der installation mit dem otrv3p-install-opensuse_leap.sh script, traten 2 fehler auf!

2021-08-03_20:08:04 LOG BEGINS

otrv3p: Start sudo otrv3p-install-opensuse_leap.sh deps
otrv3p: Start otrv3p-install-opensuse_leap.sh prog

Packman ist aktiviert.
Meine Version OpenSuse Leap 15.3

trying to manual cut ends in [intern-ffmsinde] <defunct>

Hi,

I updated yesterday to version 3.3.0-A (commit 75b6ba3, this is head of master up to now). Try to cut a movie manually the gui shows "Datei wird indiziert" with a progress bar stopping somewhere and nothing else happens (even waiting for 10 Minutes, I was getting a coffee when I tried first time). In the process list I see that otr-verwaltung3p spawned a process, which is defunct:

fermat   22712  2046  0 09:09 tty2     00:00:03 python3 /home/fermat/otr-verwaltung3p/bin/otrverwaltung
fermat   23031 22712  0 09:11 tty2     00:00:02 [intern-ffmsinde] <defunct>

I am running it in Ubuntu 18.04 x86_64.

This seems to happen only when trying to cut Griessnockerlaffaere_18.08.07_02-10_ard_90_TVOON_DE.mpg.HD.avi.

Do you have an idea how I can find out what is going wrong?

bests

Sascha

Decoding hangs

When I decode an otrkey file on my arch linux Laptop, otr-verwaltung3p hangs.

The progress bar reaches 100% for "Eingabedatei 1/1 kontrollieren".
Via "top", I see that intern-otrdecoder is in zombie state and the process python3 uses 100% of CPU.

Running in verbose mode only shows this warning:
(otrverwaltung:13824): IBUS-WARNING **: 14:13:25.488: Unable to connect to ibus: Could not connect: Connection refused

Any ideas what might be causing this problem?

Edit:
Not using the intern-otrdecoder but a manually installed one works.

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.