[libav-bugs] [Bug 325] problems with using -ss option when transcoding from *.vob to *.avi

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Jul 10 01:08:58 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=325

--- Comment #2 from Andrzej <superandrzej at epf.pl> 2012-07-10 01:08:58 CEST ---
> Does it happen with all vobs or just one?
I didn't have a need to use this options with other *.vob
I'll try with other one and let you know.

> Does changing the seek time have any influence on it?
No. I've tried with various times. The error is the same

As a temporary workaround you can use -ss as an output option (move it
before the output filename), which will be slower (since avconv will
decode everything), but should work more reliably.
I tried:
-> avconv -i '/A/film.vob' -ac 2  -ss 0:17:47 -t 01:28:48.4 '/A/film.avi'
avconv version 0.8.3, Copyright (c) 2000-2012 the Libav developers
  built on Jun 26 2012 22:35:07 with gcc 4.6.2
[mpeg @ 0x95c6a80] max_analyze_duration reached
Input #0, mpeg, from '/A/film.vob':
  Duration: 00:00:21.02, start: 0.287267, bitrate: -2147483 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45
DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x20]: Subtitle: dvdsub
    Stream #0.2[0x21]: Subtitle: dvdsub
    Stream #0.3[0x22]: Subtitle: dvdsub
    Stream #0.4[0x23]: Subtitle: dvdsub
    Stream #0.5[0x24]: Subtitle: dvdsub
    Stream #0.6[0x25]: Subtitle: dvdsub
    Stream #0.7[0x26]: Subtitle: dvdsub
    Stream #0.8[0x27]: Subtitle: dvdsub
    Stream #0.9[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Stream #0.10[0x81]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.11[0x82]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.12[0x83]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.13[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0.14[0x28]: Subtitle: dvdsub
    Stream #0.15[0x29]: Subtitle: dvdsub
    Stream #0.16[0x2a]: Subtitle: dvdsub
File '/A/film.avi' already exists. Overwrite ? [y/N] y
[buffer @ 0x95c9e00] w:720 h:576 pixfmt:yuv420p
Output #0, avi, to '/A/film.avi':
  Metadata:
    ISFT            : Lavf53.21.0
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31,
200 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, s16, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:9 -> #0:1 (ac3 -> libmp3lame)
Press ctrl-c to stop encoding
frame=    0 fps=  0 q=0.0 Lsize=      10kB time=10000000000.00
bitrate=0.0kbits/s



and my CPU is 100% but there is no progress in decoding.
when I hit ctrl-c last line changes into:


frame=    0 fps=  0 q=0.0 Lsize=      10kB time=0.02 bitrate=3531.3kbits/s   
s/s    
video:0kB audio:1kB global headers:0kB muxing overhead 1739.236111%
Received signal 2: terminating.


> Also note that -t is strictly an output option, specifying it as an
> input option has no effect (i hope to fix the options parser so it
> prints an error in such a case soon).

with what value -t option should be accompanied with in my case (in combination
with -ss option)?:
-t 01:28:48.4 (the final length)
or
-t 1:46:35.4 (the final length + 0:17:47 of beginning that I do not want)

It is not obvious when using -t as an output option.
few months ago -t was also properly interpreted as an input option.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list