Convert Videos To MP3 with FFmpeg in Python

แชร์
ฝัง

ความคิดเห็น • 18

  • @samoylov1973
    @samoylov1973 ปีที่แล้ว +5

    Thank you! Like these Python automation tools. Please create and post more like this one.

  • @farzadmf
    @farzadmf ปีที่แล้ว +4

    I really like your videos, but I have to say, the title of this video is very misleading. It's basically wrapping a shell command, so it's not converting video to audio "in Python"

  • @rajmajumdar5253
    @rajmajumdar5253 ปีที่แล้ว +2

    Okay, but how to add command line arguments from these like ask the video name, and the output name, without hard coding the input and the output files?
    Also how can I add a thumbnail, metadata etc etc?

  • @natiadonay2104
    @natiadonay2104 ปีที่แล้ว +2

    can you please post about controling windows settings in python

  • @m.epictures6344
    @m.epictures6344 ปีที่แล้ว +5

    Thanks for sharing this. I get a error when I run - [WinError 2] The system cannot find the file specified
    the file in question does exist. any ideas?

    • @czowiekznikad2062
      @czowiekznikad2062 8 หลายเดือนก่อน +1

      Hello, have you solved this problem? I have got the same error.

    • @calceta888
      @calceta888 7 หลายเดือนก่อน

      same me

    • @beautifulpeoplev1050
      @beautifulpeoplev1050 7 หลายเดือนก่อน

      same here, please tell us if you have solved the error

    • @achraf.machines
      @achraf.machines 4 หลายเดือนก่อน

      you need to copy the path of the file where ffmpeg.exe is located and add it to system variables, otherwise add the path to the command list like in the video

  • @lesliewubbel9157
    @lesliewubbel9157 9 หลายเดือนก่อน

    Can you do this without saving locally and doing in memory?

  • @buckyzona
    @buckyzona 4 หลายเดือนก่อน

    How can I utilize amf with ffmpeg, I can’t find one that recognizes amf. I’m saving a bunch of files but it takes too long.

  • @chefdenker704
    @chefdenker704 ปีที่แล้ว

    Hey thanks for your tutorial.
    I have a question though, maybe you have a good solution.
    I need to manipulate the audio files in my app. In Python you usually require the pydub module, which is based on ffmpeg encodings. However, the ffmpeg binaries have a size of 20 MB, which would significantly increase the size of my app on Android.
    Do you have any good solution for that? Is there a way to add only part of the ffmpeg binaries? Or are there Python libraries that don't require ffmpeg to manipulate audio files such as joining them? Or is there a way to compress the binaries and decompress them when I need them? Hmm...

    • @kartikvenugopal3211
      @kartikvenugopal3211 2 หลายเดือนก่อน

      Hey, I custom-built smaller ffmpeg binaries for my audio app on macOS. Depending on your needs, I might be able to point you in the right direction. Basically, it had to do with the way I configured ffmpeg when I built it locally. Have you looked into the build configuration of ffmpeg ?
      I assume you are building ffmpeg locally, not using a pre-built binary ? If not, you should build it yourself.

    • @chefdenker704
      @chefdenker704 2 หลายเดือนก่อน

      @@kartikvenugopal3211 Thanks for your answer. I finally didn't use ffmpeg. I decided to build my own audio recorder and player by accessing the Android java classes, by which I was able to define all the right audio parameters that were necessary to upload the file to a server. I was also able to join audio files by concatinating multiple audio chunks directly. So there was no need for using ffmpeg. It also helped me later in the testing and debugging phase, because by accessing the java classes and building my own recorder I had less issues with different hardware devices and Android versions.

  • @noertri618
    @noertri618 ปีที่แล้ว

    Why dont use ctypes??

  • @Exotic69420
    @Exotic69420 ปีที่แล้ว +1

    Bro i woulda needed this some time ago
    I wanted to to this for mp4s I download from TH-cam with TH-cam-dl
    i did it another way now

  • @seshusai8208
    @seshusai8208 ปีที่แล้ว +1

    How to create a telegram bot using pyrogram

  • @ReyV0303
    @ReyV0303 7 หลายเดือนก่อน

    epiko, gracias por la info