All Questions
1,049 questions
-1
votes
0
answers
12
views
Issues with Video Recording Duration and Smooth Playback when Using v4l2 to MP4 (FFmpeg)
I'm trying to record a video from a USB device with v4l2 framework and save it in MP4 format using FFmpeg. My sample code successfully captures and saves the video, but I'm running into some issues:
...
1
vote
1
answer
88
views
Is there any way to decode NALu in browser?
Environment
I am developing a product for a highly restricted environment (e.g., military, casinos) where installing my media server(for transcoding) is not allowed. As a result, I need to handle ...
2
votes
1
answer
90
views
MediaFoundation: TimeStamp of first frame is not getting correctly set to 0. Instead, it is getting set as 0.333 (frame duration)
I'm trying to read two frames, each individually stored in binary files named frame1.bin and frame2.bin, and create an MP4 video file called sample.mp4. The complete source code is available here:
...
0
votes
1
answer
57
views
How do I programmatically access the Description field of MP4 metadata?
I'd like to write an AppleScript that extracts the metadata from the "Description" field in .mp4 files. I usually do this manually opening VLC > Media Information > General. On "...
0
votes
0
answers
60
views
Gstreamer filesink and videosink tee pipeline
I am trying to make a pipeline that will show a video stream to the screen and also save this stream to a file.
This is my pipeline:
gst-launch-1.0 videotestsrc pattern=snow ! videoconvert ! tee name=...
-1
votes
1
answer
36
views
IS it possible (and if so, how) to limit the number of times a MP4 file on a USB can be played, and also restrict the ability to copy the file?
My company has a number of videos which we "rent" out to clients. the majority of time, we use our web portal which gives them access for 72 hours, and allows a limited number of playbacks ...
0
votes
1
answer
106
views
Video loaded from URL not working in html page
I am on OSX 14.6, and would like to embed this video, stored here in webm format and here in mp4 format, into this webpage
<!DOCTYPE html>
<html>
<body>
<center>
<video ...
0
votes
0
answers
85
views
moov atom not found [in#0 @ 0x62ea0f9fb500] Error opening input: Invalid data found when processing input
I'm trying to convert an MP4 video, created using OpenCV, to HLS format using FFmpeg. However, I keep encountering the following error:
moov atom not found [in#0 @ 0x62ea0f9fb500] Error opening input: ...
0
votes
1
answer
107
views
What playback order does VLC use when there is no CTTS box in a MPEG4 file?
I have corrupt mpeg4 files which require frame reshuffling (sample at https://drive.google.com/file/d/1GD7YiVS2z8h0r6UdsPPIXFgnh9RukoeR/view?usp=drive_link )
I had some success using ffmpeg's ...
2
votes
1
answer
92
views
FFprobe not reflecting MP4 dimension edits
I'm trying to edit MP4 width & height without scaling.
I'm doing that by editing tkhd & stsd boxes of the MP4 header.
exiftool will show the new width & height but ffprobe will not.
...
0
votes
0
answers
45
views
Media Player created with python 3- Problem
This code create media player with python 3.10, but the problem is that when media video file uploaded the a-b loop and media speed changer buttons doesn't work:
import kivy
from kivy.app import App
...
0
votes
0
answers
48
views
How can two .mov files be concatenated in Java?
I've been working on this project for months. Everything works perfect, except my combineVideos method which relies on the mp4Parser library in Java, shown below.
public static void combineVideos(...
2
votes
0
answers
149
views
Canvas Frame Capture To MP4 - Video Quality
I have been following this demo showing how to convert an animated canvas to MP4. My issue is that the MP4 quality is low.
I've tried other codecs, but have settled on the one below as it has the best ...
0
votes
1
answer
140
views
ffmpeg merge audio and video from ytdl-core, outputs an mp4 with no time (no seekable)
i'm trying to merge video and audio from ytdl-core with ffmpeg and export it to user in mp4. The output video apears without time (inifit duration) and can not seek or navigate to another point of the ...
-1
votes
1
answer
281
views
When usg ffmpeg to convert from .mp4 to .avi, how do I get the .avi files to contain the correct (trimmed) frames from the .mp4?
I am using ffmpeg to convert a batch of .mp4 videos to the .avi format from the command line. The .mp4 videos are all trimmed videos that are sub-videos of a longer video. I have basically segmented ...