All Questions
Tagged with ffmpeg vlc-media-player
156
questions
0
votes
0
answers
32
views
Artifacts on Video of 143 images combined into a video by ffmpeg
Left side is from video, and right is original still
The video was created from 143 images from the same camera taken over some months.
Processed using :-
ffmpeg -framerate 1 -pattern_type glob -i '*....
0
votes
0
answers
86
views
FFMPEG: RTSP Client sending "Keep Alive" packets back to camera
I am using the FFMPEG Libraries (Windows Build) to connect and stream RTSP Streams from IP Cameras, this works with no issues on Dahua, Hikvision, etc.
Pseudo code :
avformat_open_input (...)
....
.......
0
votes
0
answers
145
views
Separating audio m4b file based on a cue file
Separating audio m4b file based on a cue file
How can I split an audio m4b into separate files using a cue file?
Note: The m4b file has no chapters that's why I need to use the cue file to split it.
I ...
0
votes
0
answers
47
views
Why does FFmpeg encoding stall on Ubuntu with DVD video file?
I've encountered a challenging issue while using FFmpeg on Ubuntu to encode a DVD video file contained in a .bin format. Despite various attempts (also employing vlc or bounting converted .iso), ...
1
vote
1
answer
146
views
Why is it when an MKV video converted by FFmpeg to MP4 only plays on VLC media player?
I have a video in MKV format that I wanted to convert to MP4, so I used ffmpeg to convert it. The command I used was pretty simple:
ffmpeg -i <path_and_name_of_file>.mkv <...
0
votes
2
answers
207
views
Analyze AVI for audio with ffmpeg
I'm new to using ffmpeg. I have some AVI files that I believe should have audio, but I cannot get the audio to play with VLC. I tried using ffmpeg to analyze the AVI files for audio.
import ...
0
votes
0
answers
51
views
MPEGTS across devices has choppy audio
I want to stream video and its audio between devices. On my pc I am transmitting it using
ffmpeg -re -i "video.mp4" -vcodec libx264 -f mpegts udp://192.168.1.106:1234?pkt_size=1316
And on ...
0
votes
1
answer
173
views
Multicast from LAN to WAN
I'm trying to transmit a multicast stream over the WAN.
I know the NAT cannot allow this. For this purpose, I tried to use one Raspberry with two Ethernet interfaces: The internal one and another one ...
0
votes
1
answer
488
views
Loading chapter data in VLC from external file for any video format
I have a number of video files (in various formats: mp4, webm, mkv, etc.) and I'd like to add chapter information to them (similar to how Youtube shows links into parts of videos).
I'm not terribly ...
2
votes
0
answers
4k
views
HDR to SDR conversion with ffmpeg
I have some 4K HDR video, which looks very dark (and redish) if directly played on a non-HDR device (in practice with VLC), which is a known issue. I'm trying to convert it to SDR using ffmpeg, and ...
1
vote
1
answer
239
views
Issue in converting encrypted HLS with FFMPEG to UDP
We are looking for help in debugging a problem related to converting encrypted HLS to UDP output.
If we download encrypted HLS content and then convert it to UDP, it works well. But if we directly ...
0
votes
0
answers
73
views
Artifact with ffplay at bottom of stream images
By getting stream of a camera with ffplay, I get artifacts like what in:
https://community-assets.home-assistant.io/original/3X/5/7/570102632dca2748a9ae9e0568f1240e4abb2a63.jpeg
https://user-images....
0
votes
0
answers
198
views
How to override ffmpeg video duration with a malformed file?
My security camera recorder produced a H.264 MP4 video file that appears to be malformed as it reports an incorrect video duration. Using ffmpeg and following this answer I get the same result of 38 ...
0
votes
0
answers
236
views
Recording m3u8 stream stop time do not work when stream is forwarded using socat
I try to record m3u8 stream containing audio only. It is online radio but listening is geographicaly restricted and in my country requests fails with HTTP 403 but on server in (non-restricted) remote ...
0
votes
0
answers
349
views
possible ffmpeg processing error, audio file is longer than muxed video file, --shortest flag does not appear to work, audio does not play
See the question asked here.
How to merge audio and video streams with different lengths trimming audio to fit video using ffmpeg
ffmpeg is creating output, the audio file itself plays, the video ...
0
votes
1
answer
4k
views
how to access a remote IP camera using UID
My colleague installed an IP camera and I want to access it to get frames from the stream. However, the IP provided is local, so I don't know how to access it. The access data I got looks like this:
...
0
votes
0
answers
621
views
How do I play this UMD format movie?
I have a movie ripped from a UMD format disc in the form of an ISO.
The ISO structure is as follows:
$ls -R
.:
umd_data.bin umd_video
./umd_video:
clipinf icon0.png icon1.pmf param.sfo pic1.png ...
1
vote
0
answers
238
views
How to play a loop of a video with slower speed without changing the audio pitch?
I am trying to learn guitar. I have some videos I'd like to study and play along. I am looking for the command line argument that does the following:
Play part of the video, from timestamp 1 to ...
1
vote
0
answers
296
views
ffmpeg last frame freezes, audio keeps playing
I'm using fffmpeg to cut an H.264 video into specific shots. I need it to be frame accurate, which isnt a problem if I only encode video (now that I know how to calculate the ms from the number of ...
21
votes
2
answers
4k
views
Why does stripping metadata decrease the duration of my MP3 file by 0.03 seconds?
I have a file, input.mp3, which, running ffprobe on it gives the following:
[mp3 @ 0x559431400a00] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '../backup/1.mp3':
...
0
votes
0
answers
1k
views
VLC: network stream over RTSP: can I use more aggressive buffering?
I can watch my RTSP stream with VLC almost perfectly.
The stream is live, transcoded from h264 to h265 by ffmpeg.
My only concern is that the stream is occasionally (depends on many factors, but at ...
0
votes
1
answer
1k
views
Streaming local file through http with VLC
original question for reference
using vlc -I qt a.mp4 '#http{mux=ffmpeg{mux=mp4},dst=:8080/stream}' --sout-all --sout-keep the video is playing locally fine with both audio and video but I got some ...
0
votes
0
answers
1k
views
Extracting Video Frames with Correct Resolution/Aspect Ratio
I am using FFMPEG to extract I frames from Videos and ran into a problem.
The video resolution changes between 720x576 and 1024x576 and I can see this when playing the video in VLC and the VLC ...
0
votes
0
answers
397
views
ffmpeg: Combining two A/V streams results in out of sync audio in VLC player but not QuickTime
I have two files (one audio, one video, both mp4) I want to combine into a single mp4 without re-encoding the streams. They both have the same duration (well, technically one is 0.05s longer than the ...
4
votes
0
answers
5k
views
how to fix mp4 file with missing moov atom?
I have a video file (mp4) and I want to load it in a video editor. However, it shows an error which says, "file format not recognized." So, I used the file command and the output is just ...
2
votes
1
answer
693
views
How to merge videos together use VLC command line(some video have one audio track, some video not have audio track)
vlc *.mp4 --sout "#gather:std{access=file,dst=all.mp4}" --no-sout-all --sout-keep
I have tried the above command, but it doesn't work.
Except for the number of audio tracks, these videos ...
0
votes
1
answer
4k
views
How can I fix a (possibly corrupt?) mp4 file?
I'm afraid I don't know (can someone help me diagnose?) whether this file is corrupt or not. I'm just guessing. I'm using Linux, Lubuntu 20.04LTS, and VLC v 3.0.9.2.
Unlike the other mp4 files in ...
0
votes
1
answer
644
views
Mp4 file that plays fine on Windows Quicktime but video frames not in order and out of sync with audio in VLC
Someone has sent me a video that I wish to embed into a presentation I'm building. However, it doesn't play back as the author intended either embedded or standalone. I suspect was encoded on a Mac, ...
1
vote
0
answers
41
views
ffmpeg generated video is mute after seeking it forward
The video is mute after seeking it forward, it was created with ffmpeg. When I play it normally (without seek it) the audio played, I am a Linux user and test it with VLC player and mpv player.
I ...
0
votes
0
answers
468
views
How to fix playback issues in VLC with a MKV file after slowing it down with ffmpeg
I ripped some extras from a DVD that are basically image galleries to MKV. They play way too fast, so I slowed them down using ffmpeg like this:
ffmpeg -i input.mkv -filter:v "setpts=64*PTS"...
0
votes
0
answers
717
views
ffmpeg screen recording file can't be played with video via windows media player [duplicate]
I'm new to ffmpeg. Recently I have recorded my screen using commmand C:\Users\Totzfreelance\ffmpeg.exe -f dshow -i video="UScreenCapture":audio="Microphone (Realtek High Definition ...
2
votes
0
answers
640
views
Subtitles misaligned/missing when cutting video using ffmpeg
TL;DR: After cutting a video with ffmpeg, subtitles are invisible in VLC player even though there is a subtitle stream.
I have an MP4 file of a TV recording of a movie and I want to cut off the parts ...
0
votes
1
answer
567
views
Resize an MP4 with AAC/H.264 encoding in 16:9 to a smaller 16:9 file
I have a 1920x1080 (16:9) MP4 file with Codecs: AAC, H.264 that I would like to shrink to various smaller sizes, for example: 1280x720 or perhaps 640x360.
As far as I know, those values are clean 16:9 ...
1
vote
1
answer
850
views
ffmpeg select filter only works properly after conversion to same file format
Could y'all help me figure what's going on? I'm new to ffmpeg but can't find anything about this issue online. This is my first post about coding questions so please let me know if I missed something!
...
1
vote
0
answers
1k
views
How to edit/properly fix a DVD VOB/BUP/IFO file?
Intro
I have a DVDISO file, and opening it doesn't work because my built-in disk mounter can't read it.
So, I open it up with VLC and all looks fine. When booting it up it's supposed to take you to a ...
0
votes
2
answers
271
views
Why does streaming an MP4 video file from a WordPress site work fine in the browser yet fail when I'm trying to save it to a file?
I am trying to learn more about streaming and why a video that plays fine in the browser is so tricky to download to a local hard drive for offline playing.
It's hosted on WordPress and the full URL ...
0
votes
0
answers
469
views
GoPro Hero 8 HEVC convert to x264
I made a video with my GoPro Hero 8. When I play it with VLC player, the audio is OK but the screen is just black. I found that this may be caused by HEVC, so I downloaded FFMPEG from here: https://...
0
votes
1
answer
400
views
What makes a valid .mp4 video?
I am downloading back to back some .ts video chunks from a website and saving them on the same file. When I try to upload this file to sites like twitter and facebook it doesn't accept it as a valid ...
0
votes
1
answer
161
views
how to capture screen of the ubuntu server to a video file while connecting it over ssh?
I am trying to capture screen of the Ubuntu server to a video file while i am connecting it over ssh.
Using xrandr, I can identify which video outputs are connected and which ones are not connected. ...
2
votes
0
answers
1k
views
What is the difference between .m4s and .ts media files?
From my understanding they can both contain media segments and are meant to be reconstructed at the client but what is the difference between the two?
Edit: This is in the context of HLS
0
votes
1
answer
1k
views
mpv doesn't play audio from mp4 file
Troubles with mp4 files captured from webcam.
I capture video from my webcam with vlc. The captured file is played without issues in vlc, but mpv could not play audio stream.(ffmpeg also doesn't ...
1
vote
0
answers
587
views
How to apply an equalizer preset to an audio and create a new file?
I have an audio file which doesn't sound good when played as-is, but when I use the “pop” equalizer preset in VLC, it sounds good. Hence I would like to create a new audio file with the equalizing ...
1
vote
1
answer
2k
views
Missing Initial Key Frame Issue in VLC media player causes few second blank screen at the start of the video
I have videos which missing initial keyframe. Thus when I open the video file with VLC player, nothing happens on the screen until the first key frame.
Example picture: https://i.sstatic.net/nBYrR.png ...
1
vote
0
answers
209
views
Concatinate mkv from segmented recordings of rtsp
I recorded an rtsp stream to a series of segmented files via the following
ffmpeg -t $((5*60*60)) \
-i 'rtsp://[email protected]:88/videoMain' \
-c copy -map 0 \
-f segment -segment_time 60 -...
1
vote
1
answer
4k
views
ffmpeg h.264 options to pipe into VLC for MJPEG streaming
I am trying to get VLC to recognize ffmpeg libx264 h.264 output from a stdin pipe.
I have a source of raw RGB24 video (currently a file, but eventually realtime from an app) that I wish to h.264 ...
1
vote
1
answer
3k
views
Pipe ffmpeg h.264 output to VLC to serve MJPEG stream
Issue
I want to stream raw RGB24 frames to ffmpeg stdin, and pipe h.264 from ffmpeg into VLC, which then serves an HTTP MJPEG stream on some arbitrary port. I can get results with either program ...
6
votes
1
answer
15k
views
Getting weird errors in ffmpeg when seeking, "co located POCs unavailable", "mmco: unref short failure"
I've seen other people have the issue but I haven't seen a solution. If I try to seek with ffmpeg I get some errors and the resulting video freezes at a frame at the beginning before moving. Even if I ...
29
votes
9
answers
8k
views
Saving one file format with a different file extension. JPG - PNG; MOV - MP4
From experience I know that if I save .jpg file with an .png extension (or vice versa) the most programs will open it as normally. I am wondering why is that the case and ask people with experience in ...
1
vote
0
answers
118
views
How to record single app windows on ffmpeg
I started using ffmpeg to record screen, but the manual do not provides any way to record a single window app on xorg interaction.
Well, i know it's possible because VLC does it. Does anyone know how ...
0
votes
2
answers
985
views
Having difficulty using ffmpeg to get a sample mkv convert to mp4, and play in windows media player
I have this big 4GB file
C:\katc4d7>dir "WSC KAT.mkv"
13/06/2020 00:54 4,293,411,907 WSC KAT.mkv
C:\katc4d7>
Here is ffmpeg -i on that file
C:\katowice_c4d7>ffmpeg -i "...