Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#10403 closed defect (invalid)

Audio sample rate adjustment for simple speed change (lossless)

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

Description (last modified by Noitarud)

I assume the audio is read at the sample rate speed, so if I somehow get the SR changed I should get a different audio playback speed (and this would be lossless), but with -c copy and -ar it appears to reencode (ignores -ar) and there is no speed change.
Here is the string I used:
"C:\Program Files\GPAC\ffmpeg" -i INPUT44100.mp3 -c copy -ar 22050 E:\slow.mp3

MP3: A little research gives me: sample rate is recorded on each frame, sample rates are specific steps, and this may only work per "version" (MPEG1 is 44.1/48/32k; V2 half of V1) if contents differ, such a conversion step (inside V1) may be expedient for some people, but not versitile enough for all (proper fractions of speed) even if between V1/2/2.5 were offered. http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
•Mp3 44100 to 48000 attempt same problem.

I can only see OGG, AIFF, WAV supports arbitrary values, so no good for me.

Change History (4)

comment:1 by Michael Koch, 17 months ago

Resolution: invalid
Status: newclosed

This is the bug tracker. It's not the place for asking questions.

comment:2 by Noitarud, 17 months ago

Description: modified (diff)
Summary: Audio sample rate adjustment for simple speed changeAudio sample rate adjustment for simple speed change (lossless)

comment:3 by Noitarud, 17 months ago

Description: modified (diff)

comment:4 by Noitarud, 17 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.