<div dir="ltr">I resolved in ubuntu installing libav-tools<div><br></div><div>But Joachim's patch should stop if it's not installed, not continue</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>don Paolo Benvenuto</div></div></div></div>
<br><div class="gmail_quote">2017-06-08 14:45 GMT+02:00 Ken D'Ambrosio <span dir="ltr"><<a href="mailto:ken@jots.org" target="_blank">ken@jots.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What types of videos? Does it print anything to STDOUT/STDERR<br>
in-between the nicely formatted outputs from PhotoFloat? (afaik, it<br>
should, regardless if error or not).<br>
</blockquote>
<br></span>
All types (I think) of videos fail with errors identical to these:<br>
<br>
2017-06-08T08:35:<a href="tel:04.264296" value="+3904264296" target="_blank">04.264296</a>   |  |  |--[unreadable]    VID00005.MP4<br>
2017-06-08T08:35:<a href="tel:04.264334" value="+3904264334" target="_blank">04.264334</a>   |  |  |--[metainfo]      VID00052.MP4<br>
2017-06-08T08:35:<a href="tel:04.264487" value="+3904264487" target="_blank">04.264487</a>   |  |  |--[unreadable]    VID00052.MP4<br>
2017-06-08T08:35:<a href="tel:04.264527" value="+3904264527" target="_blank">04.264527</a>   |  |  |--[metainfo]      VID00043.MP4<br>
2017-06-08T08:35:<a href="tel:04.264681" value="+3904264681" target="_blank">04.264681</a>   |  |  |--[unreadable]    VID00043.MP4<br>
<br>
This includes AVI files as well.  Needless to say, the source files are readable/playable/accessible by non-privileged users.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  avprobe/ffprobe -show_format -show_streams -of json -loglevel 0 $videofile<br>
<br>
<br>
In order for PhotoFloat to transcode, it expects 'codec_type: video'<br>
in the JSON-output from that command.<br>
</blockquote>
<br></span>
It returns<br>
            "codec_type": "video",<br>
<br>
I'll include the full dump, below.<br>
<br>
Thanks for any insights,<br>
<br>
-Ken<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-<br>
ken@hal:/bigdisk-01/AV$ ffprobe -show_format -show_streams -of json -loglevel 0 ./2011_Grandma_Video_March/100<wbr>VIDEO/VID00059.MP4<br>
{<br>
    "streams": [<br>
        {<br>
            "index": 0,<br>
            "codec_name": "h264",<br>
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",<br>
            "profile": "Main",<br>
            "codec_type": "video",<br>
            "codec_time_base": "1001/60000",<br>
            "codec_tag_string": "avc1",<br>
            "codec_tag": "0x31637661",<br>
            "width": 1280,<br>
            "height": 720,<br>
            "coded_width": 1280,<br>
            "coded_height": 720,<br>
            "has_b_frames": 1,<br>
            "sample_aspect_ratio": "1:1",<br>
            "display_aspect_ratio": "16:9",<br>
            "pix_fmt": "yuv420p",<br>
            "level": 40,<br>
            "color_space": "bt709",<br>
            "color_transfer": "bt709",<br>
            "color_primaries": "bt709",<br>
            "chroma_location": "left",<br>
            "refs": 1,<br>
            "is_avc": "1",<br>
            "nal_length_size": "4",<br>
            "r_frame_rate": "30/1",<br>
            "avg_frame_rate": "30/1",<br>
            "time_base": "1/30000",<br>
            "start_pts": -1,<br>
            "start_time": "-0.000033",<br>
            "duration_ts": 1100000,<br>
            "duration": "36.666667",<br>
            "bit_rate": "8954958",<br>
            "bits_per_raw_sample": "8",<br>
            "nb_frames": "1100",<br>
            "disposition": {<br>
                "default": 1,<br>
                "dub": 0,<br>
                "original": 0,<br>
                "comment": 0,<br>
                "lyrics": 0,<br>
                "karaoke": 0,<br>
                "forced": 0,<br>
                "hearing_impaired": 0,<br>
                "visual_impaired": 0,<br>
                "clean_effects": 0,<br>
                "attached_pic": 0<br>
            },<br>
            "tags": {<br>
                "creation_time": "2011-03-26 13:19:33",<br>
                "language": "jpn",<br>
                "handler_name": "\u0014Video Media Handler",<br>
                "encoder": "AVC Coding"<br>
            }<br>
        },<br>
        {<br>
            "index": 1,<br>
            "codec_name": "aac",<br>
            "codec_long_name": "AAC (Advanced Audio Coding)",<br>
            "profile": "LC",<br>
            "codec_type": "audio",<br>
            "codec_time_base": "1/44100",<br>
            "codec_tag_string": "mp4a",<br>
            "codec_tag": "0x6134706d",<br>
            "sample_fmt": "fltp",<br>
            "sample_rate": "44100",<br>
            "channels": 2,<br>
            "channel_layout": "stereo",<br>
            "bits_per_sample": 0,<br>
            "r_frame_rate": "0/0",<br>
            "avg_frame_rate": "0/0",<br>
            "time_base": "1/44100",<br>
            "start_pts": 0,<br>
            "start_time": "0.000000",<br>
            "duration_ts": 1616896,<br>
            "duration": "36.664308",<br>
            "bit_rate": "131156",<br>
            "max_bit_rate": "131072",<br>
            "nb_frames": "1579",<br>
            "disposition": {<br>
                "default": 1,<br>
                "dub": 0,<br>
                "original": 0,<br>
                "comment": 0,<br>
                "lyrics": 0,<br>
                "karaoke": 0,<br>
                "forced": 0,<br>
                "hearing_impaired": 0,<br>
                "visual_impaired": 0,<br>
                "clean_effects": 0,<br>
                "attached_pic": 0<br>
            },<br>
            "tags": {<br>
                "creation_time": "2011-03-26 13:19:33",<br>
                "language": "jpn",<br>
                "handler_name": "\u0014Sound Media Handler"<br>
            }<br>
        }<br>
    ],<br>
    "format": {<br>
        "filename": "./2011_Grandma_Video_March/10<wbr>0VIDEO/VID00059.MP4",<br>
        "nb_streams": 2,<br>
        "nb_programs": 0,<br>
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",<br>
        "format_long_name": "QuickTime / MOV",<br>
        "start_time": "-0.000033",<br>
        "duration": "36.666667",<br>
        "size": "41708620",<br>
        "bit_rate": "9100062",<br>
        "probe_score": 100,<br>
        "tags": {<br>
            "major_brand": "MSNV",<br>
            "minor_version": "19464262",<br>
            "compatible_brands": "MSNVmp42isom",<br>
            "creation_time": "2011-03-26 13:19:33"<div class="HOEnZb"><div class="h5"><br>
        }<br>
    }<br>
}<br>
______________________________<wbr>_________________<br>
PhotoFloat mailing list<br>
<a href="mailto:PhotoFloat@lists.zx2c4.com" target="_blank">PhotoFloat@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/photofloat" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailma<wbr>n/listinfo/photofloat</a><br>
</div></div></blockquote></div><br></div>