Opened 9 years ago

Last modified 6 years ago

#4180 open defect

Remuxing cook leads to broken files

Reported by: Đonny Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: real cook
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
I have some real media file. I trim it by FFmpeg (loss-less), afterwards FFporbe refuses to give information about the file, and I cannot play it.
How to reproduce:
1) Trim the file

ffmpeg.exe -ss 00:04:43.2400000 -i RM.rm -t 00:08:33.5800000 -c copy -map 0 -threa
ds auto -y -map_chapters -1 trim.rm
ffmpeg version N-68355-gae81680 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 10 2014 02:07:55 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-li
bgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-lib
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --en
able-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable
-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.103 / 56. 15.103
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[rm @ 000000000034d3c0] Invalid stream index 1 for index at pos 3708982
Input #0, rm, from 'RM.rm':
  Metadata:
    title           : Radio Farda
    author          : Radio Farda
    copyright       : Radio Farda, 2014
    comment         :
    Creation Date   : 3/20/2014 10:45:11
    Generated By    : RealProducer 14.0 for Windows, Build 14.0.0.5138
    Modification Date: 3/20/2014 10:45:11
  Duration: 00:15:00.93, start: 0.000000, bitrate: 32 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, stereo, fltp, 32 kb/s
Output #0, rm, to 'trim.rm':
  Metadata:
    title           : Radio Farda
    author          : Radio Farda
    copyright       : Radio Farda, 2014
    comment         :
    Creation Date   : 3/20/2014 10:45:11
    Generated By    : RealProducer 14.0 for Windows, Build 14.0.0.5138
    Modification Date: 3/20/2014 10:45:11
    encoder         : Lavf56.15.103
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, stereo, 32 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=    2272kB time=00:08:33.55 bitrate=  36.2kbits/s
video:0kB audio:2012kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
12.918076%

Get info about the file

ffprobe trim.rm
ffprobe version N-68355-gae81680 Copyright (c) 2007-2014 the FFmpeg developers
  built on Dec 10 2014 02:07:55 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-li
bgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-lib
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --en
able-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable
-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.103 / 56. 15.103
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[rm @ 0000000000348d60] sub_packet_size is invalid
trim.rm: Operation not permitted

Change History (3)

comment:1 by Đonny, 9 years ago

The original file is too big to attach. Download it from http://dzonny.cz/test/RM.rm

Last edited 9 years ago by Đonny (previous) (diff)

comment:2 by Carl Eugen Hoyos, 9 years ago

I don't understand: How is this ticket related to FFprobe?

comment:3 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavformat
Keywords: real cook added; RealMedia removed
Reproduced by developer: set
Status: newopen
Summary: FFprobe Real Media sub_packet_size is invalid (on file generated by FFmpeg)Remuxing cook leads to broken files
Note: See TracTickets for help on using tickets.