Public bug reported:

Ubuntu: 17.10 artful
ffmpeg:
  Installed: 7:3.3.3-3
  Candidate: 7:3.3.3-3
Linux aisha 4.12.0-11-generic #12-Ubuntu SMP Fri Aug 11 12:26:42 UTC 2017 
x86_64 x86_64 x86_64 GNU/Linux
02plongerdanslatorpeur.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~64000 bps

  ffmpeg -v trace -i ./02plongerdanslatorpeur.ogg -c:a libvorbis -b:a 44999 
test5.ogg
fails citing "Error initializing output stream 0:0". According to ogg vorbis 
mailing list <=44999 bps bitrate is fine (  
http://lists.xiph.org/pipermail/vorbis/2005-August/025904.html )

  ffmpeg -v trace -i ./02plongerdanslatorpeur.ogg -c:a libvorbis -b:a 45000 
test5.ogg
and above succeeds.

example:

z@aisha:/var/www/html/audio/bzh$  ffmpeg -v trace -i 
./02plongerdanslatorpeur.ogg -c:a libvorbis -b:a 44999 test5.ogg
ffmpeg version 3.3.3-3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.1.0-13ubuntu1)
  configuration: --prefix=/usr --extra-version=3 --toolchain=hardened 
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu 
--enable-gpl --disable-stripping --enable-avresample --enable-avisynth 
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite 
--enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme 
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt 
--enable-libopus --enable-libpulse --enable-librubberband --enable-libshine 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid 
--enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl 
--enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint 
--enable-frei0r --enable-libopencv --enable-li
 bx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 
'trace'.
Reading option '-i' ... matched as input url with argument 
'./02plongerdanslatorpeur.ogg'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 
'libvorbis'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use 
-b:v)) with argument '44999'.
Reading option 'test5.ogg' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url ./02plongerdanslatorpeur.ogg.
Successfully parsed a group of options.
Opening an input file: ./02plongerdanslatorpeur.ogg.
[NULL @ 0xbeec4bf8e0] Opening './02plongerdanslatorpeur.ogg' for reading
[file @ 0xbeec4c0140] Setting default whitelist 'file,crypto'
Probing mp3 score:1 size:2048
Probing ogg score:100 size:2048
[ogg @ 0xbeec4bf8e0] Format ogg probed with size=2048 and score=100
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=-1
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=0 psize=0 segp=0 nsegs=1
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=-1
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=30 psize=0 segp=0 nsegs=16
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=0
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=229 psize=0 segp=1 nsegs=16
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=-1
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=3992 psize=0 segp=0 nsegs=45
[ogg @ 0xbeec4bf8e0] found headers
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=-1
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=0 psize=0 segp=0 nsegs=45
[ogg @ 0xbeec4bf8e0] Before avformat_find_stream_info() pos: 10386 bytes 
read:130843 seeks:3 nb_streams:1
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=0
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=3992 psize=0 segp=0 nsegs=45
[ogg @ 0xbeec4bf8e0] All info found
[ogg @ 0xbeec4bf8e0] stream 0: start_time: 0.000 duration: 220.516
[ogg @ 0xbeec4bf8e0] format: start_time: 0.000 duration: 220.516 bitrate=59 kb/s
[ogg @ 0xbeec4bf8e0] After avformat_find_stream_info() pos: 10386 bytes 
read:130843 seeks:3 frames:1
Input #0, ogg, from './02plongerdanslatorpeur.ogg':
  Duration: 00:03:40.52, start: 0.000000, bitrate: 59 kb/s
    Stream #0:0, 1, 1/44100: Audio: vorbis, 44100 Hz, stereo, fltp, 64 kb/s
    Metadata:
      ENCODER         : Lavc57.89.100 libvorbis
      ARTIST          : B?z?d'h
      TITLE           : Plonger dans la torpeur
      ALBUM           : Ton jour viendra
      HTTP            : //www.jamendo.com/ 
      track           : 2
      DATE            : 2002
Successfully opened the file.
Parsing a group of options: output url test5.ogg.
Applying option c:a (codec name) with argument libvorbis.
Applying option b:a (video bitrate (please use -b:v)) with argument 44999.
Successfully parsed a group of options.
Opening an output file: test5.ogg.
[file @ 0xbeec4c75c0] Setting default whitelist 'file,crypto'
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (vorbis (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[ogg @ 0xbeec4bf8e0] ogg_packet: curidx=0
[ogg @ 0xbeec4bf8e0] ogg_packet: idx=0 pstart=4013 psize=0 segp=1 nsegs=45
detected 2 logical cores
[graph_0_in_0_0 @ 0xbeec4f1ee0] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 0xbeec4f1ee0] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 0xbeec4f1ee0] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 0xbeec4f1ee0] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 0xbeec4f1ee0] tb:1/44100 samplefmt:fltp samplerate:44100 
chlayout:0x3
[format_out_0_0 @ 0xbeec4f2840] Setting 'sample_fmts' to value 'fltp'
[AVFilterGraph @ 0xbeec50b920] query_formats: 4 queried, 9 merged, 0 already 
done, 0 delayed
[libvorbis @ 0xbeec4c6ea0] encoder setup failed
Error initializing output stream 0:0 -- Error while opening encoder for output 
stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[AVIOContext @ 0xbeec4c5980] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0xbeec4c84a0] Statistics: 130843 bytes read, 3 seeks
Conversion failed!

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ffmpeg 7:3.3.3-3
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
Date: Sun Aug 27 20:24:09 2017
InstallationDate: Installed on 2016-05-07 (477 days ago)
InstallationMedia:
 
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Hint: You are currently not seeing messages from other 
users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ffmpeg
UpgradeStatus: Upgraded to artful on 2017-05-08 (111 days ago)

** Affects: ffmpeg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713365

Title:
  ogg to ogg : Error initializing output stream 0:0 @ 44999 b/s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/1713365/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to