[FFmpeg-user] [N-46469-gc995644] No sound in second sliced video

Gilles codecomplete at free.fr
Tue Jan 29 08:36:47 CET 2013


Hello,

Using the following commands in the Windows binary, the second video
has no sound:

ffmpeg.exe -i input.mp4 -ss 00:00:00 -t 01:00:00 -c:v copy -c:a copy
output.1.mp4

ffmpeg.exe -i input.mp4 -ss 00:59:55 -c:v copy -c:a copy output.2.mp4

Ffmpeg does display a warning "track 1: codec frame size is not set".
Could this be the reason?

Since it's not recommended to provide a link to Pastebin, I'm sorry
for the long output:
================== First slice
[C:\]ffmpeg.exe -i input.mp4 -ss 00:00:00 -t 01:00:00 -c:v copy -c:a
copy output.1.mp4
ffmpeg version N-46469-gc995644 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Nov  5 2012 17:54:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib
--enable-frei0r --enable-libass --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenjpeg
--enable-libopus --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      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.36.100
  Duration: 01:46:09.88, start: 0.000000, bitrate: 375 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
360x288 [SAR 64:45 DAR 16:9], 179 kb/s, 25 fps, 25 tbr, 12800 tbn, 50
tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz,
5.1(side), s16, 192 kb/s
    Metadata:
      handler_name    : SoundHandler
[mp4 @ 03d24020] track 1: codec frame size is not set
Output #0, mp4, to 'output.1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.36.100
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
360x288 [SAR 64:45 DAR 16:9], q=2-31, 179 kb/s, 25
 fps, 12800 tbn, 12800 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz,
5.1(side), 192 kb/s
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=90002 fps=4150 q=-1.0 Lsize=  163585kB time=01:00:00.01 bitrate=
372.2kbits/s
video:77336kB audio:83957kB subtitle:0 global headers:0kB muxing
overhead 1.421202%
================== Second slice
[C:\]ffmpeg.exe -i input.mp4 -ss 00:59:55 -c:v copy -c:a copy
output.2.mp4
ffmpeg version N-46469-gc995644 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Nov  5 2012 17:54:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib
--enable-frei0r --enable-libass --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenjpeg
--enable-libopus --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      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.36.100
  Duration: 01:46:09.88, start: 0.000000, bitrate: 375 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
360x288 [SAR 64:45 DAR 16:9], 179 kb/s, 25 fps, 25 tbr, 12800 tbn, 50
tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz,
5.1(side), s16, 192 kb/s
    Metadata:
      handler_name    : SoundHandler
[mp4 @ 03d24020] track 1: codec frame size is not set
Output #0, mp4, to 'output.2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.36.100
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
360x288 [SAR 64:45 DAR 16:9], q=2-31, 179 kb/s, 25
 fps, 12800 tbn, 12800 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz,
5.1(side), 192 kb/s
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=69293 fps=9201 q=-1.0 Lsize=  127871kB time=01:46:09.86 bitrate=
164.4kbits/s
video:62324kB audio:64727kB subtitle:0 global headers:0kB muxing
overhead 0.644968%
==================

Thank you.



More information about the ffmpeg-user mailing list