<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bash Script on Junian Dev</title>
    <link>https://www.junian.dev/tags/bash/</link>
    <description>Recent content in Bash Script on Junian Dev</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>author@junian.dev (Junian Triajianto)</managingEditor>
    <webMaster>author@junian.dev (Junian Triajianto)</webMaster>
    <copyright>Copyright &amp;copy; 2014 - 2026 Junian.dev</copyright>
    
	    <atom:link href="https://www.junian.dev/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Rotate Video with FFmpeg</title>
      <link>https://www.junian.dev/tech/ffmpeg-rotate-video/</link>
      <pubDate>Sun, 01 Feb 2026 19:00:00 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/ffmpeg-rotate-video/</guid>
      <description>&lt;p&gt;Sometimes after recording a video using my iPhone, I notice that the orientation is wrong.
For example, when I intend to record a vertical video, the final result ends up being horizontal.
This happens because the Camera app uses the accelerometer to detect the video orientation at the moment recording starts.&lt;/p&gt;
&lt;p&gt;Of course, with the built-in Photos app, I can rotate the video easily.
But what if I need to do this on another machine, such as a Raspberry Pi?&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Fix a Corrupted Video with FFmpeg</title>
      <link>https://www.junian.dev/tech/ffmpeg-fix-corrupted-video/</link>
      <pubDate>Thu, 11 Sep 2025 14:39:45 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/ffmpeg-fix-corrupted-video/</guid>
      <description>&lt;p&gt;Sometimes, after recording a video, downloading one online, or saving a video stream to your storage, the file may end up corrupted, incomplete, or broken. While players like VLC might still play it, some videos refuse to play certain parts or won’t play at all.&lt;/p&gt;
&lt;p&gt;Fortunately, you can often fix this with &lt;code&gt;ffmpeg&lt;/code&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;‼️ &lt;strong&gt;WARNING&lt;/strong&gt;: &lt;em&gt;Some video files may be damaged beyond repair, and this method might not always work.&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Vertical to Horizontal Video Conversion with Blur Sides by using FFmpeg</title>
      <link>https://www.junian.dev/tech/ffmpeg-vertical-video-blur/</link>
      <pubDate>Sun, 29 Mar 2020 20:06:35 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/ffmpeg-vertical-video-blur/</guid>
      <description>&lt;p&gt;When you&amp;rsquo;re publishing videos on a platform like YouTube, you mostly want it to make it to standard 16:9 horizontal video.
Most video recorders already produce that.
But sometimes, one of your video section will contain a vertical video.
For example, if you want to show an Android or iOS app demo.&lt;/p&gt;
&lt;p&gt;Putting a vertical video directly into a wide video doesn&amp;rsquo;t look good.
Especially with that wide area for pillar box sides.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
