Questions tagged [mp4]
MP4 is a multimedia container format standard with the file extension .mp4. It can be used to store digital audio/video streams, in addition to other multimedia.
2,896
questions
0
votes
1
answer
18
views
How to calculate the start time of mp4 video?
I am studying mp4 video structure. I have an issue with reading the start time value for the following mp4 video
I have read this answer
mp4 video starts at different time on Quicktime/AVplayer vs ...
0
votes
1
answer
19
views
How to display a transparent video in HTML5?
I am having issue with this code:
import myTitle from "../../image/earth.mov";
function Hero() {
return (
<div className="section-hero">
<video autoPlay loop ...
-2
votes
0
answers
20
views
ffmpeg 'No Such file or directory error' while converting jpg's to mp4 [closed]
I am getting no file or directory error while converting jpg's into mp4. My file structure is given below. This is on a windows machine. I have installed full FFmpeg version.
Main_folder
|
|...
1
vote
0
answers
24
views
Change the video file that is being streamed with Node.js
My question
I want to create a viewer in Node.js that supports playback for multiple videos.
The reference link describes the playback method for a single video.
Specifically, I want to use a pull-...
0
votes
0
answers
19
views
Javascript: Create MP4 [closed]
So i want to make a MP4 (locally) File with a static Template (preferably a image that spins until the video ends (or something like a equalizer)) which have a dynamic music for the video
i've done ...
0
votes
0
answers
17
views
Writing MP4 tags for M4A or MP4 audio files
I have a strange problem with MP4 tagging.. I can figure out 2 styles of tags, one that works with mp3tag and tagscanner, another that works with MusicBee.. But I can't figure out one that universally ...
-1
votes
0
answers
26
views
Convert MP4 to MFF (magic frame format) [closed]
I don't know how to convert MP4 file to MFF format..even I search on google but didn't get anything like MP4 to MFF.please if anyone can explain.
0
votes
0
answers
20
views
Adding metadata to a m4a/mp4 AAC container
I am encoding my PCM audio recorded data into AAC inside a m4a (mp4) container. It works fine, and now I want to add some metadata.
The ever-quoted documentation for this is this one. Yet, I do not ...
0
votes
0
answers
18
views
concat selected videos in textfile using ffmpeg
i want to select videos from file1.txt which contains
file 'video1.mp4'
file 'video2.mp4'
file 'video3.mp4'
using ffmpeg command i store them in file1.txt and concatenate it:
command= ffmpeg -f ...
0
votes
0
answers
12
views
Add TOC chapters to MP4 with GStreamer 1.18 (VS2015)
How can I add chapters to MP4 files with GStreamer 1.18?
I have a Visual Studio 2015 C++ project that writes a video (H264) and audio (aac) stream to the disk using mp4mux. Now I would like to add ...
-1
votes
0
answers
16
views
FFmpeg Cropping Fps Drop
FFmpeg Commands works but having a problem in fps drop also using libx264 for encoding any idea to get this good
"-y" "-noautorotate" "-ss" "301" "-t" ...
-1
votes
0
answers
39
views
Linux ffmpeg utomatic encoder selection failed for output stream
I'm having an issue with doing basically anything in ffmpeg.
When I input basic
ffmpeg -i filename.mp4 filename.mp3
or
ffmpeg -i video.mp4 -b:a 192K -vn music.mp3
to extract audio from an .mp4 I only ...
0
votes
0
answers
9
views
Video not playing in python web app no matter what
Please help people, I'm trying to make this video play for a few weeks now :( I've tried locally, and now I've uploaded it on Vimeo but still cannot get it to work.
from dash import html
from navbar ...
0
votes
0
answers
35
views
About video/webm and mp4
Hope there hadn't any question same as mine.
I tried to write some share screen and screen record. For that I found others code to study.
In the code, it used the video filename extension is .webm. I ...
-1
votes
2
answers
88
views
FFmpeg pipe input, error while transcoding from WebM to MP4
I am trying to record a video from pipe input using FFMPEG. The pipe input is in WebM format i.e. the video codec is VP8 and the audio codec is OPUS. I am able to save the output video in the WebM ...
2
votes
1
answer
59
views
cv2.VideoCapture inconsistent behavior between cap.set and loop read
I was trying to read the 600th frame of a video using cv2.VideoCapture. However, I found that the following two methods both successfully read an image but the images are different. I was wondering ...
0
votes
0
answers
22
views
Needed documentation describing mp4's mdat atom
I am new in video formats world and am debugging an application that produces mp4 video files.
The problem comes when trying to upload video from WhatsApp running on Android.
With iOS there is no such ...
0
votes
0
answers
50
views
VLC and Win Media Player do not permit seek on MP4 files I created
VLC and Win Media Player do not permit seek to positions within MP4 media files that I have created. They both play the files fine, but I cannot position to the past or ahead of the current position ...
1
vote
2
answers
52
views
How can I extract Metadata from a .MP4 and a .AVI with native library in JAVA
I try to make a media player and a video library for a school project, and I need to extract metadata from a .MP4 and .AVI to store in a XML files and can edit this metadata.
I did some research and I ...
0
votes
1
answer
29
views
ffmpeg conversion executable file output ".MOD: no files in such directory"
I installed ffmpeg using Homebrew in macOS 12.2. I have a folder of MOD files from an old camera that I need to convert to MOV or MP4 to edit them, I have a .bat file in my Windows machine that I can ...
1
vote
0
answers
49
views
Dolby Vision Mp4 to HLS Stream
Is it possible to create a dolby vision HLS stream with ffmpeg? I have tried online tutorials such as this one https://codecalamity.com/encoding-uhd-4k-hdr10-videos-with-ffmpeg/#saving-dolby-vision ...
0
votes
0
answers
38
views
HTML video tag: unnecessary delay between last and first frame
My situation: I want to post a short video (1 sec) on a page. In this case, it is necessary to loop it. For this I use the <video loop ...> tag. Everything works fine, but when the video ends, ...
0
votes
0
answers
37
views
How Download Mp4 from S3?
I must download a video file mp4 that is store in s3 compatible.
When I click the href the browser view it but not download.
I have used the attribute download and I have set the Cors on S3compatible ...
0
votes
1
answer
38
views
Unable to get mp4 tkhd info using go-mp4
Using package github.com/abema/go-mp4 when i try to run the example in the docs i get following error:
invalid operation: box (variable of type *mp4.BoxInfo) is not an interface
Here is the example ...
0
votes
0
answers
19
views
Video frame freeze on android tv using media player?
I am trying to play mp4 URL on android TV with use of media player
if (mMediaPlayer == null) {
mMediaPlayer = MediaPlayer()
mMediaPlayer.setOnPreparedListener(...
0
votes
0
answers
27
views
ffmpeg video not playable on Android
As a bit of a background; I wrote the famous 'Barnsley Fern' algorithm in C with SDL, since I quite liked the animation, I had it export a BMP, every x frames.
I then used ffmpeg to turn this into a ...
0
votes
1
answer
23
views
Android studio, Error: cannot find symbol. I am trying to use an mp4 file to play a video inside my app
I want to have a dedicated button in order to play videos on my page. I have written down the following code. Is it something wrong with it? When I try to build my app in a virtual device, this error ...
-1
votes
1
answer
342
views
Convert video link to m3u8
I want to convert a video link to an m3u8 file
That means I can give a video for the input of the link and I can watch the same video with the extension m3u8 for the output.
Glad to help me
1
vote
0
answers
46
views
Media Stream and Capture API for creating mp4 from canvas elements
I have a serverless Vue SPA which creates GIF files completely client side. I wish to use the Media Stream and Capture API to create an mp4 instead. I am not sure how to setup the Media Stream ,along ...
0
votes
2
answers
170
views
Using ffmpeg, jpg to mp4 to mpegts, play with HLS M3U8, only first TS file plays - why?
Before posting I have searched and found similar questions on stackoverflow (I list some below) - none have helped me towards a solution, hence this post. The duration that each image is shown within ...
0
votes
0
answers
26
views
How Download File in php for Big Size
I should download Big file video with size 200mb in local pc drive.
The code is correct for medium size but fail with big size with return ERR_INVALID_RESPONSE.
I have tried also with readfile and ...
0
votes
0
answers
15
views
winista mime detector returning xwd mime type, for MP4 file
Tried to get mime type for MP4 files using winista mime detector , it is giving as xwd(x windows dump).
Why most of valid downloaded files returning xwd mime type?
-2
votes
1
answer
82
views
FFmpeg not cropping video correctly
I'm using ffmpeg as:
ffmpeg -i "video.webm" -c:v libx264 -vf "crop=in_w:in_h:in_w/2:in_h" -ss 00:02:56.000 -to 00:03:02.750 cut.mp4 -y
to get left side of screen to crop out right ...
-1
votes
1
answer
35
views
Safari can't open video served on localhost through Laravel
This is my HTML:
<video id="background-video" autoplay loop muted poster="">
<source src="{{ asset('media/video/video.mp4') }}" type="video/mp4">...
0
votes
1
answer
64
views
Turn Mp4 File into Portrait Video
I recently programmed a bot, which uses the Twitch API to scrape Twitch videos, and then post them on YouTube. This is my youtube channel if you want to see an example: https://www.youtube.com/channel/...
1
vote
0
answers
70
views
GitHub README.md markdown markup uploaded video player design
I'm trying to keep the video dropbox hidden with the load of GitHub repository README.md and resize the width and height of the frame of uploaded .mp4 to markdown markup, the generated link provides ...
1
vote
0
answers
50
views
Record remote video stream with audio using webrtc for Mac
I need a way to record the audio and video of remote peer connections.
We're using the native version of webrtc for macOS.
In the current API of webrtc, there is no way to access the audio of remote ...
1
vote
0
answers
285
views
Display .mp4 video hosted on GitLab repository in GitHub or GitLab README.md with player
I've several no less than a minimum of 12-30, no more than a maximum 50-80 MB .mp4 video files with an overall duration of around 2:50-3 minutes in the GitLab repository, linked in GitLab and GitHub ...
0
votes
1
answer
60
views
UI video play Issue but works perfectly on Postman
I am not able to play MP4 (HD) video on UI received from the django backend. I am using normal javascript on UI and Django on the backend. Please find the backend code snippet:
file = FileWrapper(open(...
1
vote
1
answer
62
views
FFmpeg: create data streams in MP4 container
Is there a way to make FFmpeg create data streams in MP4 or Quicktime (.mov) containers? I have tried -attach ... (works fine for Matroska containers, but not MP4/MOV) or -codec bin_data, but to no ...
3
votes
0
answers
134
views
How to read Mdat atoms of a mp4 video?
I am trying to parse a mp4 and able to do parse moov but not sure how to use moov information to parse mdat.
My goal is to get the track info like metadata and if possible frames from mdat as it ...
1
vote
0
answers
58
views
Plug-in handled load WebKitErrorDomain 204 error on WKWebView below iOS 15
I am loading some URL to WKWebView, for instance, https://example.com/123123/example.mp4.
The URL points to video. Above iOS 15, everything is fine, video is playing on WKWebView. But below iOS 15, ...
0
votes
0
answers
16
views
Is it possible to create a video from a .emd file?
I have microscope data as image stacks in the format of .emd data. Is it possible to convert it into a standard video format such as .avi or .mp4 for the purposes of quick checking, exporting to other ...
0
votes
0
answers
157
views
Keep getting "MovieWriter ffmpeg unavailable; using Pillow instead." Error even though I have ffmpeg installed
When trying to run the following code to output an .mp4 file of an animated bar graph, I keep getting "MovieWriter ffmpeg unavailable; using Pillow instead." Then at the bottom it states ...
0
votes
0
answers
80
views
Convert every JPG file to single mp4 video with specific duration
I have a folder with 100 jpg files, I want to convert each photo to a single MP4 video with a duration of 3 seconds in a bulk, I'm using Windows 10.
So, I will end up with 100 MP4 files each one of ...
0
votes
0
answers
46
views
Why can't my app play the mp4 file it created?
My app takes a short video and saves it as an mp4 file in internal storage but when I then try to play it I get a message on the phone saying 'Can't play this video'.
To test, I have copied the file (...
0
votes
0
answers
89
views
FFMPEG stretches the video in second file when concatenating two mp4s
I'm trying to concatenate two mp4 files, which I've done successfully in other circumstances, but this time it is not working well. The two files (which are 21 minutes and 5 minutes long respectively)...
0
votes
0
answers
282
views
Python ffmpeg-python causes WinError2/ffmpeg has no attribute input
I was trying to make mp4/mp3 converter using ffmpeg, but ffmpeg is causing WinError2.
Only ffmpeg-python installed : causes WinError2, since ffmpeg.exe does not exist
Only ffmpeg installed : cannot ...
0
votes
0
answers
27
views
Video subtitle with text-to-speech voice
Dears, I am trying create a video (like .mp4) of a text in which the text is narrated by text-to-speech.
And I want to highlight the word that is spoken in the video.
Anybody have any idea of better ...
0
votes
0
answers
73
views
Is it possible to make VFR MP4 from a raw h264 bitstream using ffmpeg?
I have a raw h264 bitstream that I'd like to put into MP4 using ffmpeg but ffmpeg always produces it with a constant frame rate and I need it to be the variable frame rate.
So lets say I have an MP4 ...