@claudein.org/cli 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudein.org/cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Post to LinkedIn from the command line",
5
5
  "type": "module",
6
6
  "repository": {
@@ -36,3 +36,25 @@ When generating or sourcing images and videos (e.g. with Remotion), target Linke
36
36
  **Videos:** MP4, H.264
37
37
 
38
38
  Content outside the 1:1–4:5 range may be cropped or rejected by LinkedIn.
39
+
40
+ ### Remotion
41
+
42
+ Set the composition to exactly the target resolution:
43
+
44
+ ```ts
45
+ <Composition width={1080} height={1080} ... /> // or height={1350} for 4:5
46
+ ```
47
+
48
+ Any SVG used inside a composition must have its `width`, `height`, and `viewBox` match the composition dimensions — do not rely on SVG auto-scaling:
49
+
50
+ ```tsx
51
+ <svg width={1080} height={1080} viewBox="0 0 1080 1080">...</svg>
52
+ ```
53
+
54
+ Render with high quality settings:
55
+
56
+ ```bash
57
+ npx remotion render --codec h264 --crf 18 --pixel-format yuv420p
58
+ ```
59
+
60
+ Low CRF (≤18) means high quality. Do not use default CRF — it produces noticeably lower quality video.