mipops / dvrescue

Archivist-made software that supports data migration from DV tapes into digital files suitable for long-term preservation. Snapshot daily builds are at https://mediaarea.net/download/snapshots/binary/dvrescue/.
BSD 3-Clause "New" or "Revised" License
90 stars 20 forks source link

report on missing audio packs #342

Open dericed opened 3 years ago

dericed commented 3 years ago

BAVC1010855_DV000161_take01-002-6643800000-6644260000.dv.zip BAVC1010855_DV000161_take01-002-6643800000-6644040000.dv.zip

These two samples produce these xmls (with 20200822 build):

<?xml version="1.0" encoding="UTF-8"?> 
<dvrescue xmlns="https://mediaarea.net/dvrescue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://mediaarea.net/dvrescue https://mediaarea.net/dvrescue/dvrescue.xsd" version="1.1">
    <creator>
        <program>dvrescue</program>
        <version>0.20.11.20210822</version>
        <library version="21.03">MediaInfoLib</library>
    </creator>
    <media ref="/Users/davidrice/Downloads/BAVC1010855_DV000161_take01-002-6643800000-6644040000.dv" format="DV" size="240000">
        <frames count="2" pts="00:00:00.000000" end_pts="00:00:00.066733" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3" audio_rate="32000" channels="4">
            <frame n="0" pos="0" pts="00:00:00.000000" abst="553690" tc="00:30:47;13" rdt="2002-08-07 16:38:17" rec_start="1" seqn="F"/>
            <frame n="1" pos="120000" pts="00:00:00.033366" abst="553700" tc="00:30:47;14" rdt="2002-08-07 16:38:17" seqn="F" no_sourceorcontrol_aud="1"/>
        </frames>
    </media>
</dvrescue>

and

<?xml version="1.0" encoding="UTF-8"?> 
<dvrescue xmlns="https://mediaarea.net/dvrescue" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://mediaarea.net/dvrescue https://mediaarea.net/dvrescue/dvrescue.xsd" version="1.1">
    <creator>
        <program>dvrescue</program>
        <version>0.20.11.20210822</version>
        <library version="21.03">MediaInfoLib</library>
    </creator>
    <media ref="/Users/davidrice/Downloads/BAVC1010855_DV000161_take01-002-6643800000-6644260000.dv" format="DV" size="480000">
        <frames count="4" pts="00:00:00.000000" end_pts="00:00:00.133466" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3" audio_rate="32000" channels="4">
            <frame n="0" pos="0" pts="00:00:00.000000" abst="553690" tc="00:30:47;13" rdt="2002-08-07 16:38:17" rec_start="1" seqn="F"/>
            <frame n="3" pos="360000" pts="00:00:00.100100" abst="553720" tc="00:30:47;16" rdt="2002-08-07 16:38:17" seqn="F"/>
        </frames>
    </media>
</dvrescue>

In 6643800000-6644040000.dv, we get <frame n="1" pos="120000" pts="00:00:00.033366" abst="553700" tc="00:30:47;14" rdt="2002-08-07 16:38:17" seqn="F" no_sourceorcontrol_aud="1"/> because it is the end frame of the section. But in 6643800000-6644260000.dv, that same frame is not reported even though it is missing the audio packs. Can missing audio pack but a reason to report the frame, I thought it was.

JeromeMartinez commented 3 years ago

For the moment no coherency check triggers a line in the XML output. If I add such test, I have:

        <media ref="BAVC1010855_DV000161_take01-002-6643800000-6644260000.dv" format="DV" size="480000">
                <frames count="4" pts="00:00:00.000000" end_pts="00:00:00.133466" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3" audio_rate="32000" channels="4">
                        <frame n="0" pos="0" pts="00:00:00.000000" abst="553690" tc="00:30:47;13" rdt="2002-08-07 16:38:17" rec_start="1" seqn="F"/>
                        <frame n="1" pos="120000" pts="00:00:00.033366" abst="553700" tc="00:30:47;14" rdt="2002-08-07 16:38:17" seqn="F" no_sourceorcontrol_aud="1"/>
                        <frame n="3" pos="360000" pts="00:00:00.100100" abst="553720" tc="00:30:47;16" rdt="2002-08-07 16:38:17" seqn="F"/>
                </frames>
        </media>

Which coherency check should trigger a line? only no_sourceorcontrol_aud or also no_sourceorcontrol_vid / no_pack_aud / full_conceal_aud / etc?