Title 3D no sound file support for blender plugins

Bug #1791526 reported by Sefran on 2018-09-09
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Undecided
Unassigned

Bug Description

Architecture : x86_64
model name : Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
Operating System & version: Linux 4.17.17-1-MANJARO #1 SMP PREEMPT Sat Aug 18 14:38:10 UTC 2018 GNU/Linux
Installation Method : pacman/yaourt
Version of Openshot installed : 2.4.2
MLT/melt version : 6.10.0
FFmpeg (i.e.libavcodec) version : n4.0.2
built with gcc 8.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Blender version : 2.79 (sub 0)

For blender plugins no possible sound file load.

I create sound load features with blender_listview.py

With this patch we can test sound before select, clear selected file, etc…

I test with xml sample
    <param name="sound_files1" type="sound" title="Sound 1 Path" description="">
        <values>
            <value name="" num=""/>
        </values>
        <default>/goodpath/goodfile.mp3</default>
    </param>

    <param name="sound_files2" type="sound" title="Sound 2 Path" description="">
        <values>
            <value name="" num=""/>
        </values>
        <default>/goodpath/badfile.mp3</default>
    </param>

    <param name="sound_files3" type="sound" title="Sound 3 Path" description="">
        <values>
            <value name="/goodpath/badfile.mp3" num="0"/>
            <value name="goodfile.mp3" num="1"/>
            <value name="relativepath/goodfile.mp3" num="2"/>
            <value name="/goodpath/goodfile.mp3" num="3"/>
            <value name="/goodfile.mp3" num="4"/>
        </values>
        <default></default>
    </param>

    <param name="sound_files4" type="sound" title="Sound 4 Path" description="">
        <values>
            <value name="/goodpath/badfile.mp3" num="0"/>
            <value name="goodfile.mp3" num="1"/>
            <value name="/badrelativepath/goodfile.mp3" num="2"/>
            <value name="/badfile.mp3" num="3"/>
            <value name="/goodfile.mp3" num="4"/>
        </values>
        <default></default>
    </param>

    <param name="sound_files5" type="sound" title="Sound 5 Path" description="">
        <values>
            <value name="/goodpath/badfile.mp3" num="0"/>
            <value name="goodfile.mp3" num="1"/>
            <value name="relativepath/goodfile.mp3" num="2"/>
            <value name="/badfile.mp3" num="3"/>
            <value name="/goodfile.mp3" num="4"/>
        </values>
        <default>/goodpath/goodfile.mp3</default>
    </param>

    <param name="sound_files6" type="sound" title="Sound 6 Path" description="">
        <values>
            <value name="/goodpath/badfile.mp3" num="0"/>
            <value name="goodfile.mp3" num="1"/>
            <value name="relativepath/goodfile.mp3" num="2"/>
            <value name="/bidon.mp3" num="3"/>
            <value name="/goodfile.mp3" num="4"/>
        </values>
        <default>/goodpath/badfile.mp3</default>
    </param>

    <param name="sound_files7" type="sound" title="Sound 7 Path" description="">
        <values>
            <value name="/goodpath/badfile.mp3" num="0"/>
            <value name="goodfile.mp3" num="1"/>
            <value name="/badrelativepath/goodfile.mp3" num="2"/>
            <value name="/badfile.mp3" num="3"/>
            <value name="/goodfile.mp3" num="4"/>
        </values>
        <default>/goodpath/badfile.mp3</default>
    </param>

    <param name="sound_files8" type="sound" title="Sound 8 Path" description="">
        <values>
            <value name="" num=""/>
        </values>
        <default></default>
    </param>

Sefran (sefran007) wrote :
Sefran (sefran007) wrote :

Add file with picture support.

Sefran (sefran007) wrote :

add patch from original file blender_listview.py with picture load support

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers