Opened 10 years ago

Last modified 10 years ago

#3815 open defect

libcdio only works with -ss 00

Reported by: Gerion Entrup Owned by:
Priority: important Component: avdevice
Version: git-master Keywords: libcdio regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: The (undocumented) libcdio device does not work directly.
How to reproduce:

ffmpeg -f libcdio -i /dev/sr0 test.wav 

always end instantly and did not produce any valid file.

A possible workaround is:

ffmpeg -ss 00 -f libcdio -i /dev/sr0 test.wav 

I use git version.

(I tried on another computer with ffmpeg stable release and it didn't work, too.)

Here is the output:
$ ffmpeg -f libcdio -i /dev/sr0 test.wav
ffmpeg version N-65021-gc2ef844 Copyright (c) 2000-2014 the FFmpeg developers

built on Jul 27 2014 14:04:31 with gcc 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --enable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --enable-openssl --disable-libsmbclient --enable-ffplay --enable-vaapi --enable-vdpau --enable-xlib --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libbs2b --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --enable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=host
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 49.100 / 55. 49.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100

Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, libcdio, from '/dev/sr0':

Duration: 00:39:21.61, bitrate: N/A

Chapter #0.0: start 0.000000, end 89.360000
Metadata:

title : track 01

Chapter #0.1: start 89.360000, end 100.453333
Metadata:

title : track 02

Chapter #0.2: start 100.453333, end 346.680000
Metadata:

title : track 03

Chapter #0.3: start 346.680000, end 414.746667
Metadata:

title : track 04

Chapter #0.4: start 414.746667, end 576.333333
Metadata:

title : track 05

Chapter #0.5: start 576.333333, end 631.093333
Metadata:

title : track 06

Chapter #0.6: start 631.093333, end 723.906667
Metadata:

title : track 07

Chapter #0.7: start 723.906667, end 771.813333
Metadata:

title : track 08

Chapter #0.8: start 771.813333, end 862.746667
Metadata:

title : track 09

Chapter #0.9: start 862.746667, end 940.346667
Metadata:

title : track 10

Chapter #0.10: start 940.346667, end 1079.186667
Metadata:

title : track 11

Chapter #0.11: start 1079.186667, end 1190.653333
Metadata:

title : track 12

Chapter #0.12: start 1190.653333, end 1238.746667
Metadata:

title : track 13

Chapter #0.13: start 1238.746667, end 1393.866667
Metadata:

title : track 14

Chapter #0.14: start 1393.866667, end 1467.586667
Metadata:

title : track 15

Chapter #0.15: start 1467.586667, end 1548.733333
Metadata:

title : track 16

Chapter #0.16: start 1548.733333, end 1595.493333
Metadata:

title : track 17

Chapter #0.17: start 1595.493333, end 1720.413333
Metadata:

title : track 18

Chapter #0.18: start 1720.413333, end 1801.480000
Metadata:

title : track 19

Chapter #0.19: start 1801.480000, end 1932.146667
Metadata:

title : track 20

Chapter #0.20: start 1932.146667, end 1969.053333
Metadata:

title : track 21

Chapter #0.21: start 1969.053333, end 2135.746667
Metadata:

title : track 22

Chapter #0.22: start 2135.746667, end 2176.933333
Metadata:

title : track 23

Chapter #0.23: start 2176.933333, end 2361.613333
Metadata:

title : track 24

Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

Output #0, wav, to 'test.wav':

Metadata:

ISFT : Lavf55.49.100
Chapter #0.0: start 0.000000, end 89.360000
Metadata:

title : track 01

Chapter #0.1: start 89.360000, end 100.453333
Metadata:

title : track 02

Chapter #0.2: start 100.453333, end 346.680000
Metadata:

title : track 03

Chapter #0.3: start 346.680000, end 414.746667
Metadata:

title : track 04

Chapter #0.4: start 414.746667, end 576.333333
Metadata:

title : track 05

Chapter #0.5: start 576.333333, end 631.093333
Metadata:

title : track 06

Chapter #0.6: start 631.093333, end 723.906667
Metadata:

title : track 07

Chapter #0.7: start 723.906667, end 771.813333
Metadata:

title : track 08

Chapter #0.8: start 771.813333, end 862.746667
Metadata:

title : track 09

Chapter #0.9: start 862.746667, end 940.346667
Metadata:

title : track 10

Chapter #0.10: start 940.346667, end 1079.186667
Metadata:

title : track 11

Chapter #0.11: start 1079.186667, end 1190.653333
Metadata:

title : track 12

Chapter #0.12: start 1190.653333, end 1238.746667
Metadata:

title : track 13

Chapter #0.13: start 1238.746667, end 1393.866667
Metadata:

title : track 14

Chapter #0.14: start 1393.866667, end 1467.586667
Metadata:

title : track 15

Chapter #0.15: start 1467.586667, end 1548.733333
Metadata:

title : track 16

Chapter #0.16: start 1548.733333, end 1595.493333
Metadata:

title : track 17

Chapter #0.17: start 1595.493333, end 1720.413333
Metadata:

title : track 18

Chapter #0.18: start 1720.413333, end 1801.480000
Metadata:

title : track 19

Chapter #0.19: start 1801.480000, end 1932.146667
Metadata:

title : track 20

Chapter #0.20: start 1932.146667, end 1969.053333
Metadata:

title : track 21

Chapter #0.21: start 1969.053333, end 2135.746667
Metadata:

title : track 22

Chapter #0.22: start 2135.746667, end 2176.933333
Metadata:

title : track 23

Chapter #0.23: start 2176.933333, end 2361.613333
Metadata:

title : track 24

Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Metadata:

encoder : Lavc55.69.100 pcm_s16le

Stream mapping:

Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
size= 0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

Change History (1)

comment:1 by Carl Eugen Hoyos, 10 years ago

Keywords: regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Regression since ad53c7f9

Note: See TracTickets for help on using tickets.