Skip to content

video mute #6839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Akshit04072002 opened this issue Jan 2, 2025 · 7 comments
Closed

video mute #6839

Akshit04072002 opened this issue Jan 2, 2025 · 7 comments

Comments

@Akshit04072002
Copy link

Describe the bug

Video mute nort work .

@heidi-humansignal
Copy link
Collaborator

Hello there!

Thank you for reaching out and reporting this issue.
We understand that you're experiencing a problem where the video mute function is not working in Label Studio. We'd like to help resolve this issue as soon as possible.
To assist you better, could you please provide the following information:

  1. Label Studio Version: Which version of Label Studio are you currently using?
  2. Browser and Operating System: What browser (including version) and operating system are you using?
  3. Steps to Reproduce: Can you provide detailed steps to reproduce the issue? For example, does the mute button not respond when clicked, or does the video still play audio despite being muted?
  4. Video Format: What is the format of the video file you're working with (e.g., MP4, AVI)?
  5. Console Errors: Are there any error messages displayed in the browser's developer console when you try to mute the video? If so, please share those messages.
    In the meantime, please try the following troubleshooting steps:
  • Refresh the Page: Sometimes, refreshing the page can resolve temporary glitches.
  • Clear Browser Cache: Clearing your browser's cache and cookies can help eliminate any caching issues.
  • Try a Different Browser: See if the issue persists when using a different browser (e.g., Chrome, Firefox).
  • Update Label Studio: Ensure you're using the latest version of Label Studio, as updates may include fixes for known issues.
    Your detailed information will help us identify the cause of the problem and provide a suitable solution.

Thanks,

Tyler Conlee
Head of Support
HumanSignal

Comment by Tyler Conlee
Workflow Run

@Akshit04072002
Copy link
Author

Akshit04072002 commented Jan 3, 2025

give me code for video mute

@heidi-humansignal
Copy link
Collaborator

Hi there,

Can you elaborate on what you're looking for? The information from my previous post would be incredibly helpful in diagnosing the video mute issue that you're experiencing.

Thanks,

Tyler Conlee
Head of Support
HumanSignal

Comment by Tyler Conlee
Workflow Run

@Akshit04072002
Copy link
Author

Hi sir ,

we are using labelstudio for our project but issues is Video Audio Mute not work so can you help for this issues because i watched label studio all code but not seen any mute funcionlity .

@heidi-humansignal
Copy link
Collaborator

Thank you for reaching out and providing more details about the issue you're experiencing with the video mute functionality in Label Studio.
Based on your description, the video mute feature is not working in your project, and you haven't found any mute functionality in the Label Studio code. I'd be happy to assist you in resolving this issue.
Possible Causes and Solutions:

  1. Missing muted Attribute in Labeling Configuration:
    The mute functionality for videos in Label Studio is controlled by the muted attribute in your labeling configuration. If this attribute is not set correctly, the video may not mute as expected.
    Action:
  • Update your labeling configuration to include the muted attribute in the <Video> tag.
  • Example:
    <View> <Video name="video" value="$video" muted="true" /> <!-- Your annotation tags here --> </View>
    Setting muted="true" will mute the video by default.
  1. Version Issue:
    There might be a bug in the version of Label Studio you're using that affects the mute functionality.
    Action:
  • Ensure you're using the latest version of Label Studio. As of now, the latest version is 1.16.
  • Update Label Studio by running:
    pip install --upgrade label-studio
    Or, if you're using Docker:
    docker pull heartexlabs/label-studio:latest
  1. Browser Compatibility:
    Some browsers handle media elements differently, which can impact the mute functionality.
    Action:
  • Try accessing Label Studio using a different browser (e.g., Google Chrome, Firefox, Edge) to see if the issue persists.

Next Steps:

  • Update Labeling Configuration:

    • Please update your labeling configuration to include the muted attribute as shown above.
  • Confirm Version and Environment:

    • Let us know which version of Label Studio you're using.
    • Provide details about your browser and operating system.
  • Provide Additional Information:

    • If the issue persists after updating the labeling configuration, please share:
    • Your current labeling configuration.
    • Any error messages from the browser console.
    • Any other observations that might help diagnose the problem.
      We're here to help you resolve this issue. Please don't hesitate to reach out with the requested information or any further questions.

Thanks,

Tyler Conlee
Head of Support
HumanSignal

Comment by Tyler Conlee
Workflow Run

@Akshit04072002
Copy link
Author

i passed that view

      config = '<View className="avreadtion-main-wrapper"><video name="video" value="$video" muted="true" sync="audio" framerate="29.97" /><VideoRectangle name="box" toName="video" /><View className="avredaction-labels-audio-section"><Labels name="videoLabels" toName="video" visible="false"><label value="Face1" background="#7F8DD1" /></Labels><audio name="audio" value="$video" sync="video" zoom="true" speed="true" volume="true" /><Paragraphs audioUrl="$video" name="text" value="$dialogue" layout="dialogue" savetextresult="yes" sync="audio" /></View></View>';
      
      
      but muted not worked

you can also given soluntion with volume 0

@heidi-humansignal
Copy link
Collaborator

Hello,

I think in your view

<video name="video" value="$video" muted="true" sync="audio" framerate="29.97" />

Its incorrect. It should be

Please let us know if this works for you.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants