Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
ffmpeg av_register_all() not working ?
22 octobre 2013, par patrickI'm attempting to use ffmpeg on iOS. When I call av_register_all() then attempt to open the file using avformat_open_input() I get the following error:
No URL Protocols are registered. Missing call to av_register_all()?
Has anyone seen this before? Any help would be much appreciated
-
Generate timestamped video ?
22 octobre 2013, par user49411I just need to generate a 12 hour video (from scratch) with a counter in it, to test something. I can get a timestamp ok by douing this
ffmpeg -loop 1 -i test_card.png -c:v libx264 -t 30 -pix_fmt yuv420p out.mp4 ffmpeg -i out.mp4 -vf "drawtext=fontfile=/Library/Fonts/Andale Mono.ttf: timecode='00\:00\:00\:00': r=25: \ x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=25: box=1: boxcolor=0x00000000@1" -an -y out.mp4
This works, but i don't want a timestamp, I want a counter going down ?
Secondly, the former seems inefficient. I need a 12 hour video to be made in about 15 mins?
-
.net library for extracting audio from pcap
22 octobre 2013, par BracherI am currently trying to extract audio from a pcap file and save as .raw or .wav
I am already converting the .raw files to .wav using ffmpeg.exe in command line which is quite easy.But I am struggling to find a way to extract the audio data from a pcap file and creating a .raw or .wav file. I saw that there is a .net library called Pcap.net, and that you might be able to use tshark. Is this the right direction to go? I want to do this from .net application either by code or by executing command lines.
Is there a fast and easy way to do this?
-
Dynamically change stream files on vlc or other streamer
22 octobre 2013, par user2806896I've found out how stream all files from a specific folder (e.g. vlc -vvv /home/user/videos/* --sout ...). Problem is that I want to change the content of that folder and that vlc would see that while streamming. In other words, I want to change streamming content dynamically. I haven't found any solutions on the web. Any ideas? Thanks.
P.S. the streamer can be gstreamer or ffmpeg as well.
P.S.S. Linux platfrom.
-
"File for preset 'libx264-hq' not found" error in Eclipse (Windows)
22 octobre 2013, par RitaWhen I use the command line to execute, f.e.,
"ffmpeg -i input.avi -vcodec libx264 -vpre libx264-hq -b 1500k output.mp4"
the .mp4 file with h264 is successfully created. However, if I try to execute the same command on Eclipse I get the "File for preset 'libx264-hq' not found" error even though I've already created the preset file and downloaded the library (because I used to have that same error in the command line).
My question is: do I have to put the preset file anywhere else in order to make it function through Eclipse?
Btw, I'm using Windows. There's a lack of information about ffmpeg for Windows.