Questions tagged [multimedia]

Multimedia refers to content that uses a combination of different content forms.

multimedia
Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

GStreamer. How to share v4l2src?

I didn't know that using one webcam with multiple programs at the same time was a problem. My program has two components that use v4l2src: Preview yourself; Sending to udpsink. I hoped to achieve ...
16 votes
3 answers
16k views

How to edit or add video metadata of "rotation" in mp4?

I want put rotation information into my mp4 video file but I have no idea about this. Is there any program that I can add "rotation" metadata? It would be OK if there's the way to edit video content ...
-1 votes
1 answer
122 views

GStreamer. How to change v4l2src image resolution?

There is pipeline: v4l2src ! decodebin ! queue ! videoconvert ! xvimagesink After start v4l2src finds many caps with media type image/jpeg and different image resolutions. v4l2src choose the first ...
0 votes
1 answer
99 views

Not able to switch to other camera using input-selector in gstreamer c

In the code, as you can see i have two input pipeline gst_element_link_many(v4l2src1, videoconvert1, capsfilter1, queue1, input_selector, NULL); gst_element_link_many(v4l2src2, videoconvert2, ...
1 vote
0 answers
68 views

Why Is Inverse Quantization and Inverse Transform Taken Before Motion Estimation in H.264? [closed]

Here is the block diagram of the pipeline for the H.264 encoder (Fundamentals of Multimedia by Ze-Nian Li, Mark S. Drew and Jiangchuan Liu). The feedback loop is used for motion estimation, but why ...
1 vote
1 answer
382 views

GStreamer. How to set videoconvert output format?

I want to read and show video from file any format, also edit video frame data, for example, drawing rects. OpenCV is banned How I image solution. We need sequence of elements: filesrc -> decodebin ...
1 vote
2 answers
1k views

Encode rgb to yuv420p using libav

I'm trying to convert an vector of RGB image data (derived from a .png image) to YUV420p format using libav. In the libav sample code the following is used to create a dummy image: /* prepare a ...
4 votes
2 answers
129 views

VB6 on Win-10, multi-media control (MCI32.OCX) crashes Windows (BSOD) in IDE

... but the compiled application runs fine. This is a large (~500k LOC) mature application, which I've been maintaining for many years on Windows-10 with no unexplained issues. I just moved to a new ...
0 votes
1 answer
39 views

Decoded AVFrame's pts points at the end of the samples?

I'm using FFMPEG to decode a video, the decoded audio frames have strange pts values. Here is the output: Audio Input 13 13 576 Audio Input 36 23 1024 Audio Input 59 23 1024 Audio Input 82 23 1024 ...
-3 votes
1 answer
21 views

Is there any sources which provides API for video recording?

I need an source which gives the video recording and a submit button, but not one to one interaction. I have gone through some sites but they are providing video conferencing, the video recording ...
0 votes
0 answers
46 views

in Qt Creator 6.4 or 5.12 cant use multimedia module

I tried all Qt 6.43 / 6.6 / 5.13 versions I also read the whole internet, tried to run many applications related to sound made from github, QT += coregui multimedia When I type, nothing works and ...
0 votes
0 answers
64 views

Confirmation on splitmuxsink overrun required

I am recording video frames at 30 fps , resolution 1080p with h.264 encoder set at 16000kbps. The recorded frames are stored over the network to a remote hard disk drive. When the network becomes low, ...
1 vote
2 answers
5k views

jinclude.h:20:55: fatal error: jconfig.h: No such file or directory

I have downloaded open source code for jpeg encoder named as "jpegsr9a.zip".After unzipping when i try to build the source code it is showing like as follows "jinclude.h:20:55: fatal error: jconfig.h:...
0 votes
0 answers
40 views

Unable to receive req.body in controller when sending a message with file attachment

I'm building a chat application using Node.js and Express, and I'm facing an issue with receiving req.body in the controller when sending a message that includes a file attachment. I have the ...
0 votes
0 answers
76 views

When using custom BaseTransform in gst-python, pad_template != NULL error occurred

I am developing a custom element using gst-python. I inherited BaseTransform as shown below, created a custom element, added it to the pipeline, and linked it, but an error occurred. Source code: ...
1 vote
0 answers
278 views

I cannot reach 1ms accuracy with .net Timers. How can I execute a function periodically with a Multimedia Timer every 30ms? (With 1 ms accuracy)

In my C# project I want to execute a function periodically every 30ms. First I tried the .net Timers, but I have found out that these timer have no more accuracy then 15ms due to Windows OS ...
66 votes
10 answers
111k views

What is the best way to store media files on a database?

I want to store a large number of sound files in a database, but I don't know if it is a good practice. I would like to know the pros and cons of doing it in this way. I also thought on the ...
0 votes
1 answer
25 views

Stripping a pdf file from videos

I have a huge pdf file (152M) containing embedded videos. I reckon most of its size must come from the videos themselves. I want to make a lighter version out of it so that it's easier to share and ...
8 votes
1 answer
8k views

Implementing DLNA/UPnP (Win7 Play To) on a mobile device

For a semester project, I had the idea to implement Windows 7's Play to infrastructure to either use a phone as the end point (the player) or to stream stuff from the phone to a Windows 7 machine. ...
-1 votes
1 answer
690 views

gst launch window results in black screen

I want to stream a video over a network using UDP sink and src elements . I am using the following: i.MX6Dual Processor as server x86 System as receiver with Ubuntu 18 UVC Camera connected to i....
1 vote
0 answers
34 views

What is the purpose of the 'vedt' chunk in an AVI file?

In some AVI files, there's a chunk named 'vedt' placed at the end of the header. You can download one of these files here: https://samples.mplayerhq.hu/V-codecs/RLE/filecopy.avi . In this example, the ...
1 vote
0 answers
159 views

How does one set the `idle sensitivity` of Windows 11?

Essentially, when only playing music, whether via Spotify, VLC, Groove, etc., Windows11 will seemingly ignore or not receive messages to prevent idling. I have verified that the Power Options::...
1 vote
0 answers
1k views

Playing fragmented video stream(MPEG-DASH) using Python

recently, I'm working on MPEG-DASH, which can generated the fragmented video files and the .MPD file for getting the fragmented videos. The fragmented video file is segmented and saved into .m4s ...
0 votes
1 answer
2k views

How can I get frame by using Gstreamer?

I`m a beginner at using Gstreamer to handle some input videos. I have already built the pipeline using GStreamer to transcode the videos but the last part I cannot do is How I can get those batches of ...
0 votes
0 answers
550 views

Add delay effect to signal in python

I need to add a delay effect to a signal and plot it over the original signal. I have to do it with only scipy, matplotlib and numpy libraries. Specifically using scipy.ndimage.interpolation.shift() ...
0 votes
0 answers
130 views

Threaded DirectX access for two cameras with Delphi XE3, shows the last one duplicated

I have an app working fine that accesses two different web cameras at once using DirectX selecting them with comboboxes. The probem is doing it in the main thread almost freezes both cameras and works ...
1 vote
0 answers
141 views

Capture audio stream from multiple virtual audio devices simultaneously

I have an external utility (no source code) which receives audio streams from the UDP ports (up to 256 channels) and is able to play the audio using virtual audio devices (one for each channel). My ...
1 vote
0 answers
113 views

Recording desktop using Qt multimedia

I'm trying to record microphones, cameras and monitors using Qt's multimedia module. But I couldn't find anything about screen recording in documentation. So it seemed I'd to do it by myself. I've ...
0 votes
0 answers
117 views

How can a web-app prevent the host computer from entering sleep mode?

I wrote a workout timer web app (beeps and all), but my computer goes to sleep while it is running, defeating the purpose. I notice it doesn't sleep when watching YouTube. I'm guessing this is because ...
0 votes
2 answers
736 views

Not able to play opus encoded data without oggmux and oggdemux

sender pipeline pulsesrc name=audio_cap mute=0 ! queue ! audiorate ! queue ! audioconvert ! audioresample name=aud_resample ! audio/x-raw,rate=48000 ! queue silent=true max-size-buffers=100 flush-...
1 vote
1 answer
535 views

JavaScript: Use MediaRecorder to record streams from <video> but failed

I'm trying to record parts of the video from a tag, save it for later use. And I found this article: Recording a media element, which described a method by first calling stream = video.captureStream()...
15 votes
6 answers
35k views

How to calculate GOP size of a file H264

I have a h264 file that extract from YUV format using SVC software. Now, I want to caculate size of each GOP in the h264 file. We know that size of GOP is the distance between two nearest I frame. ...
-2 votes
1 answer
195 views

Adding video to a webpage using html [closed]

I tried to add a video to a webpage. But I think there is an error. can anyone help me to solve this error <Video width="1000" height="1050" autoplay> <source src="...
2 votes
1 answer
12k views

Incompatible pixel format YUV420P with mjpeg

I am using ffmpeg to make a video from jpeg images using mjpeg codec. I use this command ffmpeg -i frame%d.jpg -c:v mjpeg -pix_fmt yuv420p -q:v 1 -y out.mp4 and I have this warning the yuvj420p was ...
1 vote
0 answers
106 views

Show Subtitles using Qt6 multimedia module

I was looking at QT6 Qml media player example and I want to display subtitles in the video using a .srt file. Is it possible to do so and if not, is there any other way I can display subtitles for the ...
2 votes
3 answers
14k views

Win32 PlaySound: How to control the volume?

I'm using the Win32 MultiMedia function PlaySound to play a sound from my application. I would like to be able to dynamically adjust the volume of the sound that is being played without modifying the ...
4 votes
3 answers
8k views

Converting MP3 to Ogg in CentOS

We need to play MP3 files in jPlayer without using Flash as a fallback. For playing these files with Firefox, I want to convert it to Ogg. Do you guys have any options/alternative for this? I tried to ...
2 votes
1 answer
1k views

mediaDevices.enumerateDevices() returns empty deviceId even after getting permissions

The problem I have has been discussed in several questions on this site: When I call mediaDevices.enumerateDevices(), the field deviceId is empty. The best question about this I could find is this one....
14 votes
6 answers
39k views

Does DirectX 11 support .NET?

Can I use DirectX 11 from C# app? Need to use DirectSound from WPF application. .NET 4 W7 x64
4 votes
1 answer
3k views

preparing mp4 file for html 5

In html 5, I want to embed an mp4 like this: <video width="640" height="480" controls> <source src="somefile.mp4" type="video/mp4"> Your browser does not support the video tag. &...
8 votes
4 answers
15k views

Best software for writing HTML-based user manuals [closed]

I'm working on a project where I need to generate end-user documentation for a piece of software. At some point in next year, the piece of software that I am writing this documentation will be retired....
1 vote
0 answers
296 views

Display frames as animation with python gtk

I have a library that collects a frame from a camera and write it to a memory block: buf = 32-byte sequence number + 32-byte data size + JPEG data The frame rate is about 30 frame per second. I try ...
1 vote
0 answers
208 views

javafx - MediaException: PLAYBACK_HALTED : DirectSoundCreate: (NULL)

I wanto to play a mp4 video inside of my java application. The software is running fine on my main PC where a sound card is installed. But on another PC with no sound device at all, this is the ...
1 vote
1 answer
3k views

Fetch video data from RTMP Streaming link to browser

Is there a way to fetch an RTMP live video stream to a simple browser created on REACT?. I have tried various methods including the one with Video.js. But I get an error like "No compatible ...
0 votes
1 answer
1k views

Download part of a youtube video using python?

I've been trying to be able to download only a part of a youtube video after many searches I found out that this workaround explains how to do that but I didn't understand where should I put this code ...
1 vote
1 answer
982 views

Unable to play MPD file with multiple periods in Dash.js Player

I am newbie in MPEG-DASH topic and working on a MPD file with two periods and each period has its own initial video and segment information. Also each period has different duration. When I try to play ...
0 votes
1 answer
618 views

Python sounddevice.rec(), dtype ='int8' quantizes to zero problem

I am trying to plot my voice signal, with different dtypes (the bits/sample obviously). So i tried to capture my voice with dtype = 'int16' and the plot made sense. But i tried to speak in the same ...
3 votes
1 answer
8k views

insufficient INHERIT PRIVILEGES privilege error in oracle

i was trying to get some information from a stored video inoracle dba , while executiong this script : DECLARE vid_data BFILE := BFILENAME('EXT_DIR','video.mp4'); mimeType VARCHAR2(80); ...
1 vote
3 answers
3k views

How to add chapters to ogg file?

I am trying to add chapters to a ogg file containing vorbis audio. From this link I copied the following ffmpeg command. ffmpeg -threads auto -y -i in.ogg -i metadata_OGG.txt -map_metadata 1 -codec ...
2 votes
0 answers
129 views

How to detect/convert a Multiframe image to single frame image in java/javascript?

1 of our external API's doesn't allow Multiframe images. So, There is a need to detect and convert a multiframe image to single frame image. Can anyone help? Thanks, Askanode :)

1
2 3 4 5
10