Re: [FFmpeg-devel] [PATCH 0/2] Fix gapless encoding/remuxing for MP3

2016-10-18 Thread Andreas Cadhalpun
On 17.10.2016 23:55, Jon Toohill wrote:
> Round trip wav->mp3->wav now preserves the correct number of samples.
> Remuxing mp3->mp3 with -c:a copy also preserves any existing gapless
> metadata in the Info tag.
> 
> The code in libmp3lame.c to set AV_PKT_DATA_SKIP_SAMPLES was mostly
> copied from libopusenc.c.
> 
> Jon Toohill (2):
>   lavc/libmp3lame: send encoder delay/padding in packet side data
>   lavf/mp3enc: write encoder delay/padding upon closing
> 
>  libavcodec/libmp3lame.c | 27 ++-
>  libavformat/mp3enc.c| 34 --
>  2 files changed, 54 insertions(+), 7 deletions(-)
> 

I've applied both patches. Thanks for fixing this!

Best regards,
Andreas
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH 0/2] Fix gapless encoding/remuxing for MP3

2016-10-17 Thread Jon Toohill
Round trip wav->mp3->wav now preserves the correct number of samples.
Remuxing mp3->mp3 with -c:a copy also preserves any existing gapless
metadata in the Info tag.

The code in libmp3lame.c to set AV_PKT_DATA_SKIP_SAMPLES was mostly
copied from libopusenc.c.

Jon Toohill (2):
  lavc/libmp3lame: send encoder delay/padding in packet side data
  lavf/mp3enc: write encoder delay/padding upon closing

 libavcodec/libmp3lame.c | 27 ++-
 libavformat/mp3enc.c| 34 --
 2 files changed, 54 insertions(+), 7 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH 0/2] Fix gapless encoding/remuxing for MP3

2016-10-05 Thread Jon Toohill
Round trip wav->mp3->wav now preserves the correct number of samples.
Remuxing mp3->mp3 with -c:a copy also preserves any existing gapless
metadata in the Info tag.

The code in libmp3lame.c to set AV_PKT_DATA_SKIP_SAMPLES was mostly
copied from libopusenc.c.

Jon Toohill (2):
  lavc/libmp3lame: send encoder delay/padding in packet side data
  lavf/mp3enc: write encoder delay/padding upon closing

 libavcodec/libmp3lame.c | 26 +-
 libavformat/mp3enc.c| 34 +++---
 2 files changed, 52 insertions(+), 8 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel