Your message dated Tue, 06 Mar 2018 13:37:11 +0000
with message-id <e1etcmf-000ibi...@fasolo.debian.org>
and subject line Bug#892176: fixed in yorick-av 0.0.4-2
has caused the Debian Bug report #892176,
regarding yorick-av: Need to set VBV buffer size for MPEG1/2 files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
892176: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892176
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: yorick-av
Version: 0.0.4-1
Severity: normal
Tags: patch

Dear self,

FFmpeg complains (warnings) about unset VBV buffer size and buffer overflows
when produgin MPEG 1 (.mpg) or MPEG2 (.vob) files. The resulting files may then
play sluggishly (or not at all, i.e. frozen on first frame) at least in VLC.

This patch sets an appropriate buffer size.

Regards, self.



-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (500, 'stable-debug'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages yorick-av depends on:
ii  libavcodec57   7:3.2.10-1~deb9u1
ii  libavformat57  7:3.2.10-1~deb9u1
ii  libavutil55    7:3.2.10-1~deb9u1
ii  libc6          2.24-11+deb9u1
ii  libswscale4    7:3.2.10-1~deb9u1
ii  yorick         2.2.04+dfsg1-6+b1

yorick-av recommends no packages.

yorick-av suggests no packages.

-- no debconf information
Description: Set VBV buffer size for MPEG1/2 files
 FFmpeg emits warnings when producing MPEG1/2 files and the VBV buffer
 size has not been set. The output files may then play sluggishly in
 VLC. This backported patch sets a VBV buffer size sufficient to hold
 one frame.
Author: Thibaut Paumard <thib...@debian.org>
Origin: backport
Bug-Debian: coming soon
Forwarded: not-needed
Applied-Upstream: 0.0.5
Last-Update: 2018-03-06 
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/yav.c
+++ b/yav.c
@@ -259,6 +259,17 @@
 void yav_opencodec(yav_ctxt *obj, unsigned int width, unsigned int height) {
   obj->video_st->codec->width=width;
   obj->video_st->codec->height=height;
+  if (obj->enc->codec_id == AV_CODEC_ID_MPEG1VIDEO ||
+      obj->enc->codec_id == AV_CODEC_ID_MPEG2VIDEO) {
+    AVCPBProperties *props;
+    props = (AVCPBProperties*) av_stream_new_side_data
+      (obj->video_st, AV_PKT_DATA_CPB_PROPERTIES, sizeof(*props));
+    props->buffer_size = width*height*4;
+    props->max_bitrate = 0;
+    props->min_bitrate = 0;
+    props->avg_bitrate = 0;
+    props->vbv_delay = UINT64_MAX;
+  }
   av_dump_format(obj->oc, 0, obj->oc->filename, 1);
 
   if (obj->video_st) {

--- End Message ---
--- Begin Message ---
Source: yorick-av
Source-Version: 0.0.4-2

We believe that the bug you reported is fixed in the latest version of
yorick-av, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 892...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thibaut Paumard <thib...@debian.org> (supplier of updated yorick-av package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 06 Mar 2018 14:01:45 +0100
Source: yorick-av
Binary: yorick-av
Architecture: source
Version: 0.0.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Thibaut Paumard <thib...@debian.org>
Description:
 yorick-av  - write movies from Yorick in various formats
Closes: 890880 892176
Changes:
 yorick-av (0.0.4-2) unstable; urgency=low
 .
   * Bug fix: "AVPacket timestamps need to be rescaled for most codecs"
     (Closes: #890880).
   * Bug fix: "Need to set VBV buffer size for MPEG1/2 files", (Closes:
     #892176).
Checksums-Sha1:
 e5b8009fa2be3bacdb7422bdaf482c0f0329b48f 2122 yorick-av_0.0.4-2.dsc
 28ca124fb7320dde11fa2ac43372b4278085f6a4 5332 yorick-av_0.0.4-2.debian.tar.xz
 d8bce9a03347fd50ba5932f5af678dda02af6269 8444 yorick-av_0.0.4-2_amd64.buildinfo
Checksums-Sha256:
 68f6d20f620026ca657537f2eeee42c3e023056cc7a005f4b18283092a849cb3 2122 
yorick-av_0.0.4-2.dsc
 f1a1d1d43a38a6ab4f674ad7fab8bd5ec641d8d727b208a782fedc7209944059 5332 
yorick-av_0.0.4-2.debian.tar.xz
 207265068c2bd24de3b2b08a65fa3559e78e4ad764d8d9a41362dffe3f006c0f 8444 
yorick-av_0.0.4-2_amd64.buildinfo
Files:
 ac7fb87f59c8a3384e086bb2a09714bc 2122 science extra yorick-av_0.0.4-2.dsc
 b868a19220a30798ff8dd7dcd772c217 5332 science extra 
yorick-av_0.0.4-2.debian.tar.xz
 8c1d88c4ecdd795ad55f5c3857db10a5 8444 science extra 
yorick-av_0.0.4-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEvK37UrQZmNdNmdmOk5RTSODcKEAFAlqelBoTHHRoaWJhdXRA
ZGViaWFuLm9yZwAKCRCTlFNI4NwoQEUUD/0bc5byREsTZAPuWn9X6dQhJ04gteXg
qDQZenaqFvTXZzJHsitInhjKdqcZsjfMdUzzWEp6w+OPMo2u3snt+UjTj3CfKL4e
bb96LW6D6V7FYFL7nK41iRK/TqxhlkMZL2FNYfQbIWyjvIgzn7D3xnY1gYKp9Pmf
xSFR+8rWYlKLDfgWMi8RlCuPSzguR5FWwtFkhstH/ROPIGxDbVGw94JjK4SHYDpf
J5fFym2A/4ip0OylUVYSCE/ufLORqkELhVJeRLr4iEVMs8C0puftq3XJYuKp+qg2
PYk9esCyooboKdaotAfqcLDMslLzEzp6eJ+sMN/SQaQgrLbE8prPcNXQwnwwsSmg
6aSSoNQ/Y3GjcRMgn4STaG1VGocCKp4tObda8ziWgu5Dp9P89+wfRRudVnRlo6go
MKUTtsYSte8IxoTZfC8Q7WHkYz3aJ57jvxfwDkURjZK2ILXdMnsciR/mR2oV7sxP
ONh1huxCUO3dF+wjutXROW4f/9yKQIPVkDKkHhrEV7Xyww0LJtWjHA75b8LDoT1w
Ccv7zHjhuNNikSXUDAIg+f4qjYy1jZAgu8ocs6ed1zoPWAarO2f59MCUE8Y6BWSM
aTM6SNZCXd+g0Nt09UspbVgWQjKnlphLpZR2aMZUA96NolqzbfB07KWgZttxUvOx
wWhnVH0FAcDVTQ==
=ztbK
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to