Opened 4 years ago

Closed 4 years ago

#8557 closed defect (needs_more_info)

ffmpeg sampling is different accross versions

Reported by: Hamid Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I suppose the following command should produce the same output different minor versions of ffmpeg 4. But in this case, I found the output is different for a given ogg file when moving from version 4.0.3 to 4.2.2
How to reproduce:
Run the following on a ogg opus file in 2 versions. The output is different:

ffmpeg -i input.ogg -ac 1 -ar 15000 -f s16le - 2>/dev/null

For mp3 files there is no difference. I suppose there was/is a bug in either of versions.

Attachments (1)

hello 1.ogg (25.9 KB ) - added by Hamid 4 years ago.

Download all attachments as: .zip

Change History (4)

by Hamid, 4 years ago

Attachment: hello 1.ogg added

comment:1 by Elon Musk, 4 years ago

Resolution: invalid
Status: newclosed

Too vague.

comment:2 by Hamid, 4 years ago

Resolution: invalid
Status: closedreopened

Please run the command using 2 versions of ffmpeg. The input data is the same but output changes. Was this due to a bugfix or is it a new bug?
I don't know what is vague here!
The command just prints samples as 16bit signed integers in binary little endian format.
Same input should give same output.

in reply to:  2 comment:3 by Carl Eugen Hoyos, 4 years ago

Resolution: needs_more_info
Status: reopenedclosed

Replying to halaei:

Please run the command using 2 versions of ffmpeg. The input data is the same but output changes.

Why is this an issue?

Was this due to a bugfix or is it a new bug?

Please run git bisect and tell us!

I don't know what is vague here!

Mostly that you didn't tell us what you don't like about the current output.

The command just prints samples as 16bit signed integers in binary little endian format.
Same input should give same output.

This is not true in every case (think of multi-threaded encoding), and certainly not across different versions.

Note: See TracTickets for help on using tickets.