LeGoffMael / video_editor

A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection.
https://pub.dev/packages/video_editor
MIT License
403 stars 242 forks source link

Crash on export video function on some devices #9

Closed spatel2212 closed 3 years ago

spatel2212 commented 3 years ago

Crashes on export video function on some devices not in particular Android or iOS. In some android devices, it works fine but crashes or gives export error on some android devices. I have only tested in iPad and it works fine so far but not sure if same issue occurs in other iOS devices.

Is there anything to do with package name while installing the pub? I have tried with "full", "full-lts", "video" but no success. Currently with "full" package, I am facing above issue in few devices. So, I understand that there is nothing related to package name as it works well in some devices.

reverie-ss commented 3 years ago

I am also getting error on export.

Attaching the whole error code here:

Device: Redmi Note 7S

_I/flutter (31813): null I/flutter (31813): ERROR ON EXPORT VIDEO (CODE 1) D/flutter-ffmpeg(31813): Getting media information for /data/user/0/package.name/cache/image_picker6811377873748785591.jpg. D/flutter-ffmpeg(31813): Getting media information for /data/user/0/package.name/cache/image_picker6811377873748785591.jpg. V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "streams": [ V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "index": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_name": V/mobile-ffmpeg(31813): "h264" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_long_name": V/mobile-ffmpeg(31813): "unknown" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "profile": V/mobile-ffmpeg(31813): "66" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_type": V/mobile-ffmpeg(31813): "video" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_time_base": V/mobile-ffmpeg(31813): "15723/944000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag_string": V/mobile-ffmpeg(31813): "avc1" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag": V/mobile-ffmpeg(31813): "0x31637661" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "width": 640 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "height": 352 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "coded_width": 640 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "coded_height": 352 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "has_b_frames": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "pix_fmt": V/mobile-ffmpeg(31813): "yuv420p" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "level": 30 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "color_range": V/mobile-ffmpeg(31813): "tv" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "color_primaries": V/mobile-ffmpeg(31813): "bt470bg" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "chroma_location": V/mobile-ffmpeg(31813): "left" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "refs": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "is_avc": V/mobile-ffmpeg(31813): "true" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nal_length_size": V/mobile-ffmpeg(31813): "4" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "r_frame_rate": V/mobile-ffmpeg(31813): "30/1" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "avg_frame_rate": V/mobile-ffmpeg(31813): "472000/15723" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "time_base": V/mobile-ffmpeg(31813): "1/90000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_pts": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_time": V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration_ts": 707535 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration": V/mobile-ffmpeg(31813): "7.861500" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bit_rate": V/mobile-ffmpeg(31813): "2069866" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bits_per_raw_sample": V/mobile-ffmpeg(31813): "8" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nb_frames": V/mobile-ffmpeg(31813): "236" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "disposition": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "default": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "dub": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "original": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "comment": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "lyrics": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "karaoke": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "forced": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "hearing_impaired": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "visual_impaired": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "clean_effects": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "attached_pic": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "timed_thumbnails": 0 V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "tags": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "rotate": V/mobile-ffmpeg(31813): "90" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "language": V/mobile-ffmpeg(31813): "und" V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "side_data_list": [ V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "side_data_type": V/mobile-ffmpeg(31813): "Display Matrix" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "displaymatrix": V/mobile-ffmpeg(31813): "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "rotation": -90 V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): ] V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "index": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_name": V/mobile-ffmpeg(31813): "aac" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_long_name": V/mobile-ffmpeg(31813): "unknown" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "profile": V/mobile-ffmpeg(31813): "1" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_type": V/mobile-ffmpeg(31813): "audio" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_time_base": V/mobile-ffmpeg(31813): "1/48000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag_string": V/mobile-ffmpeg(31813): "mp4a" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag": V/mobile-ffmpeg(31813): "0x6134706d" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "sample_fmt": V/mobile-ffmpeg(31813): "fltp" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "sample_rate": V/mobile-ffmpeg(31813): "48000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "channels": 2 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "channel_layout": V/mobile-ffmpeg(31813): "stereo" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bits_per_sample": 0 E/mobile-ffmpeg(31813): MediaInformation parsing failed. E/mobile-ffmpeg(31813): org.json.JSONException: Names must be strings, but {"streams":[{"index":0,"codec_name":"h264","codec_long_name":"unknown","profile":"66","codec_type":"video","codec_time_base":"15723\/944000","codec_tag_string":"avc1","codec_tag":"0x31637661","width":640,"height":352,"coded_width":640,"coded_height":352,"has_b_frames":0,"pix_fmt":"yuv420p","level":30,"color_range":"tv","color_primaries":"bt470bg","chroma_location":"left","refs":1,"is_avc":"true","nal_length_size":"4","r_frame_rate":"30\/1","avg_frame_rate":"472000\/15723","time_base":"1\/90000","start_pts":0,"start_time":"0.000000","duration_ts":707535,"duration":"7.861500","bit_rate":"2069866","bits_per_raw_sample":"8","nb_frames":"236","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"rotate":"90","language":"und"},"side_data_list":[{"side_data_type":"Display Matrix","displaymatrix":"\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n","rotation":-90}]},{"index":1,"codec_name":"aac","codec_long_name":"unknown","profile":"1","codec_type":"audio","codec_time_base":"1\/48000","codec_tag_string":"mp4a","codec_tag":"0x6134706d","sample_fmt":"fltp","sample_rate":"48000","channels":2,"channel_layout":"stereo","bits_per_sample":0,"r_frame_rate":"0\/0","avg_frame_rate":"0\/0","time_base":"1\/48000","start_pts":0,"start_time":"0.000000","duration_ts":379023,"duration":"7.896312","bit_rate":"96001","max_bit_rate":"96000","nb_frames":"370","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"language":"und"}}],"format":{"filename":"\/data\/user\/0\/package.name\/cache\/image_picker6811377873748785591.jpg","nb_streams":2,"nb_programs":0,"format_name":"mov,mp4,m4a,3gp,3g2,mj2","start_time":"0.000000","duration":"7.896313","size":"2133914","bit_rate":"2161934","probe_score":100,"tags":{"major_brand":"mp42","minor_version":"0","compatible_brands":"mp42isom"}}} is of type org.json.JSONObject at character 3850 of { E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "streams": [ E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "index": 0, E/mobile-ffmpeg(31813): "codec_name": "h264", E/mobile-ffmpeg(31813): "codec_long_name": "unknown", E/mobile-ffmpeg(31813): "profile": "66", E/mobile-ffmpeg(31813): "codec_type": "video", E/mobile-ffmpeg(31813): "codec_time_base": "15723/944000", E/mobile-ffmpeg(31813): "codec_tag_string": "avc1", E/mobile-ffmpeg(31813): "codec_tag": "0x31637661", E/mobile-ffmpeg(31813): "width": 640, E/mobile-ffmpeg(31813): "height": 352, E/mobile-ffmpeg(31813): "coded_width": 640, E/mobile-ffmpeg(31813): "coded_height": 352, E/mobile-ffmpeg(31813): "has_b_frames": 0, E/mobile-ffmpeg(31813): "pix_fmt": "yuv420p", E/mobile-ffmpeg(31813): "level": 30, E/mobile-ffmpeg(31813): "color_range": "tv", E/mobile-ffmpeg(31813): "color_primaries": "bt470bg", E/mobile-ffmpeg(31813): "chroma_location": "left", E/mobile-ffmpeg(31813): "refs": 1, E/mobile-ffmpeg(31813): "is_avc": "true", E/mobile-ffmpeg(31813): "nal_length_size": "4", E/mobile-ffmpeg(31813): "r_frame_rate": "30/1", E/mobile-ffmpeg(31813): "avg_frame_rate": "472000/15723", E/mobile-ffmpeg(31813): "time_base": "1/90000", E/mobile-ffmpeg(31813): "start_pts": 0, E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration_ts": 707535, E/mobile-ffmpeg(31813): "duration": "7.861500", E/mobile-ffmpeg(31813): "bit_rate": "2069866", E/mobile-ffmpeg(31813): "bits_per_raw_sample": "8", E/mobile-ffmpeg(31813): "nb_frames": "236", E/mobile-ffmpeg(31813): "disposition": { E/mobile-ffmpeg(31813): "default": 1, E/mobile-ffmpeg(31813): "dub": 0, E/mobile-ffmpeg(31813): "original": 0, E/mobile-ffmpeg(31813): "comment": 0, E/mobile-ffmpeg(31813): "lyrics": 0, E/mobile-ffmpeg(31813): "karaoke": 0, E/mobile-ffmpeg(31813): "forced": 0, E/mobile-ffmpeg(31813): "hearing_impaired": 0, E/mobile-ffmpeg(31813): "visual_impaired": 0, E/mobile-ffmpeg(31813): "clean_effects": 0, E/mobile-ffmpeg(31813): "attached_pic": 0, E/mobile-ffmpeg(31813): "timed_thumbnails": 0 E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "rotate": "90", E/mobile-ffmpeg(31813): "language": "und" E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "side_data_list": [ E/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "r_frame_rate": V/mobile-ffmpeg(31813): "0/0" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "avg_frame_rate": V/mobile-ffmpeg(31813): "0/0" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "time_base": V/mobile-ffmpeg(31813): "1/48000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_pts": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_time": V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration_ts": 379023 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration": V/mobile-ffmpeg(31813): "7.896312" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bit_rate": V/mobile-ffmpeg(31813): "96001" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "max_bit_rate": V/mobile-ffmpeg(31813): "96000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nb_frames": V/mobile-ffmpeg(31813): "370" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "disposition": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "default": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "dub": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "original": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "comment": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "lyrics": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "karaoke": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "forced": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "hearing_impaired": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "visual_impaired": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "clean_effects": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "attached_pic": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "timed_thumbnails": 0 V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "tags": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "language": V/mobile-ffmpeg(31813): "und" V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): ] V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "format": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "filename": V/mobile-ffmpeg(31813): "/data/user/0/package.name/cache/image_picker6811377873748785591.jpg" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nb_streams": 2 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nb_programs": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "format_name": V/mobile-ffmpeg(31813): "mov,mp4,m4a,3gp,3g2,mj2" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_time": V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration": V/mobile-ffmpeg(31813): "7.896313" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "size": V/mobile-ffmpeg(31813): "2133914" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bit_rate": V/mobile-ffmpeg(31813): "2161934" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "probe_score": 100 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "tags": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "major_brand": E/mobile-ffmpeg(31813): "side_data_type": "Display Matrix", E/mobile-ffmpeg(31813): "displaymatrix": "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n", E/mobile-ffmpeg(31813): "rotation": -90 E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ] E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "index": 1, E/mobile-ffmpeg(31813): "codec_name": "aac", E/mobile-ffmpeg(31813): "codec_long_name": "unknown", E/mobile-ffmpeg(31813): "profile": "1", E/mobile-ffmpeg(31813): "codec_type": "audio", E/mobile-ffmpeg(31813): "codec_time_base": "1/48000", E/mobile-ffmpeg(31813): "codec_tag_string": "mp4a", E/mobile-ffmpeg(31813): "codec_tag": "0x6134706d", E/mobile-ffmpeg(31813): "sample_fmt": "fltp", E/mobile-ffmpeg(31813): "sample_rate": "48000", E/mobile-ffmpeg(31813): "channels": 2, E/mobile-ffmpeg(31813): "channel_layout": "stereo", E/mobile-ffmpeg(31813): "bits_per_sample": 0, E/mobile-ffmpeg(31813): "r_frame_rate": "0/0", E/mobile-ffmpeg(31813): "avg_frame_rate": "0/0", E/mobile-ffmpeg(31813): "time_base": "1/48000", E/mobile-ffmpeg(31813): "start_pts": 0, E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration_ts": 379023, E/mobile-ffmpeg(31813): "duration": "7.896312", E/mobile-ffmpeg(31813): "bit_rate": "96001", E/mobile-ffmpeg(31813): "max_bit_rate": "96000", E/mobile-ffmpeg(31813): "nb_frames": "370", E/mobile-ffmpeg(31813): "disposition": { E/mobile-ffmpeg(31813): "default": 1, E/mobile-ffmpeg(31813): "dub": 0, E/mobile-ffmpeg(31813): "original": 0, E/mobile-ffmpeg(31813): "comment": 0, E/mobile-ffmpeg(31813): "lyrics": 0, E/mobile-ffmpeg(31813): "karaoke": 0, E/mobile-ffmpeg(31813): "forced": 0, E/mobile-ffmpeg(31813): "hearing_impaired": 0, E/mobile-ffmpeg(31813): "visual_impaired": 0, E/mobile-ffmpeg(31813): "clean_effects": 0, E/mobile-ffmpeg(31813): "attached_pic": 0, E/mobile-ffmpeg(31813): "timed_thumbnails": 0 E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "language": "und" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ], E/mobile-ffmpeg(31813): "format": { E/mobile-ffmpeg(31813): "filename": "/data/user/0/package.name/cache/image_picker6811377873748785591.jpg", E/mobile-ffmpeg(31813): "nb_streams": 2, E/mobile-ffmpeg(31813): "nb_programs": 0, E/mobile-ffmpeg(31813): "format_name": "mov,mp4,m4a,3gp,3g2,mj2", E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration": "7.896313", E/mobile-ffmpeg(31813): "size": "2133914", E/mobile-ffmpeg(31813): "bit_rate": "2161934", E/mobile-ffmpeg(31813): "probe_score": 100, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "major_brand": "mp42", E/mobile-ffmpeg(31813): "minor_version": "0", E/mobile-ffmpeg(31813): "compatible_brands": "mp42isom" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): E/mobile-ffmpeg(31813): at org.json.JSONTokener.syntaxError(JSONTokener.java:460) E/mobile-ffmpeg(31813): at org.json.JSONTokener.readObject(JSONTokener.java:376) E/mobile-ffmpeg(31813): at org.json.JSONTokener.nextValue(JSONTokener.java:104) E/mobile-ffmpeg(31813): at org.json.JSONObject.(JSONObject.java:164) E/mobile-ffmpeg(31813): at org.json.JSONObject.(JSONObject.java:181) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.fromWithError(MediaInformationParser.java:61) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.from(MediaInformationParser.java:45) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformationFromCommandArguments(FFprobe.java:126) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformation(FFprobe.java:86) E/mobile-ffmpeg(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:51) E/mobile-ffmpeg(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:36) E/mobile-ffmpeg(31813): at android.os.AsyncTask$3.call(AsyncTask.java:378) E/mobile-ffmpeg(31813): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/mobile-ffmpeg(31813): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/mobile-ffmpeg(31813): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/mobile-ffmpeg(31813): at java.lang.Thread.run(Thread.java:919) W/System.err(31813): org.json.JSONException: Names must be strings, but {"streams":[{"index":0,"codec_name":"h264","codec_long_name":"unknown","profile":"66","codec_type":"video","codec_time_base":"15723\/944000","codec_tag_string":"avc1","codec_tag":"0x31637661","width":640,"height":352,"coded_width":640,"coded_height":352,"has_b_frames":0,"pix_fmt":"yuv420p","level":30,"color_range":"tv","color_primaries":"bt470bg","chroma_location":"left","refs":1,"is_avc":"true","nal_length_size":"4","r_frame_rate":"30\/1","avg_frame_rate":"472000\/15723","time_base":"1\/90000","start_pts":0,"start_time":"0.000000","duration_ts":707535,"duration":"7.861500","bit_rate":"2069866","bits_per_raw_sample":"8","nb_frames":"236","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"rotate":"90","language":"und"},"side_data_list":[{"side_data_type":"Display Matrix","displaymatrix":"\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n","rotation":-90}]},{"index":1,"codec_name":"aac","codec_long_name":"unknown","profile":"1","codec_type":"audio","codec_time_base":"1\/48000","codec_tag_string":"mp4a","codec_tag":"0x6134706d","sample_fmt":"fltp","sample_rate":"48000","channels":2,"channel_layout":"stereo","bits_per_sample":0,"r_frame_rate":"0\/0","avg_frame_rate":"0\/0","time_base":"1\/48000","start_pts":0,"start_time":"0.000000","duration_ts":379023,"duration":"7.896312","bit_rate":"96001","max_bit_rate":"96000","nb_frames":"370","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"language":"und"}}],"format":{"filename":"\/data\/user\/0\/package.name\/cache\/image_picker6811377873748785591.jpg","nb_streams":2,"nb_programs":0,"format_name":"mov,mp4,m4a,3gp,3g2,mj2","start_time":"0.000000","duration":"7.896313","size":"2133914","bit_rate":"2161934","probe_score":100,"tags":{"major_brand":"mp42","minor_version":"0","compatible_brands":"mp42isom"}}} is of type org.json.JSONObject at character 3850 of { W/System.err(31813): { W/System.err(31813): "streams": [ W/System.err(31813): { W/System.err(31813): "index": 0, W/System.err(31813): "codec_name": "h264", W/System.err(31813): "codec_long_name": "unknown", W/System.err(31813): "profile": "66", W/System.err(31813): "codec_type": "video", W/System.err(31813): "codec_time_base": "15723/944000", W/System.err(31813): "codec_tag_string": "avc1", W/System.err(31813): "codec_tag": "0x31637661", W/System.err(31813): "width": 640, W/System.err(31813): "height": 352, W/System.err(31813): "coded_width": 640, W/System.err(31813): "coded_height": 352, W/System.err(31813): "has_b_frames": 0, W/System.err(31813): "pix_fmt": "yuv420p", W/System.err(31813): "level": 30, W/System.err(31813): "color_range": "tv", W/System.err(31813): "color_primaries": "bt470bg", W/System.err(31813): "chroma_location": "left", W/System.err(31813): "refs": 1, W/System.err(31813): "is_avc": "true", W/System.err(31813): "nal_length_size": "4", W/System.err(31813): "r_frame_rate": "30/1", W/System.err(31813): "avg_frame_rate": "472000/15723", W/System.err(31813): "time_base": "1/90000", W/System.err(31813): "start_pts": 0, W/System.err(31813): "start_time": "0.000000", W/System.err(31813): "duration_ts": 707535, W/System.err(31813): "duration": "7.861500", W/System.err(31813): "bit_rate": "2069866", W/System.err(31813): "bits_per_raw_sample": "8", W/System.err(31813): "nb_frames": "236", W/System.err(31813): "disposition": { W/System.err(31813): "default": 1, W/System.err(31813): "dub": 0, W/System.err(31813): "original": 0, W/System.err(31813): "comment": 0, W/System.err(31813): "lyrics": 0, W/System.err(31813): "karaoke": 0, W/System.err(31813): "forced": 0, W/System.err(31813): "hearing_impaired": 0, W/System.err(31813): "visual_impaired": 0, W/System.err(31813): "clean_effects": 0, W/System.err(31813): "attached_pic": 0, W/System.err(31813): "timed_thumbnails": 0 W/System.err(31813): }, W/System.err(31813): "tags": { W/System.err(31813): "rotate": "90", W/System.err(31813): "language": "und" W/System.err(31813): }, W/System.err(31813): "side_data_list": [ W/System.err(31813): { W/System.err(31813): "side_data_type": "Display Matrix", W/System.err(31813): "displaymatrix": "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n", V/mobile-ffmpeg(31813): "mp42" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "minor_version": V/mobile-ffmpeg(31813): "0" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "compatible_brands": V/mobile-ffmpeg(31813): "mp42isom" V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "streams": [ V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "index": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_name": V/mobile-ffmpeg(31813): "h264" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_long_name": V/mobile-ffmpeg(31813): "unknown" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "profile": V/mobile-ffmpeg(31813): "66" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_type": V/mobile-ffmpeg(31813): "video" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_time_base": V/mobile-ffmpeg(31813): "15723/944000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag_string": V/mobile-ffmpeg(31813): "avc1" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_tag": V/mobile-ffmpeg(31813): "0x31637661" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "width": 640 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "height": 352 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "coded_width": 640 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "coded_height": 352 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "has_b_frames": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "pix_fmt": V/mobile-ffmpeg(31813): "yuv420p" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "level": 30 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "color_range": V/mobile-ffmpeg(31813): "tv" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "color_primaries": V/mobile-ffmpeg(31813): "bt470bg" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "chroma_location": V/mobile-ffmpeg(31813): "left" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "refs": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "is_avc": V/mobile-ffmpeg(31813): "true" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nal_length_size": V/mobile-ffmpeg(31813): "4" V/mobile-ffmpeg(31813): , W/System.err(31813): "rotation": -90 W/System.err(31813): } W/System.err(31813): ] W/System.err(31813): }, W/System.err(31813): { W/System.err(31813): "index": 1, W/System.err(31813): "codec_name": "aac", W/System.err(31813): "codec_long_name": "unknown", W/System.err(31813): "profile": "1", W/System.err(31813): "codec_type": "audio", W/System.err(31813): "codec_time_base": "1/48000", W/System.err(31813): "codec_tag_string": "mp4a", W/System.err(31813): "codec_tag": "0x6134706d", W/System.err(31813): "sample_fmt": "fltp", W/System.err(31813): "sample_rate": "48000", W/System.err(31813): "channels": 2, W/System.err(31813): "channel_layout": "stereo", W/System.err(31813): "bits_per_sample": 0, W/System.err(31813): "r_frame_rate": "0/0", W/System.err(31813): "avg_frame_rate": "0/0", W/System.err(31813): "time_base": "1/48000", W/System.err(31813): "start_pts": 0, W/System.err(31813): "start_time": "0.000000", W/System.err(31813): "duration_ts": 379023, W/System.err(31813): "duration": "7.896312", W/System.err(31813): "bit_rate": "96001", W/System.err(31813): "max_bit_rate": "96000", W/System.err(31813): "nb_frames": "370", W/System.err(31813): "disposition": { W/System.err(31813): "default": 1, W/System.err(31813): "dub": 0, W/System.err(31813): "original": 0, W/System.err(31813): "comment": 0, W/System.err(31813): "lyrics": 0, W/System.err(31813): "karaoke": 0, W/System.err(31813): "forced": 0, W/System.err(31813): "hearing_impaired": 0, W/System.err(31813): "visual_impaired": 0, W/System.err(31813): "clean_effects": 0, W/System.err(31813): "attached_pic": 0, W/System.err(31813): "timed_thumbnails": 0 W/System.err(31813): }, W/System.err(31813): "tags": { W/System.err(31813): "language": "und" W/System.err(31813): } W/System.err(31813): } W/System.err(31813): ], W/System.err(31813): "format": { W/System.err(31813): "filename": "/data/user/0/package.name/cache/image_picker6811377873748785591.jpg", W/System.err(31813): "nb_streams": 2, W/System.err(31813): "nb_programs": 0, W/System.err(31813): "format_name": "mov,mp4,m4a,3gp,3g2,mj2", W/System.err(31813): "start_time": "0.000000", W/System.err(31813): "duration": "7.896313", W/System.err(31813): "size": "2133914", W/System.err(31813): "bit_rate": "2161934", W/System.err(31813): "probe_score": 100, W/System.err(31813): "tags": { W/System.err(31813): "major_brand": "mp42", W/System.err(31813): "minor_version": "0", W/System.err(31813): "compatible_brands": "mp42isom" W/System.err(31813): } W/System.err(31813): } W/System.err(31813): } W/System.err(31813): at org.json.JSONTokener.syntaxError(JSONTokener.java:460) W/System.err(31813): at org.json.JSONTokener.readObject(JSONTokener.java:376) W/System.err(31813): at org.json.JSONTokener.nextValue(JSONTokener.java:104) W/System.err(31813): at org.json.JSONObject.(JSONObject.java:164) W/System.err(31813): at org.json.JSONObject.(JSONObject.java:181) W/System.err(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.fromWithError(MediaInformationParser.java:61) W/System.err(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.from(MediaInformationParser.java:45) W/System.err(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformationFromCommandArguments(FFprobe.java:126) W/System.err(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformation(FFprobe.java:86) W/System.err(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:51) W/System.err(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:36) W/System.err(31813): at android.os.AsyncTask$3.call(AsyncTask.java:378) W/System.err(31813): at java.util.concurrent.FutureTask.run(FutureTask.java:266) W/System.err(31813): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "r_frame_rate": V/mobile-ffmpeg(31813): "30/1" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "avg_frame_rate": V/mobile-ffmpeg(31813): "472000/15723" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "time_base": V/mobile-ffmpeg(31813): "1/90000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_pts": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "start_time": V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration_ts": 707535 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "duration": V/mobile-ffmpeg(31813): "7.861500" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bit_rate": V/mobile-ffmpeg(31813): "2069866" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "bits_per_raw_sample": V/mobile-ffmpeg(31813): "8" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "nb_frames": V/mobile-ffmpeg(31813): "236" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "disposition": { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "default": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "dub": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "original": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "comment": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "lyrics": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "karaoke": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813): "hearing_impaired": 0 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "language": E/mobile-ffmpeg(31813): "side_data_type": "Display Matrix", E/mobile-ffmpeg(31813): "displaymatrix": "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n", E/mobile-ffmpeg(31813): "rotation": -90 E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ] E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "index": 1, E/mobile-ffmpeg(31813): "codec_name": "aac", E/mobile-ffmpeg(31813): "codec_long_name": "unknown", E/mobile-ffmpeg(31813): "profile": "1", E/mobile-ffmpeg(31813): "codec_type": "audio", E/mobile-ffmpeg(31813): "codec_time_base": "1/48000", E/mobile-ffmpeg(31813): "codec_tag_string": "mp4a", E/mobile-ffmpeg(31813): "codec_tag": "0x6134706d", E/mobile-ffmpeg(31813): "sample_fmt": "fltp", E/mobile-ffmpeg(31813): "sample_rate": "48000", E/mobile-ffmpeg(31813): "channels": 2, E/mobile-ffmpeg(31813): "channel_layout": "stereo", E/mobile-ffmpeg(31813): "bits_per_sample": 0, E/mobile-ffmpeg(31813): "r_frame_rate": "0/0", E/mobile-ffmpeg(31813): "avg_frame_rate": "0/0", E/mobile-ffmpeg(31813): "time_base": "1/48000", E/mobile-ffmpeg(31813): "start_pts": 0, E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration_ts": 379023, E/mobile-ffmpeg(31813): "duration": "7.896312", E/mobile-ffmpeg(31813): "bit_rate": "96001", E/mobile-ffmpeg(31813): "max_bit_rate": "96000", E/mobile-ffmpeg(31813): "nb_frames": "370", E/mobile-ffmpeg(31813): "disposition": { E/mobile-ffmpeg(31813): "default": 1, E/mobile-ffmpeg(31813): "dub": 0, E/mobile-ffmpeg(31813): "original": 0, E/mobile-ffmpeg(31813): "comment": 0, E/mobile-ffmpeg(31813): "lyrics": 0, E/mobile-ffmpeg(31813): "karaoke": 0, E/mobile-ffmpeg(31813): "forced": 0, E/mobile-ffmpeg(31813): "hearing_impaired": 0, E/mobile-ffmpeg(31813): "visual_impaired": 0, E/mobile-ffmpeg(31813): "clean_effects": 0, E/mobile-ffmpeg(31813): "attached_pic": 0, E/mobile-ffmpeg(31813): "timed_thumbnails": 0 E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "language": "und" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ], E/mobile-ffmpeg(31813): "format": { E/mobile-ffmpeg(31813): "filename": "/data/user/0/package.name/cache/image_picker6811377873748785591.jpg", E/mobile-ffmpeg(31813): "nb_streams": 2, E/mobile-ffmpeg(31813): "nb_programs": 0, E/mobile-ffmpeg(31813): "format_name": "mov,mp4,m4a,3gp,3g2,mj2", E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration": "7.896313", E/mobile-ffmpeg(31813): "size": "2133914", E/mobile-ffmpeg(31813): "bit_rate": "2161934", E/mobile-ffmpeg(31813): "probe_score": 100, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "major_brand": "mp42", E/mobile-ffmpeg(31813): "minor_version": "0", E/mobile-ffmpeg(31813): "compatible_brands": "mp42isom" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): "streams": [ E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "index": 0, E/mobile-ffmpeg(31813): "codec_name": "h264", E/mobile-ffmpeg(31813): "codec_long_name": "unknown", E/mobile-ffmpeg(31813): "profile": "66", E/mobile-ffmpeg(31813): "codec_type": "video", E/mobile-ffmpeg(31813): "codec_time_base": "15723/944000", E/mobile-ffmpeg(31813): "codec_tag_string": "avc1", E/mobile-ffmpeg(31813): "codec_tag": "0x31637661", E/mobile-ffmpeg(31813): "width": 640, E/mobile-ffmpeg(31813): "height": 352, E/mobile-ffmpeg(31813): "coded_width": 640, E/mobile-ffmpeg(31813): "coded_height": 352, E/mobile-ffmpeg(31813): "has_b_frames": 0, E/mobile-ffmpeg(31813): "pix_fmt": "yuv420p", E/mobile-ffmpeg(31813): "level": 30, E/mobile-ffmpeg(31813): "color_range": "tv", E/mobile-ffmpeg(31813): "color_primaries": "bt470bg", E/mobile-ffmpeg(31813): "chroma_location": "left", E/mobile-ffmpeg(31813): "refs": 1, E/mobile-ffmpeg(31813): "is_avc": "true", E/mobile-ffmpeg(31813): "nal_length_size": "4", E/mobile-ffmpeg(31813): "r_frame_rate": "30/1", E/mobile-ffmpeg(31813): "avg_frame_rate": "472000/15723", E/mobile-ffmpeg(31813): "time_base": "1/90000", E/mobile-ffmpeg(31813): "start_pts": 0, E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration_ts": 707535, E/mobile-ffmpeg(31813): "duration": "7.861500", E/mobile-ffmpeg(31813): "bit_rate": "2069866", E/mobile-ffmpeg(31813): "bits_per_raw_sample": "8", E/mobile-ffmpeg(31813): "nb_frames": "236", E/mobile-ffmpeg(31813): "disposition": { E/mobile-ffmpeg(31813): "default": 1, E/mobile-ffmpeg(31813): "dub": 0, E/mobile-ffmpeg(31813): "original": 0, E/mobile-ffmpeg(31813): "comment": 0, E/mobile-ffmpeg(31813): "lyrics": 0, E/mobile-ffmpeg(31813): "karaoke": 0, E/mobile-ffmpeg(31813): "forced": 0, E/mobile-ffmpeg(31813): "hearing_impaired": 0, E/mobile-ffmpeg(31813): "visual_impaired": 0, E/mobile-ffmpeg(31813): "clean_effects": 0, E/mobile-ffmpeg(31813): "attached_pic": 0, E/mobile-ffmpeg(31813): "timed_thumbnails": 0 E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "rotate": "90", E/mobile-ffmpeg(31813): "language": "und" E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "side_data_list": [ E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "side_data_type": "Display Matrix", V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "side_data_list": [ V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "side_data_type": V/mobile-ffmpeg(31813): "Display Matrix" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "displaymatrix": V/mobile-ffmpeg(31813): "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "rotation": -90 V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
E/mobile-ffmpeg(31813): "displaymatrix": "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n", E/mobile-ffmpeg(31813): "rotation": -90 E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ] E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): { E/mobile-ffmpeg(31813): "index": 1, E/mobile-ffmpeg(31813): "codec_name": "aac", E/mobile-ffmpeg(31813): "codec_long_name": "unknown", E/mobile-ffmpeg(31813): "profile": "1", E/mobile-ffmpeg(31813): "codec_type": "audio", E/mobile-ffmpeg(31813): "codec_time_base": "1/48000", E/mobile-ffmpeg(31813): "codec_tag_string": "mp4a", E/mobile-ffmpeg(31813): "codec_tag": "0x6134706d", E/mobile-ffmpeg(31813): "sample_fmt": "fltp", E/mobile-ffmpeg(31813): "sample_rate": "48000", E/mobile-ffmpeg(31813): "channels": 2, E/mobile-ffmpeg(31813): "channel_layout": "stereo", E/mobile-ffmpeg(31813): "bits_per_sample": 0, E/mobile-ffmpeg(31813): "r_frame_rate": "0/0", E/mobile-ffmpeg(31813): "avg_frame_rate": "0/0", E/mobile-ffmpeg(31813): "time_base": "1/48000", E/mobile-ffmpeg(31813): "start_pts": 0, E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration_ts": 379023, E/mobile-ffmpeg(31813): "duration": "7.896312", E/mobile-ffmpeg(31813): "bit_rate": "96001", E/mobile-ffmpeg(31813): "max_bit_rate": "96000", E/mobile-ffmpeg(31813): "nb_frames": "370", E/mobile-ffmpeg(31813): "disposition": { E/mobile-ffmpeg(31813): "default": 1, E/mobile-ffmpeg(31813): "dub": 0, E/mobile-ffmpeg(31813): "original": 0, E/mobile-ffmpeg(31813): "comment": 0, E/mobile-ffmpeg(31813): "lyrics": 0, E/mobile-ffmpeg(31813): "karaoke": 0, E/mobile-ffmpeg(31813): "forced": 0, E/mobile-ffmpeg(31813): "hearing_impaired": 0, E/mobile-ffmpeg(31813): "visual_impaired": 0, E/mobile-ffmpeg(31813): "clean_effects": 0, E/mobile-ffmpeg(31813): "attached_pic": 0, E/mobile-ffmpeg(31813): "timed_thumbnails": 0 E/mobile-ffmpeg(31813): }, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "language": "und" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): ], E/mobile-ffmpeg(31813): "format": { E/mobile-ffmpeg(31813): "filename": "/data/user/0/package.name/cache/image_picker6811377873748785591.jpg", E/mobile-ffmpeg(31813): "nb_streams": 2, E/mobile-ffmpeg(31813): "nb_programs": 0, E/mobile-ffmpeg(31813): "format_name": "mov,mp4,m4a,3gp,3g2,mj2", E/mobile-ffmpeg(31813): "start_time": "0.000000", E/mobile-ffmpeg(31813): "duration": "7.896313", E/mobile-ffmpeg(31813): "size": "2133914", E/mobile-ffmpeg(31813): "bit_rate": "2161934", E/mobile-ffmpeg(31813): "probe_score": 100, E/mobile-ffmpeg(31813): "tags": { E/mobile-ffmpeg(31813): "major_brand": "mp42", E/mobile-ffmpeg(31813): "minor_version": "0", E/mobile-ffmpeg(31813): "compatible_brands": "mp42isom" E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): } E/mobile-ffmpeg(31813): E/mobile-ffmpeg(31813): at org.json.JSONTokener.syntaxError(JSONTokener.java:460) E/mobile-ffmpeg(31813): at org.json.JSONTokener.readObject(JSONTokener.java:376) E/mobile-ffmpeg(31813): at org.json.JSONTokener.nextValue(JSONTokener.java:104) E/mobile-ffmpeg(31813): at org.json.JSONObject.(JSONObject.java:164) E/mobile-ffmpeg(31813): at org.json.JSONObject.(JSONObject.java:181) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.fromWithError(MediaInformationParser.java:61) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.MediaInformationParser.from(MediaInformationParser.java:45) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformationFromCommandArguments(FFprobe.java:126) E/mobile-ffmpeg(31813): at com.arthenica.mobileffmpeg.FFprobe.getMediaInformation(FFprobe.java:86) E/mobile-ffmpeg(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:51) E/mobile-ffmpeg(31813): at com.arthenica.flutter.ffmpeg.FlutterFFmpegGetMediaInformationAsyncTask.doInBackground(FlutterFFmpegGetMediaInformationAsyncTask.java:36) E/mobile-ffmpeg(31813): at android.os.AsyncTask$3.call(AsyncTask.java:378) E/mobile-ffmpeg(31813): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/mobile-ffmpeg(31813): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/mobile-ffmpeg(31813): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/mobile-ffmpeg(31813): at java.lang.Thread.run(Thread.java:919) V/mobile-ffmpeg(31813): ] V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): } V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): { V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "index": 1 V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_name": V/mobile-ffmpeg(31813): "aac" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "codec_long_name": V/mobile-ffmpeg(31813): "unknown" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
W/System.err(31813): org.json.JSONException: Names must be strings, but {"streams":[{"index":0,"codec_name":"h264","codec_long_name":"unknown","profile":"66","codec_type":"video","codec_time_base":"15723\/944000","codec_tag_string":"avc1","codec_tag":"0x31637661","width":640,"height":352,"coded_width":640,"coded_height":352,"has_b_frames":0,"pix_fmt":"yuv420p","level":30,"color_range":"tv","color_primaries":"bt470bg","chroma_location":"left","refs":1,"is_avc":"true","nal_length_size":"4","r_frame_rate":"30\/1","avg_frame_rate":"472000\/15723","time_base":"1\/90000","start_pts":0,"start_time":"0.000000","duration_ts":707535,"duration":"7.861500","bit_rate":"2069866","bits_per_raw_sample":"8","nb_frames":"236","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"rotate":"90","language":"und"},"side_data_list":[{"side_data_type":"Display Matrix","displaymatrix":"\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n","rotation":-90}]},{"index":1,"codec_name":"aac","codec_long_name":"unknown","profile":"1","codec_type":"audio","codec_time_base":"1\/48000","codec_tag_string":"mp4a","codec_tag":"0x6134706d","sample_fmt":"fltp","sample_rate":"48000","channels":2,"channel_layout":"stereo","bits_per_sample":0,"r_frame_rate":"0\/0","avg_frame_rate":"0\/0","time_base":"1\/48000","start_pts":0,"start_time":"0.000000","duration_ts":379023,"duration":"7.896312","bit_rate":"96001","max_bit_rate":"96000","nb_frames":"370","disposition":{"default":1,"dub":0,"original":0,"comment":0,"lyrics":0,"karaoke":0,"forced":0,"hearing_impaired":0,"visual_impaired":0,"clean_effects":0,"attached_pic":0,"timed_thumbnails":0},"tags":{"language":"und"}}],"format":{"filename":"\/data\/user\/0\/package.name\/cache\/image_picker6811377873748785591.jpg","nb_streams":2,"nb_programs":0,"format_name":"mov,mp4,m4a,3gp,3g2,mj2","start_time":"0.000000","duration":"7.896313","size":"2133914","bit_rate":"2161934","probe_score":100,"tags":{"major_brand":"mp42","minor_version":"0","compatible_brands":"mp42isom"}}} is of type org.json.JSONObject at character 3850 of { V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813): "audio" W/System.err(31813): "height": 352, V/mobile-ffmpeg(31813): "codec_time_base": V/mobile-ffmpeg(31813):
W/System.err(31813): "pix_fmt": "yuv420p", W/System.err(31813): "time_base": "1/90000", W/System.err(31813): "nb_frames": "236", W/System.err(31813): "dub": 0, W/System.err(31813): } W/System.err(31813): "index": 1, W/System.err(31813): "codec_name": "aac", W/System.err(31813): "channels": 2, V/mobile-ffmpeg(31813): "fltp" V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "sample_rate": V/mobile-ffmpeg(31813): "channels": 2 V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "channel_layout": V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): , W/System.err(31813): "language": "und" W/System.err(31813): ], W/System.err(31813): "nb_streams": 2, V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813):
W/System.err(31813): "codec_name": "h264", V/mobile-ffmpeg(31813): "max_bit_rate": V/mobile-ffmpeg(31813): "nb_frames": W/System.err(31813): "coded_height": 352, W/System.err(31813): "has_b_frames": 0, W/System.err(31813): "pix_fmt": "yuv420p", W/System.err(31813): "color_range": "tv", V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): , V/mobile-ffmpeg(31813):
V/mobile-ffmpeg(31813): "comment": 0 V/mobile-ffmpeg(31813): "karaoke": 0 W/System.err(31813): "nb_frames": "236", W/System.err(31813): "disposition": { W/System.err(31813): "default": 1, W/System.err(31813): "lyrics": 0, V/mobile-ffmpeg(31813):
W/System.err(31813): "attached_pic": 0, V/mobile-ffmpeg(31813): , W/System.err(31813): "tags": { V/mobile-ffmpeg(31813): V/mobile-ffmpeg(31813): "tags": { V/mobile-ffmpeg(31813):
W/System.err(31813): "rotation": -90 W/System.err(31813): { W/System.err(31813): "index": 1, W/System.err(31813): "codec_long_name": "unknown", W/System.err(31813): "profile": "1", V/mobile-ffmpeg(31813):
W/System.err(31813): "codec_tag_string": "mp4a", W/System.err(31813): "codec_tag": "0x6134706d", W/System.err(31813): "sample_fmt": "fltp", V/mobile-ffmpeg(31813): , W/System.err(31813): "avg_frame_rate": "0/0", W/System.err(31813): "time_base": "1/48000", W/System.err(31813): "start_pts": 0, W/System.err(31813): "duration": "7.896312", V/mobile-ffmpeg(31813): "0.000000" V/mobile-ffmpeg(31813): "duration": V/mobile-ffmpeg(31813): , W/System.err(31813): "forced": 0, V/mobile-ffmpeg(31813): "probe_score": 100 W/System.err(31813): "clean_effects": 0, W/System.err(31813): }, D/flutter-ffmpeg(31813): Running FFmpeg with arguments: [-i, /data/user/0/package.name/cache/image_picker6811377873748785591.jpg, -filter:v, crop=0.0:0.0:0.0:0.0,scale=iw1.0:ih1.0, -preset, medium, -ss, 0:00:00.000000, -to, 0:00:04.120168, -c:a, copy, -y, /data/user/0/package.name/cacheimage_picker6811377873748785591.mp4]. D/flutter-ffmpeg(31813): Running FFmpeg with arguments: [-i, /data/user/0/package.name/cache/image_picker6811377873748785591.jpg, -filter:v, crop=0.0:0.0:0.0:0.0,scale=iw1.0:ih1.0, -preset, medium, -ss, 0:00:00.000000, -to, 0:00:04.120168, -c:a, copy, -y, /data/user/0/package.name/cacheimagepicker6811377873748785591.mp4]. E/mobile-ffmpeg(31813): Unrecognized option 'preset'. E/mobile-ffmpeg(31813): Unrecognized option 'preset'. E/mobile-ffmpeg(31813): Error splitting the argument list: E/mobile-ffmpeg(31813): Option not found E/mobile-ffmpeg(31813): Error splitting the argument list: E/mobile-ffmpeg(31813): Option not found D/flutter-ffmpeg(31813): FFmpeg exited with rc: 1 D/flutter-ffmpeg(31813): FFmpeg exited with rc: 1 I/flutter (31813): ERROR ON EXPORT VIDEO (CODE 1)

seel-channel commented 3 years ago

I know which is the problem. I added "preset" and"cr" arguments. In the next update I going to remove the "preset" argument and the API will be test on "min-gpl" package.

reverie-ss commented 3 years ago

I know which is the problem. I added "preset" and"cr" arguments. In the next update I going to remove the "preset" argument and the API will be test on "min-gpl" package.

by when will we have the next update? Thanks for the response.

spatel2212 commented 3 years ago

I know which is the problem. I added "preset" and"cr" arguments. In the next update I going to remove the "preset" argument and the API will be test on "min-gpl" package.

Please ping me here once you update the issue, will be waiting. Thanks for the response.

seel-channel commented 3 years ago

I just released the 1.0.3 version. Please use it with the "min-gpl-lts" package

spatel2212 commented 3 years ago

I am still facing same issues with updated version

spatel2212 commented 3 years ago

Here is the issue mentioned in another issue: https://github.com/seel-channel/video_editor/issues/1#issuecomment-787031763

What I think as mentioned in above issue, this is due to the path being modified by ffmpeg execute function. In most devices, especially in Android, there would be many folders containing spaces to their names, then this would be a major issue.

Do you think if we can come to any conclusion on this issue or is it beyond your reach as I think it is flutter-ffmpeg issue?

seel-channel commented 3 years ago

Here is the issue mentioned in another issue: https://github.com/seel-channel/video_editor/issues/1#issuecomment-787031763

What I think as mentioned in above issue, this is due to the path being modified by ffmpeg execute function. In most devices, especially in Android, there would be many folders containing spaces to their names, then this would be a major issue.

Do you think if we can come to any conclusion on this issue or is it beyond your reach as I think it is flutter-ffmpeg issue?

Yes, It is a flutter-ffmpeg issue. I only created a UI to the FFMPEG commands

spatel2212 commented 3 years ago

Here is the issue mentioned in another issue: #1 (comment) What I think as mentioned in above issue, this is due to the path being modified by ffmpeg execute function. In most devices, especially in Android, there would be many folders containing spaces to their names, then this would be a major issue. Do you think if we can come to any conclusion on this issue or is it beyond your reach as I think it is flutter-ffmpeg issue?

Yes, It is a flutter-ffmpeg issue. I only created a UI to the FFMPEG commands

Okay thanks for you efforts though. I will create a new issue in flutter-ffmpeg pub. If possible, can you also move forward this in flutter-ffmpeg issues?