<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Milan Tejani</title>
    <description>The latest articles on DEV Community by Milan Tejani (@themilantej).</description>
    <link>https://dev.to/themilantej</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F285954%2Fe1034257-d458-4941-819c-ec054b2f4421.jpeg</url>
      <title>DEV Community: Milan Tejani</title>
      <link>https://dev.to/themilantej</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/themilantej"/>
    <language>en</language>
    <item>
      <title>getting build error after updating ads dependencies to latest version</title>
      <dc:creator>Milan Tejani</dc:creator>
      <pubDate>Wed, 06 Oct 2021 06:11:23 +0000</pubDate>
      <link>https://dev.to/themilantej/getting-build-error-after-updating-ads-dependencies-to-latest-version-4507</link>
      <guid>https://dev.to/themilantej/getting-build-error-after-updating-ads-dependencies-to-latest-version-4507</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/69460128/getting-build-error-after-updating-ads-dependencies-to-latest-version" rel="noopener noreferrer"&gt;
              getting build error after updating ads dependencies to latest version
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Oct  6 '21&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 1&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/69460128/getting-build-error-after-updating-ads-dependencies-to-latest-version" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          3
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I am getting this build error while I am trying to run my application from the &lt;code&gt;Android studio.&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Execution failed for task ':app:checkDebugDuplicateClasses'
&amp;gt; 1 exception was raised by workers:
  java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.google.android.gms.internal.measurement.zzbs found in modules jetified-play-services-measurement-18.0.1-runtime.jar (com.google.android.gms:play-services-measurement:18.0.1) and jetified-play-services-measurement-sdk-api-18.0.3-runtime.jar (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
  Duplicate class com.google.android.gms.internal.measurement.zzl found in modules jetified-play-services-measurement-impl-18.0.1-runtime.jar&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/69460128/getting-build-error-after-updating-ads-dependencies-to-latest-version" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>android</category>
      <category>gradle</category>
    </item>
    <item>
      <title>How to add day suffix[st,nd,rd,th] in timestamp's date in ffmpeg command?</title>
      <dc:creator>Milan Tejani</dc:creator>
      <pubDate>Mon, 09 Dec 2019 03:40:23 +0000</pubDate>
      <link>https://dev.to/themilantej/how-to-add-day-suffix-st-nd-rd-th-in-timestamp-s-date-in-ffmpeg-command-da2</link>
      <guid>https://dev.to/themilantej/how-to-add-day-suffix-st-nd-rd-th-in-timestamp-s-date-in-ffmpeg-command-da2</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/59223714/how-to-add-day-suffixst-nd-rd-th-in-timestamps-date-in-ffmpeg-command" rel="noopener noreferrer"&gt;
              How to add day suffix[st,nd,rd,th] in timestamp's date in ffmpeg command?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Dec  7 '19&lt;/span&gt;
            &lt;span&gt;Comments: 5&lt;/span&gt;
            &lt;span&gt;Answers: 1&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/59223714/how-to-add-day-suffixst-nd-rd-th-in-timestamps-date-in-ffmpeg-command" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          -1
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I am using this command to add time stamp in video:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ffmpeg -y -i input.mp4 -vf "drawtext=fontfile=roboto.ttf:fontsize=36:fontcolor=yellow:text='%{pts\:gmtime\:1575526882\:%d %b, %Y %I\\\:%M %p}'" -preset ultrafast -f mp4 output.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;this command generate date &amp;amp; time: &lt;code&gt;05 Dec, 2019 06:21 AM&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;but i want to add day suffix after day in date like this…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/59223714/how-to-add-day-suffixst-nd-rd-th-in-timestamps-date-in-ffmpeg-command" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>How to drawtext colon with pts gmtime using ffmpeg?</title>
      <dc:creator>Milan Tejani</dc:creator>
      <pubDate>Thu, 05 Dec 2019 10:54:19 +0000</pubDate>
      <link>https://dev.to/themilantej/how-to-drawtext-colon-with-pts-gmtime-using-ffmpeg-4jle</link>
      <guid>https://dev.to/themilantej/how-to-drawtext-colon-with-pts-gmtime-using-ffmpeg-4jle</guid>
      <description>&lt;p&gt;I am adding timestamp to video using FFMPEG where i am using below command:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ffmpeg -y -i input.mp4 -vf "drawtext=fontfile=roboto.ttf:fontsize=36:fontcolor=yellow:text='%{pts:gmtime:1575526882:%d/%m/%y %H:%M}'" -preset ultrafast -f mp4 output.mp4&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;in this command i am using &lt;strong&gt;:&lt;/strong&gt; between &lt;strong&gt;%H&lt;/strong&gt; and &lt;strong&gt;%M&lt;/strong&gt; in &lt;strong&gt;text&lt;/strong&gt; attribute of &lt;strong&gt;drawtext&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;like this:&lt;br&gt;
&lt;strong&gt;text='%{pts:gmtime:1575526882:%d/%m/%y %H:%M}'&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;because i want to print time like this &lt;strong&gt;06:25&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;it show me this error: &lt;strong&gt;Unterminated %{} near '{pts:gmtime:1575526882:%d/%m/%y %H'&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;how can i print : between &lt;strong&gt;%H&lt;/strong&gt; and &lt;strong&gt;%M&lt;/strong&gt; where &lt;strong&gt;%H&lt;/strong&gt; is for hours and &lt;strong&gt;%M&lt;/strong&gt; is for minutes?&lt;/p&gt;

</description>
      <category>ffmpeg</category>
      <category>android</category>
      <category>java</category>
    </item>
  </channel>
</rss>
