Hi, I have a problem with the mapping of some input streams to output streams: The input file 001.mpg contains: Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.00 tb(r) Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s Stream #0.3[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s I would like to get rid of stream #0.2 by mapping. When I try this ... ffmpeg -y -i 001.mpg 001-fixed.mpg \ -map 0:0 -map 0:1 -map 0:3 \ -vcodec copy -acodec copy -acodec copy -newaudio I get ... Input #0, mpeg, from '001.mpg': Duration: 01:59:41.28, start: 0.540000, bitrate: 6568 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.00 tb(r) Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s Stream #0.3[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s Output #0, mpeg, to '001-fixed.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25.00 tb(c) Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Stream #0.2: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Stream #0.3 -> #0.2 Output stream #0.1 is now 64kb/s, which is not the expected bitrate, as the stream should be copied. I tried several other possibilities to rearrange the parameters, but nothing works. Any ideas or hints? Thanks. Sch?nen Gruss -- gromeck
participants (1)
-
gromeckļ¼ gromeck.de