Opened 7 years ago

Closed 13 months ago

Last modified 13 months ago

#6600 closed defect (invalid)

Error Header missing in Split MP3 file base on time

Reported by: vahid_00001 Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: MP3 segment
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:I want split MP3 file base on time. I have one Album and only one track get this error.
How to reproduce:

% ffmpeg -i 1.mp3 -c:a libmp3lame -b:a 128k  -f segment -segment_time 10 -segment_list outputlist.m3u8 -segment_format mp3 'output%03d.mp3'
ffmpeg version N-87012-g1146133 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
built on mint 

output :

ffmpeg version N-87012-g1146133 Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.102.100 / 57.102.100
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6.100.100 / 6.100.100
libswscale 4. 7.102 / 4. 7.102
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100

Input #0, mp3, from '1.mp3':

Metadata:

album_artist : James Blunt
album : The Afterlove (Extended Version)
genre : Pop
title : Love Me Better
artist : James Blunt
disc : 1/1
track : 01/13
comment : .
encoded_by : MSD
Catalog Number : Dlera
date : 2017

Duration: 00:03:38.57, start: 0.025056, bitrate: 321 kb/s

Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
Metadata:

encoder : Lavc57.48

Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:

comment : Cover (front)

Stream mapping:

Stream #0:1 -> #0:0 (mjpeg (native) -> png (native))
Stream #0:0 -> #0:1 (mp3 (native) -> mp3 (libmp3lame))

Press [q] to stop, ? for help
[swscaler @ 0x2405260] deprecated pixel format used, make sure you did set range correctly
[segment @ 0x23b5160] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[segment @ 0x23b5160] Opening 'output000.mp3' for writing
Output #0, segment, to 'output%03d.mp3':

Metadata:

album_artist : James Blunt
album : The Afterlove (Extended Version)
genre : Pop
title : Love Me Better
artist : James Blunt
disc : 1/1
track : 01/13
comment : .
encoded_by : MSD
Catalog Number : Dlera
date : 2017
encoder : Lavf57.76.100
Stream #0:0: Video: png, rgb24(progressive), 600x600 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc
Metadata:

comment : Cover (front)
encoder : Lavc57.102.100 png

Stream #0:1: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 128 kb/s
Metadata:

encoder : Lavc57.102.100 libmp3lame

[mp3 @ 0x26cc840] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output001.mp3' for writing
[mp3 @ 0x26e8880] No packets were sent for some of the attached pictures.1x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output002.mp3' for writing
[mp3 @ 0x2725a40] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output003.mp3' for writing
[mp3 @ 0x270eb00] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output004.mp3' for writing
[mp3 @ 0x2745020] No packets were sent for some of the attached pictures.4x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output005.mp3' for writing
[mp3 @ 0x2708d20] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output006.mp3' for writing
[mp3 @ 0x274fea0] No packets were sent for some of the attached pictures.5x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output007.mp3' for writing
[mp3 @ 0x2701ec0] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output008.mp3' for writing
[mp3 @ 0x2718d00] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output009.mp3' for writing
[mp3 @ 0x26e3d80] No packets were sent for some of the attached pictures.3x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output010.mp3' for writing
[mp3 @ 0x27516e0] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output011.mp3' for writing
[mp3 @ 0x275a920] No packets were sent for some of the attached pictures.5x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output012.mp3' for writing
[mp3 @ 0x27247c0] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output013.mp3' for writing
[mp3 @ 0x26d4600] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output014.mp3' for writing
[mp3 @ 0x23c1a00] No packets were sent for some of the attached pictures.4x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output015.mp3' for writing
[mp3 @ 0x2702080] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output016.mp3' for writing
[mp3 @ 0x274f680] No packets were sent for some of the attached pictures.2x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output017.mp3' for writing
[mp3 @ 0x271c8e0] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output018.mp3' for writing
[mp3 @ 0x26f7ac0] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output019.mp3' for writing
[mp3 @ 0x272da00] No packets were sent for some of the attached pictures.3x
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output020.mp3' for writing
[mp3 @ 0x23b3d20] overread, skip -6 enddists: -3 -3
[mp3 @ 0x23b3d20] Header missing
Error while decoding stream #0:0: Invalid data found when processing input
[libmp3lame @ 0x23c7600] Trying to remove 1152 samples, but the queue is empty
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
[segment @ 0x23b5160] Opening 'output021.mp3' for writing
[mp3 @ 0x2755280] No packets were sent for some of the attached pictures.
[segment @ 0x23b5160] Opening 'outputlist.m3u8.tmp' for writing
frame= 1 fps=0.2 q=-0.0 Lsize=N/A time=00:03:38.56 bitrate=N/A speed=50.4x
video:239kB audio:3416kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

1.mp3 (1.5 MB ) - added by vahid_00001 7 years ago.
this is part of track.

Download all attachments as: .zip

Change History (2)

by vahid_00001, 7 years ago

Attachment: 1.mp3 added

this is part of track.

comment:1 by Balling, 13 months ago

Resolution: invalid
Status: newclosed

Does not happen with 01 - James Blunt - Love Me Better.flac

Though on every segment on ffplay

[mp3float @ 0000025ff0b6a900] Header missing 0KB sq= 0B f=0/0

Last edited 13 months ago by Balling (previous) (diff)
Note: See TracTickets for help on using tickets.