Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
VLC HTTP STREAMING OVER HTTP IS STOPPING AFTER 10 SECONDS ALWAYS
30 mai 2018, par vijayky88I am trying to run my
Ubuntu machine
asvlc server
. where i run below command to stream my local video overhttp.vlc
1.avi
:sout=#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{dst=:8080/test.ogg}} :sout-all :sout-keep
Below is
vlc client commad
todisplay
thehttp streaming output
which is stopping always after 10 sec. For subsequent attempt this is not working.("failed to find url")
vlc http://localhost:8080/test.ogg .Please suggest any workaround. Also please let me knwo if i should switched to
ffmpeg
if this is legacy problem. please suggest the command as well.Note : using the latest vlc
Thanks in advance!
-
MPEG Transport Stream to RFB protocol framebuffer updates
30 mai 2018, par user3911119My requirement is to be able to generate frames from a video file, and create RFB protocol updates so that they can be viewed in vnc viewer.
I read that it is possible to record a vnc session using rfbproxy into a video file and replay it, though I could not find any code to do it.
How do I go about it?
Is it possible to do the same using ffmpeg?
-
How to strip metadata from a video file with reliable/reproducable results ?
30 mai 2018, par Daniel QuinnI'm trying to find a clean way to produce "just the raw data" from a variety of media files. By this I mean, to take a file,
test.mp4
and strip all of the metadata/headers off it so I can then generate a hash of the actual video data.After a lot of digging on this subject, ffmpeg seems to be my best shot at this, but the command I found to do the metadata stripping, appears to produce different results depending on the version of ffmpeg, which leads me to think that either (a) I've got the incantation wrong, or (b) ffmpeg isn't actually returning just the raw data.
To test for this, I used jrottenberg's ffmpeg Docker containers to create a hash of the same file across multiple ffmpeg versions:
for tag in 4.0-centos 4.0-alpine 3.4-alpine 3.4-centos 3.0-alpine 3.0-centos; do docker pull jrottenberg/ffmpeg:${tag} docker run --rm \ -v /data/:/data/ \ -it jrottenberg/ffmpeg:${tag} \ -i /data/test.mp3 \ -map_metadata -1 -c:v copy -c:a copy \ -f mp4 - | md5sum done
The result was that every one of these instances had a different hash output (Docker output truncated for clarity):
d7e3577ffe65d73240f48842e8d42207 - da2bda81911d758c877aace6ed3c0025 - ed24948c1dedf5d53870dfcfe24c7c70 - 3dbb89d812c26711a33ca670403ccc20 - a4533446d3225e755eb041167e32b279 - 69a51d82acc9987eed8b517a748435eb -
So my question: is there a more reliable way to do this? Did I just miss an option for ffmpeg? Am I missing something here, or is ffpeg just not a good tool for this job? If not that, what is a good choice?
-
Merging mp4 files (in order) using ffmpeg
29 mai 2018, par devpsylabIAI am trying to merge two mp4 files (both with video and audio) using ffmpeg, and while I can get them to merge perfectly fine, the order that I need the videos to be in is incorrect. I have gotten other mp4 files to merge in the correct order with no issues, but I cannot seem to get this one to do the same.
-
How to make video from python graph
29 mai 2018, par CoderI have a plot in python but I need to make a movie file in mpeg from this graph. It needs to display a motion going across the points from left to right, in python. I used matplotlib to make the graph.