remove audio in the latest version windows 20180429-19c3df0-win64-static

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

remove audio in the latest version windows 20180429-19c3df0-win64-static

juan carlos rebate
Since the last version something must have changed because it doesn't work
as it should, or at least not as it always has.
I have a file with 2 audio tracks and I want to remove one of them,the file
has three tracks, one video track and two audio tracks,in previous versions
I usually do the following:
ffmpeg-i imput.avi -map 0:0 -vcodec copy -map 0:1 -acodec copy -map 0:2 -an
aoutput.avi
instead of removing only one, both are removed,but the wiki indicates the
steps that I have described,Could someone tell me how to do this correctly
for the new version?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: remove audio in the latest version windows 20180429-19c3df0-win64-static

Moritz Barsnick
On Mon, Apr 30, 2018 at 15:50:55 +0000, juan carlos rebate wrote:
> I have a file with 2 audio tracks and I want to remove one of them,the file
> has three tracks, one video track and two audio tracks,in previous versions
> I usually do the following:
> ffmpeg-i imput.avi -map 0:0 -vcodec copy -map 0:1 -acodec copy -map 0:2 -an
> aoutput.avi
> instead of removing only one, both are removed,but the wiki indicates the
> steps that I have described,Could someone tell me how to do this correctly
> for the new version?

Hi Juan Carlos, you've been on the list long enough to understand that
it is much, MUCH easier to understand what ffmpeg is doing if you give
us the complete, uncut console of your ffmpeg command. There's so much
valuable information there! In this particular case, you should also
show us the output with the older version of ffmpeg, if it's still
available to you. Please do this.

I have my doubts that you ever managed to copy any audio tracks with
that command (or it was a bug previously), as you are giving "-an",
which means:

"Disable audio recording."

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: remove audio in the latest version windows 20180429-19c3df0-win64-static

Carl Eugen Hoyos-2
In reply to this post by juan carlos rebate
2018-04-30 17:50 GMT+02:00, juan carlos rebate <[hidden email]>:
> Since the last version something must have changed because it doesn't work
> as it should, or at least not as it always has.
> I have a file with 2 audio tracks and I want to remove one of them,the file
> has three tracks, one video track and two audio tracks,in previous versions
> I usually do the following:
> ffmpeg-i imput.avi -map 0:0 -vcodec copy -map 0:1 -acodec copy
> -map 0:2 -an aoutput.avi

As Moritz correctly explained, it would be a bug if some versions
of FFmpeg write audio to the output file although -an was
specified.

Just to avoid any confusion: FFmpeg is not an avi file editor, it
cannot "remove" audio from any media file, FFmpeg can read
and write avi files, so you can write a new avi file with selected
audio and video.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".