Ogg FLAC streaming playback fails (incorrect timestamp conversion?)
Playback of Ogg FLAC streams over HTTP is broken in VLC 3.0.7 and 3.0.8 (latest release). When playing a stream, the output is silence, and the messages window reports:
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 162987219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 167595219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 172203219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 176811219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 181419219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 186027219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 190635219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 195243219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 199851219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 204459219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 209067219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 213675219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 218283219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 222891219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 227499219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 232107219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 236715219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 241323219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 245931219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 250539219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 255147219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 259755219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 264363219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 268971219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 273579219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 278187219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 282795219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 287403219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 292011219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 296619219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 301227219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 305835219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 310443219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 315051219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 319659219469 for flac
main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
main error: Could not convert timestamp 324267219469 for flac
I've confirmed Ogg FLAC streams play normally in VLC 3.0.6 and lower.
The timestamps above jump by a suspiciously large amount. It seems like the MSB and LSB could be mixed up somewhere, maybe in the Ogg demuxer, or something like that. I don't see any significant changes to the FLAC demuxer since 3.0.6.
I have reproduced this bug with both Icecast-KH 2.4.0-kh8 and Rocket Streaming Audio Server 0.1.2 ( https://www.rocketbroadcaster.com/streaming-audio-server ), to eliminate the possibility of the streaming server being a problem.
I've also reproduced the problem with both the Foobar2000 foo_streamer encoder and Rocket Broadcaster, to eliminate the possibility of the encoder being an issue.