beetbox / beetbox/audioread

ffmpeg succeeds for broken FLAC

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
538
Forks
112
PR merge metrics
No merged PRs in 30d

Description

The same file as #3 succeeds in ffmpeg:

ffmpeg output

```
ffmpeg -i test/Somefile.flac -f s16le - > x
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jan 24 2013 18:01:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[flac @ 0x25c39c0] max_analyze_duration reached
Input #0, flac, from 'test/Somefile.flac':
[ ... ]
Press ctrl-c to stop encoding
[flac @ 0x25c5940] overread: 1
Error while decoding stream #0.0
Multiple frames in a packet from stream 0
[flac @ 0x25c5940] invalid sync code
[flac @ 0x25c5940] invalid frame header
[flac @ 0x25c5940] decode_frame() failed
Error while decoding stream #0.0
[flac @ 0x25c5940] invalid sync code
[flac @ 0x25c5940] invalid frame header
[flac @ 0x25c5940] decode_frame() failed
Error while decoding stream #0.0
[flac @ 0x25c5940] qlevel -8 not supported, maybe buggy stream
[flac @ 0x25c5940] decode_frame() failed
Error while decoding stream #0.0
[flac @ 0x25c5940] qlevel -10 not supported, maybe buggy stream
[flac @ 0x25c5940] decode_frame() failed
Error while decoding stream #0.0
[flac @ 0x25c5940] invalid sync code
[flac @ 0x25c5940] invalid frame header
[flac @ 0x25c5940] decode_frame() failed
[ ... ]
[flac @ 0x25c5940] invalid sync code
[flac @ 0x25c5940] invalid frame header
[flac @ 0x25c5940] decode_frame() failed
Error while decoding stream #0.0
size= 33218kB time=192.83 bitrate=1411.2kbits/s

video:0kB audio:33218kB global headers:0kB muxing overhead 0.000000%
```

and the best:

echo $?
0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test/Somefile.flac and the issue referenced as #3, then compare the project's handling with the provided ffmpeg command and output. Done means explaining or reproducing the differing behavior, ideally with a focused test or a documented conclusion; no source file or existing test is named here.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.