[Resolved] Losslessly convert downloaded vids and AAC files

Ask other users about problems encountered with portable apps or help by posting solutions to existing problems.
Message
Author
User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#31 Post by Midas »

While it's been alluded before, I'd like to re-state I'd do it instantly via CLI without transcoding with FFmpeg:

Code: Select all

ffmpeg.exe -i INPUT.mp4 -vn -c copy OUTPUT.m4a

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#32 Post by __philippe »

CLI rules !...that's my motto ! :D

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#33 Post by Midas »

I'd be tempted to agree, __philippe -- sadly, on the very same day an update to FFmpeg v5.0-2 completely broke it in Termux for Android, causing more grief and frustration than I'd like to confess...

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#34 Post by webfork »

Update here: It's been said many times on these forums but ffmpeg is amazing. I used the following command borrowing from a Shotcut install on my computer, not far off from what Ruby posted about earlier in the thread. Just saved a batch file and the video to a folder. The conversion was near-instant and worked perfectly.

Code: Select all

ffmpeg.exe -i file.mp4 -vn -c copy OUTPUT.m4a
Nice.

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#35 Post by Midas »

That is almost verbatim what I suggested two posts above...!? :|

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#36 Post by webfork »

Midas wrote: Thu Jun 16, 2022 4:03 pm That is almost verbatim what I suggested two posts above...!? :|
Amusingly, I scoured the site for the original reference and thought -- based on keywords -- it was Ruby's post. I somehow completely missed the actual suggestion I took this from on the same thread. This is what happens when you take notes to post about something days or weeks later.

All credit to Midas on this one.

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#37 Post by Midas »

It's OK -- we all have our diverse fuzzy thought processes and research workflows -- I just found it puzzling to see you post it right after... 8)

User avatar
h3kt0r
Posts: 148
Joined: Tue Jan 20, 2015 2:50 am
Location: France
Contact:

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#38 Post by h3kt0r »

Suggestion : HandBrake
HandBrake is a open-source tool, built by volunteers, for converting video from nearly any format to a selection of modern, widely supported codecs.

Reasons you’ll love HandBrake:

Convert video from nearly any format
Free and Open Source
Multi-Platform (Windows, Mac and Linux)
And there's a CLI available too.

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: [Resolved] Losslessly convert downloaded vids and AAC files

#39 Post by Midas »

andresbloom wrote: For some reason, I can't convert the video like that. Maybe someone can help me?

Convert? There was no conversion in my example... :?

Please state what you're trying to accomplish.

Post Reply