Groups | Search | Server Info | Login | Register


Groups > comp.sys.dec > #4143

Unable To [2021] Download Ffmpeg

Newsgroups comp.sys.dec
Date 2024-01-20 01:42 -0800
Message-ID <7fed346e-d27f-4588-b041-910540e1cf4an@googlegroups.com> (permalink)
Subject Unable To [2021] Download Ffmpeg
From Angelines Mulready <angelinesmulready@gmail.com>

Show all headers | View raw


<div>Make sure that you have installed the right ffmpeg files on you machine; ei linux server or mac/windows if you are running local. You can download from ffmpeg.org Be sure to download the right Static Build for your cpu (mine was 64bit so i downloaded a 64bit static build)</div><div></div><div></div><div></div><div></div><div></div><div>unable to download ffmpeg</div><div></div><div>Download: https://t.co/WsZuMasUGF </div><div></div><div></div><div>I definitely have an internet connection. I found this link, and tried installing with Homebrew and Static builds, but neither have worked. It seems like compiling it myself would be a little too advanced for me (I've only briefly looked into it). I used imageio.plugins.ffmpeg.download() on IDLE. I read something about using PyCharm to run the MoviePy code, but I get the same initial error. ffmpeg is currently in my /usr/local/bin folder. Any suggestions are welcome. Thank for your help.</div><div></div><div></div><div>I was able to solve this question using a solution similar to Bill Bell's. First, make sure that ffmpeg is actually installed on your system by running brew install ffmpeg. Then, running which ffmpeg should return something like /usr/local/bin/ffmpeg.</div><div></div><div></div><div>Noob here. I've been trying to use ffmpeg to encode my videos, since the video editor I use (Magix Video Pro x11) isn't very versatile when it comes to codes and and file containers, plus lack of hardware acceleration. I'm trying to use h264_nvenc, but whenever I enter the command line, it stops the process instantly. First time using ffmpeg, so it might probably be the command I wrote.</div><div></div><div></div><div></div><div></div><div></div><div></div><div>Another way to go about that: move/copy the ffmpeg (and related) commands to a location that can be reached - perhaps /var/www/html/bin. Then call /var/www/html/bin/ffmpeg from the PHP code (the full path, unless you also add /var/www/html/bin to $PATH, but using the full path is easier).</div><div></div><div></div><div>Yes, that guide does not work correctly on any Ubuntu build since at least 16.04. The simplest method to solve this problem I've found is to first install the default Ubuntu package and then generate your custom script. Prior to running your ffmpeg compile script, install the default package from official Ubuntu repository of the library that ffmpeg is complaining about:</div><div></div><div></div><div>The root cause many of these library issues and Package Config appears to be often related to C/C++ syntax that is incorrect in the library source files. This has been an issue (and continues to be one) for several ffmpeg dependencies in Ubuntu, such as VLC's x265 library. The problem is compounded by BitBucket's recent decision to discontinue Mercurial support, including their decision to shutdown its forums, which removed several related discussions and solutions from the Internet. :(</div><div></div><div></div><div>Unable to start the timelapse. Cancelling print. Error: The ffmpeg /usr/bin/avconv does not exist. Please configure this setting within the Octoprint settings pages located at Features->Webcam & Timelapse under Timelapse Recordings->Path to FFMPEG. "</div><div></div><div></div><div>so i found the problem, after some searching on raspberry ssh and google. then found that there is a wrong setting under -- settings - features - webcam & timelapes - Timelapse Recordings - Path to FFMPEG --</div><div></div><div>i change the /usr/bin/avconv to /usr/bin/ffmpeg, and now it works fine again.</div><div></div><div></div><div>ffmpeg reads from an arbitrary number of input "files" (which can be regularfiles, pipes, network streams, grabbing devices, etc.), specified by the-i option, and writes to an arbitrary number of output "files", which arespecified by a plain output url. Anything found on the command line whichcannot be interpreted as an option is considered to be an output url.</div><div></div><div></div><div>ffmpeg calls the libavformat library (containing demuxers) to readinput files and get packets containing encoded data from them. When there aremultiple input files, ffmpeg tries to keep them synchronized bytracking lowest timestamp on any active input stream.</div><div></div><div></div><div>Before encoding, ffmpeg can process raw audio and video frames usingfilters from the libavfilter library. Several chained filters form a filtergraph. ffmpeg distinguishes between two types of filtergraphs:simple and complex.</div><div></div><div></div><div>Stream copy is a mode selected by supplying the copy parameter to the-codec option. It makes ffmpeg omit the decoding and encodingstep for the specified stream, so it does only demuxing and muxing. It is usefulfor changing the container format or modifying container-level metadata. Thediagram above will, in this case, simplify to this:</div><div></div><div></div><div>ffmpeg provides the -map option for manual control of stream selection in eachoutput file. Users can skip -map and let ffmpeg perform automatic stream selection asdescribed below. The -vn / -an / -sn / -dn options can be used to skip inclusion ofvideo, audio, subtitle and data streams respectively, whether manually mapped or automaticallyselected, except for those streams which are outputs of complex filtergraphs.</div><div></div><div></div><div>In the absence of any map options for a particular output file, ffmpeg inspects the outputformat to check which type of streams can be included in it, viz. video, audio and/orsubtitles. For each acceptable stream type, ffmpeg will pick one stream, when available,from among all the inputs.</div><div></div><div></div><div>Stream handling is independent of stream selection, with an exception for subtitles describedbelow. Stream handling is set via the -codec option addressed to streams within aspecific output file. In particular, codec options are applied by ffmpeg after thestream selection process and thus do not influence the latter. If no -codec option isspecified for a stream type, ffmpeg will select the default encoder registered by the outputfile muxer.</div><div></div><div></div><div>An exception exists for subtitles. If a subtitle encoder is specified for an output file, thefirst subtitle stream found of any type, text or image, will be included. ffmpeg does not validateif the specified encoder can convert the selected stream or if the converted stream is acceptablewithin the output format. This applies generally as well: when the user sets an encoder manually,the stream selection process cannot check if the encoded stream can be muxed into the output file.If it cannot, ffmpeg will abort and all output files will fail to be processed.</div><div></div><div></div><div>When used as an input option (before -i), seeks in this input file toposition. Note that in most formats it is not possible to seek exactly,so ffmpeg will seek to the closest seek point before position.When transcoding and -accurate_seek is enabled (the default), thisextra segment between the seek point and position will be decoded anddiscarded. When doing stream copy or when -noaccurate_seek is used, itwill be preserved.</div><div></div><div></div><div>Acceptable values are those that refer to a valid ffmpeg input index. If the sync reference isthe target index itself or -1, then no adjustment is made to target timestamps. A syncreference may not itself be synced to any other input.</div><div></div><div></div><div>filtergraph is a description of the filtergraph to apply tothe stream, and must have a single input and a single output of thesame type of the stream. In the filtergraph, the input is associatedto the label in, and the output to the label out. Seethe ffmpeg-filters manual for more information about the filtergraphsyntax.</div><div></div><div></div><div>Set pixel format. Use -pix_fmts to show all the supportedpixel formats.If the selected pixel format can not be selected, ffmpeg will print awarning and select the best pixel format supported by the encoder.If pix_fmt is prefixed by a +, ffmpeg will exit with an errorif the requested pixel format can not be selected, and automatic conversionsinside filtergraphs are disabled.If pix_fmt is a single +, ffmpeg selects the same pixel formatas the input (or graph output) and automatic conversions are disabled.</div><div></div><div></div><div>If the argument consists of timestamps, ffmpeg will round the specified times to the nearestoutput timestamp as per the encoder time base and force a keyframe at the first frame havingtimestamp equal or greater than the computed timestamp. Note that if the encoder time base is toocoarse, then the keyframes may be forced on frames with timestamps lower than the specified time.The default encoder time base is the inverse of the output framerate but may be set otherwisevia -enc_time_base.</div><div></div><div></div><div>If the argument is source, ffmpeg will force a key frame ifthe current frame being encoded is marked as a key frame in its source.In cases where this particular source frame has to be dropped,enforce the next available frame to become a key frame instead.</div><div></div><div></div><div>Note that most acceleration methods are intended for playback and will not befaster than software decoding on modern CPUs. Additionally, ffmpegwill usually need to copy the decoded frames from the GPU memory into the systemmemory, resulting in further performance loss. This option is thus mainlyuseful for testing.</div><div></div><div></div><div>If some input channel layout is not known, try to guess only if itcorresponds to at most the specified number of channels. For example, 2tells to ffmpeg to recognize 1 channel as mono and 2 channels asstereo but not 6 channels as 5.1. The default is to always try to guess. Use0 to disable all guessing.</div><div></div><div></div><div>If a timestamp discontinuity is detected whose absolute value isgreater than threshold, ffmpeg will remove the discontinuity bydecreasing/increasing the current DTS and PTS by the correspondingdelta value.</div><div></div><div></div><div>For input, this option sets the maximum number of queued packets when readingfrom the file or device. With low latency / high rate live streams, packets maybe discarded if they are not read in a timely manner; setting this value canforce ffmpeg to use a separate input thread and read packets as soon as theyarrive. By default ffmpeg only does this if multiple inputs are specified.</div><div></div><div></div><div>Set fraction of decoding frame failures across all inputs which when crossedffmpeg will return exit code 69. Crossing this threshold does not terminateprocessing. Range is a floating-point number between 0 to 1. Default is 2/3.</div><div></div><div></div><div>When transcoding audio and/or video streams, ffmpeg will not begin writing intothe output until it has one packet for each such stream. While waiting for thatto happen, packets for other streams are buffered. This option sets the size ofthis buffer, in packets, for the matching output stream.</div><div></div><div></div><div>First ffmpeg searches for a file named arg.ffpreset in thedirectories $FFMPEG_DATADIR (if set), and $HOME/.ffmpeg, and inthe datadir defined at configuration time (usually PREFIX/share/ffmpeg)or in a ffpresets folder along the executable on win32,in that order. For example, if the argument is libvpx-1080p, it willsearch for the file libvpx-1080p.ffpreset.</div><div></div><div> df19127ead</div>

Back to comp.sys.dec | Previous | Next | Find similar


Thread

Unable To [2021] Download Ffmpeg Angelines Mulready <angelinesmulready@gmail.com> - 2024-01-20 01:42 -0800

csiph-web