Any FFmpeg gurus here? need help with command generating thunbs.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ANAL PASTE
    Confirmed User
    • Mar 2006
    • 9070

    #1

    Any FFmpeg gurus here? need help with command generating thunbs.

    So I have this command that will make 4 thumbs for each video. The problem is thumb starts at certain position and makes 4 frames back to back. How would I space them out lets say 30 seconds apart or say make 4 thumbs for each video equally spaced.

    This:

    for i in *.mp4; do ffmpeg -i "$i" -an -ss 00:00:30 -an -r 1 -vframes 4 -s 160x120 -y `basename $i .mp4`_%d.jpg; done


    Thanks
    SEE YOU IN VALHALLA, BRO
  • plsureking
    bored
    • Aug 2003
    • 4904

    #2
    easiest way is divide total frames by the number of thumbs you want, then grab those frames in a loop with ffmpeg.

    i export 200 per video.

    #
    PornCMS / low cost paysite management with hosting

    Comment

    • k0nr4d
      Confirmed User
      • Aug 2006
      • 9231

      #3
      for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;
      Mechanical Bunny Media
      Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

      Comment

      • ANAL PASTE
        Confirmed User
        • Mar 2006
        • 9070

        #4
        Originally posted by k0nr4d
        for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;
        Thank you
        SEE YOU IN VALHALLA, BRO

        Comment

        • plsureking
          bored
          • Aug 2003
          • 4904

          #5
          fyi it was the 2nd result on google.

          https://trac.ffmpeg.org/wiki/Create%...%20the%20video

          you should probably learn to use google if you are coding.



          #
          PornCMS / low cost paysite management with hosting

          Comment

          • ANAL PASTE
            Confirmed User
            • Mar 2006
            • 9070

            #6
            Originally posted by plsureking
            fyi it was the 2nd result on google.

            https://trac.ffmpeg.org/wiki/Create%...%20the%20video

            you should probably learn to use google if you are coding.



            #
            You should learn how to keep you mouth shut if you have nothing to say. My problem was about generating and naming thumbs in a loop not how to generate 3 frames from 1 file.
            SEE YOU IN VALHALLA, BRO

            Comment

            • plsureking
              bored
              • Aug 2003
              • 4904

              #7
              Originally posted by ANAL PASTE
              You should learn how to keep you mouth shut if you have nothing to say. My problem was about generating and naming thumbs in a loop not how to generate 3 frames from 1 file.


              poor thing. such a weak ego. your mom can help with that. she helped me

              #
              PornCMS / low cost paysite management with hosting

              Comment

              • RyuLion
                • Mar 2003
                • 32369

                #8
                Thanks for this thread info!

                Adult Biz Consultant A tech head since 1995
                Affiliate Support: Chaturbate | CCBill Live

                Comment

                • ANAL PASTE
                  Confirmed User
                  • Mar 2006
                  • 9070

                  #9
                  Originally posted by plsureking


                  poor thing. such a weak ego. your mom can help with that. she helped me

                  #
                  You aren't the only child of a crack head hoe my mother helped to foster
                  Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.
                  SEE YOU IN VALHALLA, BRO

                  Comment

                  • plsureking
                    bored
                    • Aug 2003
                    • 4904

                    #10
                    Originally posted by ANAL PASTE
                    You aren't the only child of a crack head hoe my mother helped to foster
                    Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.
                    i dont know about crackhead, but she was definitely a ho

                    (i was born before crack)

                    the hilarious thing to me is someone getting butthurt about being trolled on a forum built for trolling. your low level of emotional intelligence is forever recorded in gfy history. its a good thing you hide your identity

                    i'm a very generous and helpful guy. i found this for you. i think it will help..



                    #
                    PornCMS / low cost paysite management with hosting

                    Comment

                    Working...