[FFmpeg-trac] #1720(undetermined:new): ffmpeg with -vcodec copy -acodec copy creates files "without audio" for certain players
FFmpeg
trac at avcodec.org
Wed Sep 5 22:03:20 CEST 2012
#1720: ffmpeg with -vcodec copy -acodec copy creates files "without audio" for
certain players
-------------------------------------+-------------------------------------
Reporter: rogerdpack | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: $title
How to reproduce:
{{{
I noticed with this file:
http://rogerdpack.t28.net/incoming/sintel.mpg
and this command:
$ ffmpeg -y -i sintel.mpg -t 60 -vcodec copy -acodec copy out.mpg
ffmpeg version N-43577-g045f8dd Copyright (c) 2000-2012 the FFmpeg
developers
built on Aug 15 2012 14:10:50 with gcc 4.7.1 (GCC)
configuration: --enable-memalign-hack --arch=x86 --enable-gpl
--enable-libx264 --enable-avisynth --enable-libxvid
--target-os=mingw32
--cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-
helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-
--pkg-config=pkg-config --enable-libmp3lame --enable-version3
--enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32
--extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm
--extra-libs=-lgdi32 --enable-librtmp --enable-runtime-cpudetect
libavutil 51. 69.100 / 51. 69.100
libavcodec 54. 52.100 / 54. 52.100
libavformat 54. 23.100 / 54. 23.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 9.100 / 3. 9.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg2video @ 01C2F6A0] ac-tex damaged at 40 7
[mpeg2video @ 01C2F6A0] Warning MVs not available
[mpeg2video @ 01C2F6A0] concealing 1035 DC, 1035 AC, 1035 MV errors in I
frame
[mpeg @ 03361800] max_analyze_duration 5000000 reached at 5024000
Input #0, mpeg, from 'sintel.mpg':
Duration: 00:14:47.58, start: 0.233367, bitrate: 4132 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480
[SAR 32:27 DAR 16:9], 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
Output #0, mpeg, to 'out.mpg':
Metadata:
encoder : Lavf54.23.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR
16:9], q=2-31, 7000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 1638 fps=0.0 q=-1.0 Lsize= 32396kB time=00:01:00.00
bitrate=4423.1kbits/s
video:28947kB audio:3281kB subtitle:0 global headers:0kB muxing
overhead 0.520095%
}}}
command succeeds. File is playable (with audio) by ffplay, but has "no
audio" in either VLC or Windows Media Player.
If I dump it to out.avi, the resultant file has "no video" in WMP, but
does have audio, and plays fine in VLC. Or should I file that as a
separate ticket?
MediaInfo seems to reveal it having an audio track ok.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1720>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list