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
95 stars 20 forks source link

pal but it's not pal #320

Open dericed opened 3 years ago

dericed commented 3 years ago

DVC007_20210306_pass5_ntsc-pal-ntsc.dv.zip

This sample gives (reporting the errors):

<?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.20210613</version>
        <library version="21.03">MediaInfoLib</library>
    </creator>
    <media ref="/Volumes/RicePics/DV/DVC007_20210306_pass5_ntsc-pal-ntsc.dv" format="DV" size="360000">
        <frames count="1" pts="00:00:00.000000" end_pts="00:00:00.033366" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3">
            <frame n="0" pos="0" pts="00:00:00.000000" abst="19905" tc="00:01:01;11" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
        <frames count="1" pts="00:00:00.033366" end_pts="00:00:00.073366" video_rate="25" aspect_ratio="4/3">
            <frame n="1" pos="120000" pts="00:00:00.033366" abst="19925" tc="00:01:01;12" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
        <frames count="1" pts="00:00:00.073366" end_pts="00:00:00.106733" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3">
            <frame n="2" pos="240000" pts="00:00:00.073366" abst="19932" tc="00:01:01;15" tc_nc="1" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
    </media>
</dvrescue>

The middle frame is listed as PAL, but it is 120000 in size, which is a conflict. FWIW, ffmpeg also identifies this frame as PAL, but it's just a broken NTSC frame.

dericed commented 3 years ago

Also tested with 0.20.11.20210528 and 0.20.11.20210613, but there's no frame size, and the video_rate and frame size mismatch.

<version>0.20.11.20210528</version>
<frames count="1" pts="00:00:46.713333" end_pts="00:00:46.753333" video_rate="25" aspect_ratio="4/3" audio_rate="32000" channels="4">
<frame n="1400" pos="168000000" pts="00:00:46.713333" abst="19925" tc="00:01:01;12" seqn="F" no_pack_aud="1" full_conceal_aud="1">
<version>0.20.11.20210613</version>
<frames count="1" pts="00:00:46.713333" end_pts="00:00:46.753333" video_rate="25" aspect_ratio="4/3" audio_rate="32000" channels="4">
<frame n="1400" pos="168000000" pts="00:00:46.713333" abst="19925" tc="00:01:01;12" seqn="F" no_pack_aud="1" full_conceal_aud="1">
dericed commented 3 years ago
<?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.20210616</version>
        <library version="21.03">MediaInfoLib</library>
    </creator>
    <media ref="/Users/davidrice/Downloads/DVC007_20210306_pass5_ntsc-pal-ntsc.dv" format="DV" size="360000">
        <frames count="1" pts="00:00:00.000000" end_pts="00:00:00.033366" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3">
            <frame n="0" pos="0" pts="00:00:00.000000" abst="19905" tc="00:01:01;11" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
        <frames count="1" pts="00:00:00.033366" end_pts="00:00:00.073366" size="720x576" video_rate="25" chroma_subsampling="4:2:0" aspect_ratio="4/3">
            <frame n="1" pos="120000" pts="00:00:00.033366" abst="19925" tc="00:01:01;12" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
        <frames count="1" pts="00:00:00.073366" end_pts="00:00:00.106733" size="720x480" video_rate="30000/1001" chroma_subsampling="4:1:1" aspect_ratio="4/3">
            <frame n="2" pos="240000" pts="00:00:00.073366" abst="19932" tc="00:01:01;15" tc_nc="1" seqn="F" no_pack_aud="1" full_conceal_aud="1">
            </frame>
        </frames>
    </media>
</dvrescue>

Hey @JeromeMartinez, here's the updated xml output for this. See that the second frame is still size="720x576" video_rate="25" but the frame size is 120000 (NTSC size).

dericed commented 6 months ago

@JeromeMartinez sending another file in chat that has this issue. Lots of mini transitions to pal.

image