[FFmpeg-trac] #2478(undetermined:new): PTS: DTS: invalid, clipping with pcm audio codec
FFmpeg
trac at avcodec.org
Thu Apr 18 16:42:24 CEST 2013
#2478: PTS: DTS: invalid, clipping with pcm audio codec
-------------------------------------+-------------------------------------
Reporter: MrNice | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by MrNice):
$ ffmpeg -f v4l2 -debug 1 -f alsa -ac 2 -channel_layout stereo -i hw:0,0
-channel 1 -input_format yuyv422 -i /dev/video0 -map 0:a -map 1:v -c:a
pcm_s16le -c:v ffv1 /Store3/Test/pcm_ffv1_`date +%m%d_%H%M`.avi
ffmpeg version N-52061-g8137ea3 Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 13 2013 21:10:51 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
configuration: --prefix=/opt/ffmpeg-opt/usr --enable-shared
--bindir=/opt/ffmpeg-opt/usr/bin --datadir=/opt/ffmpeg-opt/usr/share
/ffmpeg-opt --incdir=/opt/ffmpeg-opt/usr/include/ffmpeg-opt --libdir=/opt
/ffmpeg-opt/usr/lib64 --mandir=/opt/ffmpeg-opt/usr/share/man
--shlibdir=/opt/ffmpeg-opt/usr/lib64 --arch=x86_64 --optflags='-O2 -g'
--enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass
--enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-
libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-
libopus --enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libx264 --disable-libv4l2
--enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl --disable-
debug --disable-stripping --build-suffix=1 --disable-doc --enable-runtime-
cpudetect
libavutil 52. 26.100 / 52. 26.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 2.100 / 55. 2.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 53.101 / 3. 53.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
matched as AVOption 'debug' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'alsa'.
Reading option '-ac' ... matched as option 'ac' (set number of audio
channels) with argument '2'.
Reading option '-channel_layout' ... matched as option 'channel_layout'
(set channel layout) with argument 'stereo'.
Reading option '-i' ... matched as input file with argument 'hw:0,0'.
Reading option '-channel' ... matched as AVOption 'channel' with argument
'1'.
Reading option '-input_format' ... matched as AVOption 'input_format' with
argument 'yuyv422'.
Reading option '-i' ... matched as input file with argument '/dev/video0'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:a'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '1:v'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument
'pcm_s16le'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'ffv1'.
Reading option '/Store3/Test/pcm_ffv1_0418_1539.avi' ... matched as output
file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file hw:0,0.
Applying option f (force format) with argument v4l2.
Applying option f (force format) with argument alsa.
Applying option ac (set number of audio channels) with argument 2.
Applying option channel_layout (set channel layout) with argument stereo.
Successfully parsed a group of options.
Opening an input file: hw:0,0.
[alsa @ 0x1f0d240] All info found
Input #0, alsa, from 'hw:0,0':
Duration: N/A, start: 1366295969.051482, bitrate: 1536 kb/s
Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16,
1536 kb/s
Successfully opened the file.
Parsing a group of options: input file /dev/video0.
Successfully parsed a group of options.
Opening an input file: /dev/video0.
[AVIOContext @ 0x1f2cca0] Statistics: 1048576 bytes read, 0 seeks
/dev/video0: Invalid data found when processing input
and
$ ffmpeg -debug 1 -f v4l2 -f alsa -ac 2 -channel_layout stereo -i hw:0,0
-channel 1 -input_format yuyv422 -i /dev/video0 -map 0:a -map 1:v -c:a
pcm_s16le -c:v ffv1 /Store3/Test/pcm_ffv1_`date +%m%d_%H%M`.avi
ffmpeg version N-52061-g8137ea3 Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 13 2013 21:10:51 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
configuration: --prefix=/opt/ffmpeg-opt/usr --enable-shared
--bindir=/opt/ffmpeg-opt/usr/bin --datadir=/opt/ffmpeg-opt/usr/share
/ffmpeg-opt --incdir=/opt/ffmpeg-opt/usr/include/ffmpeg-opt --libdir=/opt
/ffmpeg-opt/usr/lib64 --mandir=/opt/ffmpeg-opt/usr/share/man
--shlibdir=/opt/ffmpeg-opt/usr/lib64 --arch=x86_64 --optflags='-O2 -g'
--enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass
--enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-
libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-
libopus --enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libx264 --disable-libv4l2
--enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl --disable-
debug --disable-stripping --build-suffix=1 --disable-doc --enable-runtime-
cpudetect
libavutil 52. 26.100 / 52. 26.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 2.100 / 55. 2.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 53.101 / 3. 53.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
matched as AVOption 'debug' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'v4l2'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'alsa'.
Reading option '-ac' ... matched as option 'ac' (set number of audio
channels) with argument '2'.
Reading option '-channel_layout' ... matched as option 'channel_layout'
(set channel layout) with argument 'stereo'.
Reading option '-i' ... matched as input file with argument 'hw:0,0'.
Reading option '-channel' ... matched as AVOption 'channel' with argument
'1'.
Reading option '-input_format' ... matched as AVOption 'input_format' with
argument 'yuyv422'.
Reading option '-i' ... matched as input file with argument '/dev/video0'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:a'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '1:v'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument
'pcm_s16le'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'ffv1'.
Reading option '/Store3/Test/pcm_ffv1_0418_1539.avi' ... matched as output
file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file hw:0,0.
Applying option f (force format) with argument v4l2.
Applying option f (force format) with argument alsa.
Applying option ac (set number of audio channels) with argument 2.
Applying option channel_layout (set channel layout) with argument stereo.
Successfully parsed a group of options.
Opening an input file: hw:0,0.
[alsa @ 0x20592c0] All info found
Input #0, alsa, from 'hw:0,0':
Duration: N/A, start: 1366295990.719459, bitrate: 1536 kb/s
Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16,
1536 kb/s
Successfully opened the file.
Parsing a group of options: input file /dev/video0.
Successfully parsed a group of options.
Opening an input file: /dev/video0.
[AVIOContext @ 0x2078da0] Statistics: 1048576 bytes read, 0 seeks
/dev/video0: Invalid data found when processing input
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2478#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list