{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/instagram/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/instagram/", "feed_url": "https://matoken.org/blog/tag/instagram/feed/json/", "language": "ja", "title": "instagram – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=2550", "url": "https://matoken.org/blog/2019/10/05/videos-converted-from-gif-to-mp4-with-ffmpeg-cannot-be-posted-on-instagram/", "title": "ffmpeg\u3067gif\u304b\u3089mp4\u306b\u5909\u63db\u3057\u305f\u52d5\u753b\u304cInstagram\u306b\u6295\u7a3f\u3067\u304d\u306a\u3044", "content_html": "
\u5148\u65e5\u306ettygif\u3067\u4f5c\u6210\u3057\u305fanimation gif\u3092Instagram\u306b\u6295\u7a3f\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\uff0canimation gif\u306f\u6295\u7a3f\u3067\u304d\u308b\u3051\u3069animation\u305b\u305a1\u679a\u76ee\u306e\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u308b\u3060\u3051\u3067\u3059\uff0effmpeg\u3067mp4\u306b\u5909\u63db\u3059\u308b\u3060\u3051\u3067\u826f\u3055\u305d\u3046\u3060\u3051\u3069\u6295\u7a3f\u3067\u304d\u307e\u305b\u3093\uff0e\u767d\u3044\u52d5\u753b\u3067\u30d7\u30ed\u30b0\u30ec\u30b9\u304c\u305a\u3063\u3068\u8868\u793a\u3055\u308c\uff0c\u300c\u6b21\u3078\u300d\u3092\u62bc\u3059\u3068\u30a2\u30d7\u30ea\u81ea\u4f53\u304c\u843d\u3061\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u52d5\u753b\u306f\u540c\u7aef\u672b\u306evlc\u306a\u3069\u3067\u306f\u554f\u984c\u306a\u304f\u518d\u751f\u3067\u304d\u3066\u3044\u307e\u3059\uff0e
\n$ ffmpeg -i tty.gif tty.mp4\n
\u97f3\u58f0\u304c\u306a\u3044\u306e\u304c\u3044\u3051\u306a\u3044\u306e\u304b\u306a?\u3068 anullsrc \u30d5\u30a3\u30eb\u30bf\u3067\u7121\u97f3\u306e\u97f3\u58f0\u30c8\u30e9\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3066\u3082\u5909\u308f\u3089\u305a\uff0e
$ ffmpeg -f lavfi -i anullsrc -i tty.gif -shortest tty.mp4\n
\u624b\u8a70\u307e\u308a\u306b\u306a\u3063\u3066\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u767a\u898b\uff0e
\n\u3053\u306e\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068\u4ee5\u4e0b\u306e\u6761\u4ef6\u3067\u6295\u7a3f\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3059\uff0e
\n\u4eca\u56de\u306e\u52d5\u753b\u306f20\u79d2\u307b\u3069\u306a\u306e\u3067\u9577\u3055\u306f\u554f\u984c\u7121\u3055\u305d\u3046\u3067\u3059\uff0e
\n\u3046\u307e\u304f\u884c\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u52d5\u753b\u3092\u78ba\u8a8d\u3059\u308b\u3068\u5143\u8a18\u4e8b\u3068\u540c\u69d8 yuv444p \u3092\u4f7f\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e
$ ffprobe tty.mp4 2>&1 | grep -E \"Stream.*Video\"\n Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 802x750, 73 kb/s, 4.17 fps, 4.17 tbr, 12800 tbn, 8.33 tbc (default)\n
\u3066\u3053\u3068\u3067\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ab\u30e9\u30fc\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b yuv420p \u3092\u6307\u5b9a\u3057\u3066\u5909\u63db\u3059\u308b\u3068\u6295\u7a3f\u3067\u304d\u307e\u3057\u305f\uff0e(\u97f3\u58f0\u30c8\u30e9\u30c3\u30af\u306f\u3042\u3063\u3066\u3082\u306a\u304f\u3066\u3082\u3069\u3061\u3089\u3067\u3082OK\u3060\u3063\u305f)
$ ffmpeg -i tty.gif -pix_fmt yuv420p -filter_complex \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" tty.mp4\n$ ffprobe tty.mp4 2>&1 | grep -E \"Stream.*Video\"\n Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1058x750, 97 kb/s, 16.08 fps, 16.08 tbr, 12352 tbn, 32.17 tbc (default)\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\u3053\u306e\u6295\u7a3f\u3092Instagram\u3067\u898b\u308b\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nmatoken\u3055\u3093(@matoken)\u304c\u30b7\u30a7\u30a2\u3057\u305f\u6295\u7a3f –
\n
\u516c\u5f0f\u306e\u6587\u7ae0\u304c\u3042\u308c\u3070\u3044\u3044\u3093\u3067\u3059\u304c\u898b\u3064\u304b\u3089\u305a\uff0e\u4ee5\u4e0b\u304c\u5c11\u3057\u8fd1\u3044?
\n$ dpkg-query -W ffmpeg\nffmpeg\t7:4.1.4-1+b2\n$ lsb_release -dr\nDescription:\tDebian GNU/Linux bullseye/sid\nRelease:\tunstable\n$ uname -m\nx86_64\n
$ adb shell dumpsys package com.instagram.android | grep -E 'versionCode|versionName'\n versionCode=175574628 minSdk=23 targetSdk=28\n versionName=113.0.0.39.122\n$ adb shell getprop ro.bootimage.build.fingerprint\nessential/mata/mata:10/QP1A.190711.122/420:user/release-keys\n$ adb shell getprop ro.build.version.security_patch\n2019-09-05\n$ adb shell getprop ro.product.cpu.abilist\narm64-v8a,armeabi-v7a,armeabi\n