[FFmpeg-trac] #9050(ffmpeg:new): Remuxing ogg does not work

FFmpeg trac at avcodec.org
Sat Jan 2 15:46:51 EET 2021


#9050: Remuxing ogg does not work
------------------------------------+--------------------------------------
             Reporter:  necros      |                     Type:  defect
               Status:  new         |                 Priority:  normal
            Component:  ffmpeg      |                  Version:  git-master
             Keywords:  ogg, win64  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
 Players report wrong length and cuts unexpectedly while playing result
 file

 ffmpeg -i 1.ogg -map_metadata -1 -c:v copy -c:a copy 2.ogg

 ffmpeg version N-100546-g2c6f532e0a Copyright (c) 2000-2021 the FFmpeg
 developers
   built with gcc 9.3-win32 (GCC) 20200320
   configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
 --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
 --enable-shared --disable-static --disable-debug --disable-w32threads
 --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-
 libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-
 fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-
 libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d
 --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-
 libglslang --enable-libass --enable-libbluray --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp
 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-
 schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1
 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-
 libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-
 libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-
 ldflags=-pthread --extra-libs=-lgomp
   libavutil      56. 63.100 / 56. 63.100
   libavcodec     58.115.102 / 58.115.102
   libavformat    58. 65.100 / 58. 65.100
   libavdevice    58. 11.103 / 58. 11.103
   libavfilter     7. 95.100 /  7. 95.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
   libpostproc    55.  8.100 / 55.  8.100
 [ogg @ 0000029acb00da80] Page at 3327 is missing granule
     Last message repeated 2 times
 Input #0, ogg, from '1.ogg':
   Duration: 00:00:55.08, start: 0.000000, bitrate: 93 kb/s
     Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 112 kb/s
     Metadata:
       encoder         : Lavc56.12.101 libvorbis
 Output #0, ogg, to '2.ogg':
   Metadata:
     encoder         : Lavf58.65.100
     Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 112 kb/s
     Metadata:
       encoder         : Lavf58.65.100
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [ogg @ 0000029acb00da80] Page at 3327 is missing granule
     Last message repeated 26 times
 [ogg @ 0000029acb00da80] Page at 7744 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 11953 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 16394 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 20660 is missing granule
     Last message repeated 38 times
 [ogg @ 0000029acb00da80] Page at 24892 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 29207 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 33407 is missing granule
     Last message repeated 18 times
 [ogg @ 0000029acb00da80] Page at 33407 is missing granuleeed=5.56x
     Last message repeated 15 times
 [ogg @ 0000029acb00da80] Page at 37617 is missing granule
     Last message repeated 33 times
 [ogg @ 0000029acb00da80] Page at 41780 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 45955 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 50266 is missing granule
     Last message repeated 39 times
 [ogg @ 0000029acb00da80] Page at 54585 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 58759 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 62965 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 67304 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 71527 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 71527 is missing granuleeed=6.39x
 [ogg @ 0000029acb00da80] Page at 75729 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 79898 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 84196 is missing granule
     Last message repeated 39 times
 [ogg @ 0000029acb00da80] Page at 88490 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 92746 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 97084 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 101312 is missing granule
     Last message repeated 37 times
 [ogg @ 0000029acb00da80] Page at 105577 is missing granule
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 109985 is missing granule
     Last message repeated 23 times
 [ogg @ 0000029acb00da80] Page at 114164 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 118376 is missing granule
     Last message repeated 13 times
 [ogg @ 0000029acb00da80] Page at 118376 is missing granuleed=6.87x
     Last message repeated 19 times
 [ogg @ 0000029acb00da80] Page at 122553 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 126802 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 131124 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 135397 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 139763 is missing granule
     Last message repeated 38 times
 [ogg @ 0000029acb00da80] Page at 144166 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 148471 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 152768 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 156948 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 161229 is missing granule
     Last message repeated 9 times
 [ogg @ 0000029acb00da80] Page at 161229 is missing granuleed=6.88x
     Last message repeated 20 times
 [ogg @ 0000029acb00da80] Page at 165419 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 169676 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 173868 is missing granule
     Last message repeated 33 times
 [ogg @ 0000029acb00da80] Page at 178209 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 182449 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 186728 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 190989 is missing granule
     Last message repeated 4 times
 [ogg @ 0000029acb00da80] Page at 190989 is missing granuleed=6.48x
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 195380 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 199553 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 203807 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 208070 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 212320 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 216589 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 216589 is missing granuleed=6.21x
     Last message repeated 5 times
 [ogg @ 0000029acb00da80] Page at 220820 is missing granule
     Last message repeated 22 times
 [ogg @ 0000029acb00da80] Page at 225168 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 229340 is missing granule
     Last message repeated 22 times
 [ogg @ 0000029acb00da80] Page at 233590 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 237781 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 242096 is missing granule
     Last message repeated 23 times
 [ogg @ 0000029acb00da80] Page at 246374 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 250665 is missing granule
     Last message repeated 7 times
 [ogg @ 0000029acb00da80] Page at 250665 is missing granuleed=6.08x
     Last message repeated 21 times
 [ogg @ 0000029acb00da80] Page at 254874 is missing granule
     Last message repeated 37 times
 [ogg @ 0000029acb00da80] Page at 259144 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 263437 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 267745 is missing granule
     Last message repeated 37 times
 [ogg @ 0000029acb00da80] Page at 271945 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 276276 is missing granule
     Last message repeated 26 times
 [ogg @ 0000029acb00da80] Page at 276276 is missing granuleed=5.93x
     Last message repeated 3 times
 [ogg @ 0000029acb00da80] Page at 280483 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 284666 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 288863 is missing granule
     Last message repeated 23 times
 [ogg @ 0000029acb00da80] Page at 293045 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 297245 is missing granule
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 301639 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 305926 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 305926 is missing granuleed=5.82x
     Last message repeated 2 times
 [ogg @ 0000029acb00da80] Page at 310227 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 314525 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 318790 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 322985 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 327153 is missing granule
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 331320 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 335613 is missing granule
     Last message repeated 22 times
 [ogg @ 0000029acb00da80] Page at 335613 is missing granuleed=5.73x
     Last message repeated 6 times
 [ogg @ 0000029acb00da80] Page at 340023 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 344202 is missing granule
     Last message repeated 23 times
 [ogg @ 0000029acb00da80] Page at 348484 is missing granule
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 352689 is missing granule
     Last message repeated 24 times
 [ogg @ 0000029acb00da80] Page at 356990 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 361263 is missing granule
     Last message repeated 24 times
 [ogg @ 0000029acb00da80] Page at 365626 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 369926 is missing granule
     Last message repeated 12 times
 [ogg @ 0000029acb00da80] Page at 369926 is missing granuleed=5.72x
     Last message repeated 21 times
 [ogg @ 0000029acb00da80] Page at 374122 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 378308 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 382540 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 390922 is missing granule
     Last message repeated 38 times
 [ogg @ 0000029acb00da80] Page at 395342 is missing granule
     Last message repeated 23 times
 [ogg @ 0000029acb00da80] Page at 399612 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 399612 is missing granuleed= 5.7x
     Last message repeated 3 times
 [ogg @ 0000029acb00da80] Page at 403894 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 408134 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 412518 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 416810 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 420992 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 425283 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 429447 is missing granule
     Last message repeated 22 times
 [ogg @ 0000029acb00da80] Page at 433640 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 437809 is missing granule
     Last message repeated 4 times
 [ogg @ 0000029acb00da80] Page at 437809 is missing granuleed=5.72x
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 442004 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 446396 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 450606 is missing granule
     Last message repeated 30 times
 [ogg @ 0000029acb00da80] Page at 454796 is missing granule
     Last message repeated 37 times
 [ogg @ 0000029acb00da80] Page at 458993 is missing granule
     Last message repeated 26 times
 [ogg @ 0000029acb00da80] Page at 463260 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 467502 is missing granule
     Last message repeated 12 times
 [ogg @ 0000029acb00da80] Page at 467502 is missing granuleed=5.68x
     Last message repeated 18 times
 [ogg @ 0000029acb00da80] Page at 471690 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 475915 is missing granule
     Last message repeated 33 times
 [ogg @ 0000029acb00da80] Page at 480102 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 484446 is missing granule
     Last message repeated 33 times
 [ogg @ 0000029acb00da80] Page at 488640 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 492875 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 497132 is missing granuleed=5.64x
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 501332 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 505586 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 509793 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 514200 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 518403 is missing granule
     Last message repeated 26 times
 [ogg @ 0000029acb00da80] Page at 522689 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 526973 is missing granule
     Last message repeated 7 times
 [ogg @ 0000029acb00da80] Page at 526973 is missing granuleed= 5.6x
     Last message repeated 22 times
 [ogg @ 0000029acb00da80] Page at 531176 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 535371 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 544086 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 548273 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 552667 is missing granule
     Last message repeated 33 times
 [ogg @ 0000029acb00da80] Page at 556952 is missing granule
     Last message repeated 27 times
 [ogg @ 0000029acb00da80] Page at 561113 is missing granule
     Last message repeated 1 times
 [ogg @ 0000029acb00da80] Page at 561113 is missing granuleed=5.62x
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 565322 is missing granule
     Last message repeated 26 times
 [ogg @ 0000029acb00da80] Page at 569499 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 573672 is missing granule
     Last message repeated 34 times
 [ogg @ 0000029acb00da80] Page at 578019 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 582288 is missing granule
     Last message repeated 36 times
 [ogg @ 0000029acb00da80] Page at 586490 is missing granule
     Last message repeated 19 times
 [ogg @ 0000029acb00da80] Page at 586490 is missing granuleed=5.57x
     Last message repeated 12 times
 [ogg @ 0000029acb00da80] Page at 590712 is missing granule
     Last message repeated 32 times
 [ogg @ 0000029acb00da80] Page at 594892 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 599250 is missing granule
     Last message repeated 37 times
 [ogg @ 0000029acb00da80] Page at 603416 is missing granule
     Last message repeated 19 times
 [ogg @ 0000029acb00da80] Page at 607585 is missing granule
     Last message repeated 31 times
 [ogg @ 0000029acb00da80] Page at 611970 is missing granule
     Last message repeated 25 times
 [ogg @ 0000029acb00da80] Page at 616218 is missing granule
     Last message repeated 20 times
 [ogg @ 0000029acb00da80] Page at 616218 is missing granuleed=5.56x
     Last message repeated 4 times
 [ogg @ 0000029acb00da80] Page at 620503 is missing granule
     Last message repeated 35 times
 [ogg @ 0000029acb00da80] Page at 624713 is missing granule
     Last message repeated 20 times
 [ogg @ 0000029acb00da80] Page at 629028 is missing granule
     Last message repeated 29 times
 [ogg @ 0000029acb00da80] Page at 633372 is missing granule
     Last message repeated 28 times
 [ogg @ 0000029acb00da80] Page at 637618 is missing granule
     Last message repeated 30 times
 size=     627kB time=00:00:55.08 bitrate=  93.2kbits/s speed=5.57x
 video:0kB audio:617kB subtitle:0kB other streams:0kB global headers:3kB
 muxing overhead: 1.626813%

 win10x64

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9050>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list