[FFmpeg-user] acodec copy creates file with unplayable audio?

Roger Pack rogerdpack2 at gmail.com
Fri Sep 7 01:42:23 CEST 2012


> Since it works fine here with the sample you attached to
> ticket #1720 I suggest you use a more current MPlayer version.

Hmm seems to be the same with a newer mplayer...maybe you could help
me figure out where it's working in linux but not windows?  Does your
output not show "Audio: no sound"?

Thank you.
-roger-

$ ffmpeg-20120903-git-5d55830-win32-static\bin\ffmpeg -i
sintel.2.5.mpg -vcodec copy -acodec copy  out.mpg
ffmpeg version N-44123-g5d55830 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  2 2012 20:23:29 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib
--enable-frei0r --enable-libass --enable-libcelt
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfreetype
 --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libutvideo
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 0236ce60] ac-tex damaged at 40 7
[mpeg2video @ 0236ce60] Warning MVs not available
[mpeg2video @ 0236ce60] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
[mpeg @ 0236c4a0] max_analyze_duration 5000000 reached at 5024000
Truncating packet of size 2025 to 1418
Input #0, mpeg, from '\Downloads\sintel.2.5.mpg':
  Duration: 00:00:07.42, start: 0.233367, bitrate: 2693 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.25.104
    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
Truncating packet of size 2025 to 1418
frame=  205 fps=0.0 q=-1.0 Lsize=    2416kB time=00:00:07.45
bitrate=2654.5kbits/s
video:1991kB audio:408kB subtitle:0 global headers:0kB muxing overhead 0.708219%

C:\vids>\dev\ruby\downloads\mplayer-checkout-2012-09-06\mplayer.exe out.mpg
MPlayer SVN-r35150-4.5.1 (C) 2000-2012 MPlayer Team

Playing out.mpg.
libavformat version 54.25.105 (internal)
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7000.0 kbps (875.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.55.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [directx] 720x480 => 854x480 Planar YV12
[mpeg2video @ 00ef3140]ac-tex damaged at 43 7
[mpeg2video @ 00ef3140]Warning MVs not available
[mpeg2video @ 00ef3140]concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
[mpeg2video @ 00ef3140]ac-tex damaged at 40 7
[mpeg2video @ 00ef3140]Warning MVs not available
[mpeg2video @ 00ef3140]concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
Fontconfig error: Cannot load default config file
Fontconfig failed to select a font. Trying without fontconfig...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Fontconfig failed to select a font. Trying without fontconfig...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
V:   7.1 171/171 12%  0%  0.0% 0 0

Exiting... (Quit)


More information about the ffmpeg-user mailing list