# Prerequisites

Complete these preconditions before running the Python-based sample applications.

- In the terminal of the target device, run the following commands in a shell to create a directory:

mount -o remount,rw /
        Copy to clipboard

mkdir -p /etc/media/
        Copy to clipboard
- Ensure that the model and label files are available on the device. For instructions, see Prerequisites.
- Rename the model and label files according to the application in use.
- In the terminal of the host computer, run the following command to push the files from the host computer to the target device:

scp <video.mp4> root@<IP address of target device>:/etc/media/
        Copy to clipboard
- In the terminal of the target device, run the following command to enable the qtiqmmfsrc on Config #2:

> 
> 
> > 
> > 
> > echo -n "camx" > /var/data
> >         efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /var/data
> >         efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -p
> >         sync
> >         reboot
> >         Copy to clipboard
> 
> 
> 
> If you cannot locate the qtiqmmfsrc plugin, ensure that the camera server is running and clear the GStreamer cache using the following commands:
> 
> 
> 
> > 
> > 
> > ps -ef | grep cam-server
> >         Copy to clipboard
> > 
> > 
> > rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
> >         Copy to clipboard
- For Dragonwing IQ-615, run the following command in the terminal of the target device to enable the camera using the CSI0 2Lane:

> 
> 
> echo "FDClient=FDSWOnly" > /var/cache/camera/camxoverridesettings.txt
>         echo "FDProcessingControl=FDProcessingControlForceDisable" >>  /var/cache/camera/camxoverridesettings.txt
>         echo "disableFDSegment=TRUE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableDualIFE=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableEarlyBitMLSkelLoad=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "enableMCTF=FALSE" >> /var/cache/camera/camxoverridesettings.txt
>         echo "overrideForceSensorMode=0" >> /var/cache/camera/camxoverridesettings.txt
>         Copy to clipboard

If you face issues with camera or display, see [Camera troubleshooting](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-17/troubleshooting.html) and [Troubleshoot display issues](https://docs.qualcomm.com/doc/80-80022-18/topic/troubleshoot_display_issues.html).

See also

- [Camera Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-17/camera-overview.html)
- [Video Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-20/overview.html)
- [Audio Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-16/overview.html)

Last Published: May 17, 2026

Previous Topic
 
Run Python-based applications Next Topic

Camera encoding