Opened 9 years ago
Last modified 9 years ago
#5749 open defect
File produced ffmpeg by stream copy reports audio (AAC) for the stream that should be video (MPEG2)
Reported by: | gyhrvy | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | mpegps |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
I'm attempting a partial stream copy of the file "Alcorn McBride PAL Test Clip (SD)" vid00003.mpg
Available here: http://alcorn.com/test-files/
The source file shows these streams, with the AAC one that I'm not expecting, and no video stream:
stream,0,mpeg2video,MPEG-2 video,Main,video,1/25 stream,1,mp2,MP2 (MPEG audio layer 2),unknown,audio,1/44100
Copying the streams with a cut ffmpeg.exe -i vid00003.mpg -ss 00:00:10 -c:v copy -c:a copy vid00003_cut.mpg
gives these streams:
stream,0,mp2,MP2 (MPEG audio layer 2),unknown,audio,1/44100 stream,1,aac,AAC (Advanced Audio Coding),SSR,audio,1/24000
Copying the streams without the cut ffmpeg.exe -i vid00003.mpg -c:v copy -c:a copy vid00003_nocut.mpg
works fine.
How to reproduce:
% ffmpeg.exe -i vid00003.mpg -ss 00:00:10 -c:v copy -c:a copy vid00003_cut.mpg ffmpeg version is from zeranoe.com, dated 2016-07-28, git fb91143 ffmpeg version N-81154-gfb91143 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avi synth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --e nable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-l ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en able-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --ena ble-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc -- enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-l ibx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --ena ble-lzma --enable-decklink --enable-zlib libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 51.100 / 57. 51.100 libavformat 57. 44.100 / 57. 44.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 49.100 / 6. 49.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (1)
Change History (2)
comment:1 by , 9 years ago
Keywords: | mpegps added |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
by , 8 years ago
Attachment: | vid00003_cut.mpg added |
---|
For future tickets, please remember to always provide both the command line you tested and the complete, uncut console output.