Processed: Fwd: Bug#773055: libav-tools: avconv -target pal-svcd fails with "Unable to parse option value "scan_offset""

2014-12-13 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 libav-de...@libav.org
Bug #773055 [libav-tools] libav-tools: avconv -target pal-svcd fails with 
"Unable to parse option value "scan_offset""
Set Bug forwarded-to-address to 'libav-de...@libav.org'.

-- 
773055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773055
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#773055: Fwd: Bug#773055: libav-tools: avconv -target pal-svcd fails with "Unable to parse option value "scan_offset""

2014-12-13 Thread Reinhard Tartler
Control: forwarded -1 libav-de...@libav.org

Hi,

This looks like an easy target to fix. Can someone have a look at
this? Is this critical and applicable for earlier releases as well?

Best,
Reinhard


-- Forwarded message --
From: Andreas Weber 
Date: Sat, Dec 13, 2014 at 2:48 PM
Subject: Bug#773055: libav-tools: avconv -target pal-svcd fails with
"Unable to parse option value "scan_offset""
To: Debian Bug Tracking System 


Package: libav-tools
Version: 6:11-2
Severity: normal
Tags: upstream

Dear Maintainer,

avconv -i in.mp4 -target pal-svcd out.mpg

fails with:
[mpeg2video @ 0x14b63c0] [Eval @ 0x73fcfd50] Undefined constant or missing
'(' in 'scan_offset'
[mpeg2video @ 0x14b63c0] Unable to parse option value "scan_offset"
[mpeg2video @ 0x14b63c0] Error setting option flags to value +scan_offset.

Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height

After fixing avconv_opt.c:

--- avconv_opt.c_orig   2014-12-13 20:34:41.795060988 +0100
+++ avconv_opt.c2014-12-13 20:26:00.579042876 +0100
@@ -1825,7 +1825,7 @@
 opt_default(NULL, "maxrate", "2516000");
 opt_default(NULL, "minrate", "0"); // 1145000;
 opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
-opt_default(NULL, "flags", "+scan_offset");
+opt_default(NULL, "scan_offset", "1");


 opt_default(NULL, "b:a", "224000");

avconv works as expected. Is it possible that patch
https://patches.libav.org/patch/19539/ got lost?


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages libav-tools depends on:
ii  dpkg 1.17.21
ii  libavcodec56 6:11-2
ii  libavdevice556:11-2
ii  libavfilter5 6:11-2
ii  libavformat566:11-2
ii  libavresample2   6:11-2
ii  libavutil54  6:11-2
ii  libc62.19-13
ii  libsdl1.2debian  1.2.15-10+b1
ii  libswscale3  6:11-2
ii  libvdpau10.8-3
ii  libx11-6 2:1.6.2-3

libav-tools recommends no packages.

Versions of packages libav-tools suggests:
pn  frei0r-plugins  

-- no debconf information

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


-- 
regards,
Reinhard
--- avconv_opt.c_orig	2014-12-13 20:34:41.795060988 +0100
+++ avconv_opt.c	2014-12-13 20:26:00.579042876 +0100
@@ -1825,7 +1825,7 @@
 opt_default(NULL, "maxrate", "2516000");
 opt_default(NULL, "minrate", "0"); // 1145000;
 opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
-opt_default(NULL, "flags", "+scan_offset");
+opt_default(NULL, "scan_offset", "1");
 
 
 opt_default(NULL, "b:a", "224000");
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#773055: libav-tools: avconv -target pal-svcd fails with "Unable to parse option value "scan_offset""

2014-12-13 Thread Andreas Weber
Package: libav-tools
Version: 6:11-2
Severity: normal
Tags: upstream

Dear Maintainer,

avconv -i in.mp4 -target pal-svcd out.mpg

fails with:
[mpeg2video @ 0x14b63c0] [Eval @ 0x73fcfd50] Undefined constant or missing
'(' in 'scan_offset'
[mpeg2video @ 0x14b63c0] Unable to parse option value "scan_offset"
[mpeg2video @ 0x14b63c0] Error setting option flags to value +scan_offset.

Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height

After fixing avconv_opt.c:

--- avconv_opt.c_orig   2014-12-13 20:34:41.795060988 +0100
+++ avconv_opt.c2014-12-13 20:26:00.579042876 +0100
@@ -1825,7 +1825,7 @@
 opt_default(NULL, "maxrate", "2516000");
 opt_default(NULL, "minrate", "0"); // 1145000;
 opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
-opt_default(NULL, "flags", "+scan_offset");
+opt_default(NULL, "scan_offset", "1");


 opt_default(NULL, "b:a", "224000");

avconv works as expected. Is it possible that patch
https://patches.libav.org/patch/19539/ got lost?


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages libav-tools depends on:
ii  dpkg 1.17.21
ii  libavcodec56 6:11-2
ii  libavdevice556:11-2
ii  libavfilter5 6:11-2
ii  libavformat566:11-2
ii  libavresample2   6:11-2
ii  libavutil54  6:11-2
ii  libc62.19-13
ii  libsdl1.2debian  1.2.15-10+b1
ii  libswscale3  6:11-2
ii  libvdpau10.8-3
ii  libx11-6 2:1.6.2-3

libav-tools recommends no packages.

Versions of packages libav-tools suggests:
pn  frei0r-plugins  

-- no debconf information
--- avconv_opt.c_orig	2014-12-13 20:34:41.795060988 +0100
+++ avconv_opt.c	2014-12-13 20:26:00.579042876 +0100
@@ -1825,7 +1825,7 @@
 opt_default(NULL, "maxrate", "2516000");
 opt_default(NULL, "minrate", "0"); // 1145000;
 opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
-opt_default(NULL, "flags", "+scan_offset");
+opt_default(NULL, "scan_offset", "1");
 
 
 opt_default(NULL, "b:a", "224000");
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers