PiRSquared17 / flvmeta

Automatically exported from code.google.com/p/flvmeta
GNU General Public License v2.0
0 stars 0 forks source link

flvmeta invalid flv tag, xsplit 1.0.1109.1101 #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone https://code.google.com/p/flvmeta/
2. cd flvmeta
3. sh autogen.sh
4. configure && make && make install
5. wget http://vodportal.ru/video/vods/flvmeta_problem.flv
# attention: it's quite large - ~1.3G
6. flvmeta -v flvmeta_problem.flv out.flv

What is the expected output? What do you see instead?
This is what i get:
$ flvmeta  video/vods/flvmeta_problem.flv tmp/out.flv
flvmeta: invalid FLV tag

What version of the product are you using? On what operating system?
$ flvmeta -V
flvmeta 1.1
$ uname -a
... 7.3-RELEASE FreeBSD ...

Please provide any additional information below.
The flv file has been created with the following software:
xsplit 1.0.1109.1101
broadcaster 1.2.1.63
Media lib 2.0.0.59
GameSoursee 1.1.0.7

And we had no problems using previous versions of xsplit. 

Original issue reported on code.google.com by ffe...@gmail.com on 24 Sep 2011 at 8:34

GoogleCodeExporter commented 9 years ago
Hello,

I tested and reproduced, however, inspection using flvmeta --check reveals a 
few probems within the file. Notably, the last tag is not a valid FLV tag, 
since its type marker is 0 (zero), which does not correspond to any valid tag 
type. By default, flvmeta will stop at the first invalid tag it encounters.

Flvmeta has a --ignore/-i option specifically designed for this case. It causes 
flvmeta not to analyze tags it cannot identify, and silently copy them 
untouched to the output file.

So if you use `flvmeta -v -i flvmeta_problem.flv out.flv`, which i tested too, 
flvmeta will not exit with an error code, and the output file will be correctly 
created.

You could also use the --fix option instead of --ignore to make flvmeta not 
copy the faulty tags altogether.

In any case, flvmeta is not the cause of the problem, it merely highlights the 
symptoms :)

There are also a lot of invalid "previous_tag_size" fields in the file. Even 
though these don't usually matter, they mean the encoding software has a 
serious misunderstanding of the FLV format.

Regards,
Marc

Original comment by marc.noi...@gmail.com on 26 Sep 2011 at 3:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please do not hijack invalid or closed issues, if you encounter problems using 
flvmeta, use the mailing list at http://groups.google.com/group/flvmeta-discuss.

Original comment by marc.noi...@gmail.com on 15 Mar 2012 at 10:25