ffmpeg

sandboxed electron app cant use ffmpeg (mac apple store)

喜夏-厌秋 提交于 2021-01-07 02:37:31
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Martin wants to draw more attention to this question. I am trying to build an electron application for the mac apple store that uses ffmpeg. I can use fluent-ffmpeg locally fine and It continues to work when I build my app for windows/mac/linux, but when I build a sandoxed Mac Apple Store (MAS) .app file and sign the .app file, fluent-ffmpeg does not work anymore, and throws an ffmpeg was killed

how to use or import ffmpeg in a laravel controller

人走茶凉 提交于 2021-01-07 01:27:05
问题 i have already installed the laravel-ffmpeg via composer in my project composer require pbmedia/laravel-ffmpeg then i added class to config/app.php file as documentation says // config/app.php 'providers' => [ ... ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider::class, ... ]; 'aliases' => [ ... 'FFMpeg' => ProtoneMedia\LaravelFFMpeg\Support\FFMpeg::class ... ]; then publish this config file php artisan vendor:publish --provider="ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider" now my

How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video?

好久不见. 提交于 2021-01-07 01:06:57
问题 everybody here! So basically this is what I want to achieve: I have a muted video about 3 minutes long. I have a list of audio tracks in mp3 format (40 songs in a folder with duration 2 to 6 mins each one) I want this video to play cycled automatically taking songs from playlist and injecting them to the video one by one. Every time a song finishes the next one from the list should start playing at the moment. Video continues playing and doesn't care duration of tracks. I consider it as the

How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video?

自作多情 提交于 2021-01-07 01:04:49
问题 everybody here! So basically this is what I want to achieve: I have a muted video about 3 minutes long. I have a list of audio tracks in mp3 format (40 songs in a folder with duration 2 to 6 mins each one) I want this video to play cycled automatically taking songs from playlist and injecting them to the video one by one. Every time a song finishes the next one from the list should start playing at the moment. Video continues playing and doesn't care duration of tracks. I consider it as the

Why getting and how to fix the warning/error on ffmpeg : not enough frames to estimate rate; consider increasing probesize?

筅森魡賤 提交于 2021-01-05 10:12:52
问题 The command I'm using : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p camera1.mp4 Stream #0: not enough frames to estimate rate; consider increasing probesize And also : Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. And then all the time : Past duration 0.810524 too large Some info : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p camera1.mp4 ffmpeg version N-81045-g450cf40

H264 ByteStream to Image Files

前提是你 提交于 2021-01-05 07:46:31
问题 first time here so be gentle. I've been working for a few weeks on a given H.264 byte stream: General notes: The Byte Stream is not from a file, it is being fed live to me from an external source. The Byte Stream is encoded with Android's Media Codec. When writing the stream into a file with a .H264 extension, VLC is able to play it properly. What I'm trying to achieve? One of the following: Converting the frames of the H264 stream to a saveable picture file (png/jpeg etc') Converting the

H264 ByteStream to Image Files

怎甘沉沦 提交于 2021-01-05 07:46:24
问题 first time here so be gentle. I've been working for a few weeks on a given H.264 byte stream: General notes: The Byte Stream is not from a file, it is being fed live to me from an external source. The Byte Stream is encoded with Android's Media Codec. When writing the stream into a file with a .H264 extension, VLC is able to play it properly. What I'm trying to achieve? One of the following: Converting the frames of the H264 stream to a saveable picture file (png/jpeg etc') Converting the

超炫酷动态排序图、视频,我都帮你用Python实现了

五迷三道 提交于 2021-01-03 16:25:44
↑↑↑点击上方 蓝字 ,回复 资料 ,10个G的惊喜 先看一下最终效果,这是一张Python生成的GIF,还可以输出MP4格式的视频,到底怎么做的? 且听我娓娓道来——数据集、代码、详细做法全部讲清楚。 数据集获取方式 大家可以去国家统计局的网站,搜索想要的数据,比如本例中我们需要的是人口数据,如下图所示,下载数据即可,我比较喜欢csv格式。 把数据整理一下,如下图的格式: 核心函数 代码部分大家请看下面的的截图,这里我们只看一下核心函数的主要参数,非常重要!!! 函数FuncAnimation(fig,func,frames,init_func,interval,blit)是绘制动图的主要函数,其参数如下: fig 绘制动图的画布名称 func自定义动画函数,即下边程序定义的函数update frames动画长度,一次循环包含的帧数,在函数运行时,其值会传递给函数update(n)的形参“n” init_func自定义开始帧,即传入刚定义的函数init,初始化函数 interval更新频率,以ms计 blit选择更新所有点,还是仅更新产生变化的点。应选择True,但mac用户请选择False,否则无法显示 其实原理就是生成每个年份的柱状图,然后用FuncAnimation绘制GIF 配置视频 大家运行上面代码的时候还是会出错的,报错信息:RuntimeError:

Execute ffmpeg command with C#

泪湿孤枕 提交于 2021-01-03 06:50:06
问题 Hi can someone show me how you would execute the following command against FFmpeg in C#. mkfifo temp1.a mkfifo temp1.v mkfifo temp2.a mkfifo temp2.v mkfifo all.a mkfifo all.v ffmpeg -i input1.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp1.a < /dev/null & ffmpeg -i input2.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp2.a < /dev/null & ffmpeg -i input1.flv -an -f yuv4mpegpipe - > temp1.v < /dev/null & { ffmpeg -i input2.flv -an -f yuv4mpegpipe - < /dev/null | tail -n

Execute ffmpeg command with C#

陌路散爱 提交于 2021-01-03 06:48:12
问题 Hi can someone show me how you would execute the following command against FFmpeg in C#. mkfifo temp1.a mkfifo temp1.v mkfifo temp2.a mkfifo temp2.v mkfifo all.a mkfifo all.v ffmpeg -i input1.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp1.a < /dev/null & ffmpeg -i input2.flv -vn -f u16le -acodec pcm_s16le -ac 2 -ar 44100 - > temp2.a < /dev/null & ffmpeg -i input1.flv -an -f yuv4mpegpipe - > temp1.v < /dev/null & { ffmpeg -i input2.flv -an -f yuv4mpegpipe - < /dev/null | tail -n