Ticket #1608 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

lxfdec fails to recognize 16 channels

Reported by: gerard3818 Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: lxf
Cc: Reimar, Döffinger, Tomas, Härdin, Michael, Niedermayer Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:lxf version 1 with 16 tracks created with VR are interpreted as 12 tracks audio channels, with 4 and 8 traks works fine.
How to reproduce: By exemple ffmpeg -i input.lxf -vcodec copy -acodec copy output.mxf

% ffmpeg -i input.lxf -vcodec xx -acodec xx output.xxx
ffmpeg version all the new with version 1 lxf support.
built on ...

Attachments

AdriveShareFiles.txt Download (1002 bytes) - added by gerard3818 10 months ago.
Links to the files due to the size of them
attachment.png Download (126.4 KB) - added by gerard3818 10 months ago.
attachment.zip Download (136.0 KB) - added by gerard3818 10 months ago.

Change History

Changed 10 months ago by gerard3818

Links to the files due to the size of them

Changed 10 months ago by gerard3818

Changed 10 months ago by gerard3818

comment:1 Changed 10 months ago by gerard3818

In the example when mxf is created, has 12 channels and the mxf created is corrupted, is possible to play but has wrong video and audio timing.
All the file I sent are true native lxf version 1, you can use to test with trust.

comment:2 Changed 10 months ago by gerard3818

Note: The files from  http://titan.codemill.se/~tomhar/samples/lxf/ not all are lxf version 1 native
1.lxf
100723-TAM VAN HOA-00240.lxf
F0015132.lxf
PM4617.lxf
ZB09_108_LXF_V1.lxf
F0000721.lxf
F0015132.lxf
LXF_File_1.lxf

All of them have invalid format when used in VR, 2 channels are not use in native lxf version 1.

comment:3 Changed 10 months ago by gerard3818

Last Mediainfo reports badly 12 chanels too with device and trace, although find the 16 PCM channels inside in basic mode.

comment:4 Changed 10 months ago by cehoyos

  • Keywords lxfdec removed

Is this also reproducible with current git head?

Please add complete, uncut ffmpeg console output.

comment:5 Changed 10 months ago by cehoyos

  • Status changed from new to open
  • Version changed from 0.11.1 to git-master
  • Reproduced by developer set

Patch on mailing list.

comment:6 Changed 9 months ago by gerard3818

I tested the patch and works fine with "ffmpeg -i input.lxf -vcodec copy -acodec copy output.mxf", the files created have 4,8 or 16 channels and they can be played well.
Please let me now if you need something else.
Thank you

comment:7 Changed 9 months ago by cehoyos

  • Status changed from open to closed
  • Resolution set to fixed

Thank you for testing and the analysis!

Note: See TracTickets for help on using tickets.