3,085 questions
2
votes
1
answer
138
views
VP9 video black screen after merging (stream copy)
Is there a specific bitstream filter required for VP9 in an MP4 container, or is AVFMT_FLAG_AUTO_BSF required for VP9 but failing for another reason?
I am using FFmpeg libraries libavformat/libavcodec ...
0
votes
1
answer
116
views
How to preserve Camera Vendor MakerNotes during MP4 re-encoding
I have recorded this sample video (original.MP4) on my Panasonic DC-TZ202 camera. ffprobe original.MP4 gives a h264 video stream and an aac audio stream[1]:
I want to re-encode the video fro h264 ho ...
4
votes
0
answers
87
views
av_write_trailer failing - Estimating the duration of the last packet in a fragment, consider setting the duration field in AVPacket instead
Looking for some pointers.
System is a Xilinx Petalinux build, using libavformat, libavutil, etc.
I am encoding using libx264 to an MP4 container and everything is working fine, until I try to close ...
Best practices
0
votes
1
replies
160
views
Best practice for converting Annex B H.265/HEVC bitstream to MP4 (hevc / length-prefixed) format in the browser?
I'm receiving an H.265 (HEVC) bitstream in Annex B format over a WebSocket in the browser. Using the received bytes I can construct EncodedVideoChunk objects and decode them with the VideoDecoder API. ...
2
votes
1
answer
126
views
AVAssetExportSession ignores frameDuration 60fps and exports at 30fps, but AVPlayer playback is correct
I'm stuck on a really frustrating AVFoundation problem. I'm building a video editor that uses a custom AVVideoCompositor to add effects, and I need the final output to be 60 FPS.
So basically, I ...
2
votes
1
answer
161
views
Can someone parse this H264/AVC SPS payload? [closed]
I am trying to parse this SPS payload to understand the H264 codec better, I am successful for the most part, but having hard time parsing or understanding num_units_in_tick and time_scale details for ...
0
votes
0
answers
147
views
How to play MP4 videos one after another smoothly in React without glitches when updating video URL from server?
I’m building a React component where I need to play MP4 videos one after another. The next video URL is received from the server only after the current one finishes.
The problem:
When I update the ...
2
votes
0
answers
130
views
expo-video not rendering DAM-hosted video on iOS device (works on Android and Safari)
I’m using Expo SDK 53 and the new expo-video package to render a video hosted on a DAM (Digital Asset Management) link. While the video works correctly on Android devices and also plays in Safari ...
1
vote
0
answers
112
views
Resolution constraints for MediaFoundation SinkWriter for H264/MP4?
I'm doing something very similar to this tutorial for using MediaFoundation SinkWriter for encoding video from a set of frames, except that I'm initializing it with MFVideoFormat_H264 to output .mp4 ...
0
votes
0
answers
62
views
itext 5.5 add mp4 video
Is it possible to add mp4 videos to itet 5.5 and let them play upon showing?
What I tried:
final PdfPCell cell = new PdfPCell();
final Chunk chunk = new Chunk();
chunk.setAnnotation(PdfAnnotation
...
1
vote
2
answers
343
views
Get "Media created" timestamp with python for .mp4 and .m4a video, audio files (no EXIF)
Trying to get "Media created" timestamp and insert as the "Last modified date" with python for .mp4 and .m4a video, audio files (no EXIF). The "Media created" timestamp ...
2
votes
1
answer
638
views
All candidate resources failed to load. Media load paused
I wrote a script to display mp4 clips FTP'd to the web server from a Reolink CCTV recorder. There could be hundreds sometimes over thousand of these clips along with their jpeg pictures displayed by ...
-1
votes
1
answer
218
views
Batch Convert all .MOV in a directory to mp4s
Just downloaded a whole bunch of videos from my phone to desktop. How to convert all the .MOV files in a directory to mp4s quickly, using ffmpeg.
2
votes
1
answer
514
views
How does FFmpeg determine the “attached pic” and “timed thumbnails” dispositions of an MP4 track?
The Issue
FFmpeg has a concept of “dispositions” – a property that describes the purpose of a stream in a media file. For example, here are the streams in a file I have lying around, with the ...
0
votes
0
answers
225
views
How to split an audio / video file based upon multiple timestamps by using FFMPEG (preferably)
I would like to be able to split my audio (mp3 or equiv.) or video file based upon multiple timestamps. The same way, for those who have used any editing software, you can crop the file based upon ...