[FFmpeg-user] Remove the other Audio Tracks.

VideoGirl_AI girlofmisfits at outlook.com
Fri Aug 17 04:51:31 CEST 2012


Hi all,
I am new to this so far so good though until i bump on a wall. 
I am trying to remove 3 Audio tracks and keep the 4th from an mxf file.
i used this parameters:

*ffmpeg -i input.mxf -map 0:v -vcodec copy -map 0:a:3 -acodec copy
output.mxf*

FFmpeg did some processing but failed at the end, saying "input.mxf:
Operation not permitted"

Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mxf, from 'input.mxf':
  Metadata:
    timecode        : 00:02:30;02
  Duration: 00:02:08.49, start: 0.000000, bitrate: 61134 kb/s
    Stream #0:0: Video: dvvideo, yuv422p, 720x480 [SAR 8:9 DAR 4:3], 29.97
fps, 29.97
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:3: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:4: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
File 'don1.mxf' already exists. Overwrite ? [y/N] y
Output #0, mxf, to 'output.mxf':
  Metadata:
    timecode        : 00:02:30;02
    encoder         : Lavf54.23.101
    Stream #0:0: Video: dvvideo, yuv422p, 720x480 [SAR 8:9 DAR 4:3], q=2-31,
29.97 fps
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:4 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
*input: Operation not permitted*1:17.11 bitrate=97550.3kbits/s
frame= 3851 fps= 35 q=-1.0 Lsize=  918470kB time=00:01:17.14
bitrate=97533.6kbits/s
video:902578kB audio:0kB subtitle:0 global headers:0kB muxing overhead
1.760670%

I tried it again, this time pressing "+" while processing. There was a
message saying that
*audio timestamp invalid, cliping *

anyways.. please help. 



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Remove-the-other-Audio-Tracks-tp4652681.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list