[FFmpeg-user] hls segmenter and error 'dimensions not set'

Rares Pop classysnet at gmail.com
Wed Apr 3 17:34:35 CEST 2013


Dear all,

I have recently upgraded ffmpeg to its latest from git and the ffmpeg
segmenter stopped working.

Here is my log:

[root at enc6 t]# /usr/local/bin/ffmpeg -i hi.ts -map 0 -c copy -f segment
-segment_time 10 -segment_list hi.m3u8 hi_%05d.ts
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 29 2013 08:50:28 with gcc 4.5.3 (GCC) 20120403 (ALT Linux
4.5.3-alt1.M60P.1)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-gpl --disable-postproc --enable-pthreads
--enable-shared --disable-static --disable-libvorbis --disable-libfaac
--disable-libxvid --enable-libx264 --disable-libmp3lame --disable-libgsm
--disable-libdc1394 --disable-zlib --disable-memalign-hack
--disable-ffserver --disable-ffplay --disable-libschroedinger
--disable-avisynth --disable-libnut --enable-libtheora --enable-version3
--enable-libopencore-amrwb --enable-libopencore-amrnb --disable-ffprobe
--disable-libvpx --disable-libv4l2 --enable-nonfree --enable-librtmp
--enable-libfdk-aac --enable-libvo-aacenc --disable-debug
--extra-cflags='-pipe -Wall -g -O2 -frename-registers -fPIC -DPIC'
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[mpegts @ 0x20dd1c0] max_analyze_duration 5000000 reached at 5013333
microseconds
[mpegts @ 0x20dd1c0] Could not find codec parameters for stream 0 (Video:
h264 ([27][0][0][0] / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[NULL @ 0x20e1440] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'hi.ts':
  Duration: 00:09:59.80, start: 1.400000, bitrate: 782 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k
tbn, 180k tbc
    Stream #0:1[0x101](rus): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 102 kb/s
[segment @ 0x20e2780] dimensions not set
Output #0, segment, to 'hi_%05d.ts':
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), q=2-31, 90k tbn, 90k
tbc
    Stream #0:1(rus): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, 102 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument

Is this a regression in ffmpeg or am I missing something. Previous ffmpeg
(1.1 build in November) is working fine with the same data.

Thanks for your help,
Rares


More information about the ffmpeg-user mailing list