Video not imported.

Paolo Benvenuto paolobenve at gmail.com
Sun Jun 11 22:04:49 CEST 2017


I resolved in ubuntu installing libav-tools

But Joachim's patch should stop if it's not installed, not continue


don Paolo Benvenuto

2017-06-08 14:45 GMT+02:00 Ken D'Ambrosio <ken at jots.org>:

> What types of videos? Does it print anything to STDOUT/STDERR
>> in-between the nicely formatted outputs from PhotoFloat? (afaik, it
>> should, regardless if error or not).
>>
>
> All types (I think) of videos fail with errors identical to these:
>
> 2017-06-08T08:35:04.264296   |  |  |--[unreadable]    VID00005.MP4
> 2017-06-08T08:35:04.264334   |  |  |--[metainfo]      VID00052.MP4
> 2017-06-08T08:35:04.264487   |  |  |--[unreadable]    VID00052.MP4
> 2017-06-08T08:35:04.264527   |  |  |--[metainfo]      VID00043.MP4
> 2017-06-08T08:35:04.264681   |  |  |--[unreadable]    VID00043.MP4
>
> This includes AVI files as well.  Needless to say, the source files are
> readable/playable/accessible by non-privileged users.
>
>   avprobe/ffprobe -show_format -show_streams -of json -loglevel 0
>> $videofile
>>
>>
>> In order for PhotoFloat to transcode, it expects 'codec_type: video'
>> in the JSON-output from that command.
>>
>
> It returns
>             "codec_type": "video",
>
> I'll include the full dump, below.
>
> Thanks for any insights,
>
> -Ken
>
> ------------------------------------------------------------
> -------------------------------
> ken at hal:/bigdisk-01/AV$ ffprobe -show_format -show_streams -of json
> -loglevel 0 ./2011_Grandma_Video_March/100VIDEO/VID00059.MP4
> {
>     "streams": [
>         {
>             "index": 0,
>             "codec_name": "h264",
>             "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
>             "profile": "Main",
>             "codec_type": "video",
>             "codec_time_base": "1001/60000",
>             "codec_tag_string": "avc1",
>             "codec_tag": "0x31637661",
>             "width": 1280,
>             "height": 720,
>             "coded_width": 1280,
>             "coded_height": 720,
>             "has_b_frames": 1,
>             "sample_aspect_ratio": "1:1",
>             "display_aspect_ratio": "16:9",
>             "pix_fmt": "yuv420p",
>             "level": 40,
>             "color_space": "bt709",
>             "color_transfer": "bt709",
>             "color_primaries": "bt709",
>             "chroma_location": "left",
>             "refs": 1,
>             "is_avc": "1",
>             "nal_length_size": "4",
>             "r_frame_rate": "30/1",
>             "avg_frame_rate": "30/1",
>             "time_base": "1/30000",
>             "start_pts": -1,
>             "start_time": "-0.000033",
>             "duration_ts": 1100000,
>             "duration": "36.666667",
>             "bit_rate": "8954958",
>             "bits_per_raw_sample": "8",
>             "nb_frames": "1100",
>             "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
>             },
>             "tags": {
>                 "creation_time": "2011-03-26 13:19:33",
>                 "language": "jpn",
>                 "handler_name": "\u0014Video Media Handler",
>                 "encoder": "AVC Coding"
>             }
>         },
>         {
>             "index": 1,
>             "codec_name": "aac",
>             "codec_long_name": "AAC (Advanced Audio Coding)",
>             "profile": "LC",
>             "codec_type": "audio",
>             "codec_time_base": "1/44100",
>             "codec_tag_string": "mp4a",
>             "codec_tag": "0x6134706d",
>             "sample_fmt": "fltp",
>             "sample_rate": "44100",
>             "channels": 2,
>             "channel_layout": "stereo",
>             "bits_per_sample": 0,
>             "r_frame_rate": "0/0",
>             "avg_frame_rate": "0/0",
>             "time_base": "1/44100",
>             "start_pts": 0,
>             "start_time": "0.000000",
>             "duration_ts": 1616896,
>             "duration": "36.664308",
>             "bit_rate": "131156",
>             "max_bit_rate": "131072",
>             "nb_frames": "1579",
>             "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
>             },
>             "tags": {
>                 "creation_time": "2011-03-26 13:19:33",
>                 "language": "jpn",
>                 "handler_name": "\u0014Sound Media Handler"
>             }
>         }
>     ],
>     "format": {
>         "filename": "./2011_Grandma_Video_March/100VIDEO/VID00059.MP4",
>         "nb_streams": 2,
>         "nb_programs": 0,
>         "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
>         "format_long_name": "QuickTime / MOV",
>         "start_time": "-0.000033",
>         "duration": "36.666667",
>         "size": "41708620",
>         "bit_rate": "9100062",
>         "probe_score": 100,
>         "tags": {
>             "major_brand": "MSNV",
>             "minor_version": "19464262",
>             "compatible_brands": "MSNVmp42isom",
>             "creation_time": "2011-03-26 13:19:33"
>
>         }
>     }
> }
> _______________________________________________
> PhotoFloat mailing list
> PhotoFloat at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/photofloat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/photofloat/attachments/20170611/19041de9/attachment.html>


More information about the PhotoFloat mailing list