The problem come from local settings: My local is french, in french we use "," for "." on float number. JSON generated from importing a file is corrumpted exemple: The field with french local is: "duration" : 113,1296844482422,
!!!! Duration = 113 next field is 1296844482422 without value !!!! With english local: "duration" : 113.1296844482422, # { # "acodec" : "", # "audio_bit_rate" : 0, # "audio_stream_index" : -1, # "audio_timebase" : { # "den" : 1, # "num" : 1 # }, # "channel_layout" : 4, # "channels" : 0, # "display_ratio" : { # "den" : 9, # "num" : 16 # }, # "duration" : 113,1296844482422, # "file_size" : "565232681", # "fps" : { # "den" : 1001, # "num" : 60000 # }, # "has_audio" : false, # "has_single_image" : false, # "has_video" : true, # "height" : 1080, # "interlaced_frame" : false, # "path" : "/home/yoran/Vidéos/DJI_0024.MP4", # "pixel_format" : 0, # "pixel_ratio" : { # "den" : 1, # "num" : 1 # }, # "sample_rate" : 0, # "top_field_first" : true, # "type" : "FFmpegReader", # "vcodec" : "h264", # "video_bit_rate" : 39970601, # "video_length" : "6781", # "video_stream_index" : 0, # "video_timebase" : { # "den" : 60000, # "num" : 1 # }, # "width" : 1920 # } Solution : You need to force local here : openshot- qt/src/windows/views/files_listview.py Insert this at line 41: import locale locale.setlocale(locale.LC_ALL, 'en_GB.utf8') -- You received this bug notification because you are a member of UBUNTU - AL - BR, which is subscribed to OpenShot Video Editor. https://bugs.launchpad.net/bugs/1522780 Title: ...is not a valid video, audio, or image file. Status in OpenShot Video Editor: Confirmed Bug description: When I want to import any file format of the video material appears that the program does not support it. How to test the OpenShot-qt, when the program does not allow? Architecture (64 bits or 32 bits) : 64bit Operating System & version: Arch linux and Ubuntu 16.04/16.10 (dev) Installation Method : git Version of Openshot installed : 2.0 BZR Revision used (if any) : MLT/melt version: 0.9.8-3 FFmpeg (i.e.libavcodec) version : ffmpeg: 2.8.3 FFmpeg installation : system When you move a file on the time bar: preview_thread:INFO onModeChanged files_model:INFO updating files model. main_window:INFO Loaded project /home/m/o.flv files_model:INFO updating files model. main_window:INFO Loaded project /home/m/o.mkv files_model:INFO updating files model. main_window:INFO Loaded project /home/m/o.mov files_model:INFO updating files model. main_window:INFO Loaded project /home/m/o.mp4 timeline_webview:INFO Dropping file:///home/m/o.flv in timeline. Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/openshot_qt-2.0.0-py3.5.egg/openshot_qt/windows/views/timeline_webview.py", line 518, in dropEvent data = json.loads(event.mimeData().text()) File "/usr/local/lib/python3.5/json/__init__.py", line 319, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.5/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.5/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Aborted (memory dump) To manage notifications about this bug go to: https://bugs.launchpad.net/openshot/+bug/1522780/+subscriptions -- Mailing list: https://launchpad.net/~linux-traipu Post to : linux-traipu@lists.launchpad.net Unsubscribe : https://launchpad.net/~linux-traipu More help : https://help.launchpad.net/ListHelp