google-code-export / tovid

Automatically exported from code.google.com/p/tovid
1 stars 0 forks source link

[mpeg @ 0x21837e0] Invalid stream specifier: Stream - no re-encoding of mpg-file possible #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to put some movies together onzo one DVD. The files are already 
DVD-compliant mpeg2-files, but the are ~1.6G. 

I'm now trying to resize them a little bit, but I'm stuck.

The command is:

nice -n 0 ffmpeg -i "/data/tmp/x_out/Faszinierende_Wildnis_Fische.mpg" -threads 
4 -target pal-dvd -qmin 6 -qmax 31 -b 4500k -ab 224k -ac 2   -r 25.000 -s 
720x576 -vf setdar=16:9  -map Stream  -map Stream -y  
"/data/tmp/x_out/Faszinierende_Wildnis_Fische.mpg.enc.mpg"

and fails with:

[mpeg @ 0x21837e0] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from '/data/tmp/x_out/Faszinierende_Wildnis_Fische.mpg':
  Duration: 00:43:09.07, start: 0.264656, bitrate: 5150 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 2044 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Please use -b:a or -b:v, -b is ambiguous
[mpeg @ 0x21837e0] Invalid stream specifier: Stream.
    Last message repeated 1 times
Stream map 'Stream' matches no streams.
[tovid]: Encode stopped, killing all sub processes

The logfile is attached. Tovid is version 0.34.

Any help here is greatly appreciated. I also tried with -fit 1300 instead of 
-quality, same result.

Thanks,
Sv3n

Original issue reported on code.google.com by sven.her...@gmail.com on 2 Jan 2012 at 6:16

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like you are using a very recent ffmpeg.  It has been quite a ride 
keeping up with all of the ffmpeg changes over the last few years - each one 
seemingly breaking backwards compatibility.  I haven't had a chance to 
reproduce this, but a fix will be in SVN when I get a chance if I can duplicate 
your findings.  Thanks for reporting.

Original comment by grepper@gmail.com on 10 Jan 2012 at 5:32

GoogleCodeExporter commented 9 years ago
Sorry, just noticed that you are using tovid-0.34.  Could you please try tovid 
from SVN which one should always use if using such a recent ffmpeg.  Otherwise 
ffmpeg's ongoing breakage of backwards compatibility will cause things to fail.
See the subversion section of:
http://tovid.wikia.com/wiki/Installing_tovid
grepper

Original comment by grepper@gmail.com on 19 Jan 2012 at 6:27

GoogleCodeExporter commented 9 years ago
Sorry, a fix has been in SVN now for some time since my last post.
r3405 | grepper | 2011-10-24 10:12:06 -0400 (Mon, 24 Oct 2011) | 3 lines

ffmpeg changed to using ':' as a separator for the track numbers.  Adjusted
the sed line that parses it.

r3406 | grepper | 2011-10-24 12:03:01 -0400 (Mon, 24 Oct 2011) | 3 lines

As in last commit, change sed line parsing stream number to account for
ffmpeg's change to using ":" as a separator.

I'll leave this issue open for a bit to see if there are confirmations or 
problems.  Works for me though.

Original comment by grepper@gmail.com on 15 Mar 2012 at 1:21

GoogleCodeExporter commented 9 years ago
marking invalid as this is fixed in SVN and there was no reponse in 3 months.

Original comment by grepper@gmail.com on 15 Jun 2012 at 6:40