Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Error converting youtube video to gif using npm
15 décembre 2015, par user5663488I have installed ffmpeg and node.js. Trying to convert youtube video to gif images. In command prompt I have used "youtube-to-gif -u https://www.youtube.com/watch?v=NqxSgp385N0 -b 30 -d 5" command. Its showing error "Cannot find ffmpeg". Please suggest.
-
Missing one frame between two .ts files
15 décembre 2015, par ideawuI have 2 files: fileSequence0.ts and fileSequence1.ts, I use ffmpeg to inspected the number of frames of each file, the result is:
- fileSequence0.ts, 29 frames
- fileSequence1.ts, 28 frames
Then I concat the 2 files into one:
ffmpeg -i 'concat:fileSequence0.ts|fileSequence1.ts' -codec copy merge.mp4
Now, merge.mp4 has 58 frames, not 57 = 29 + 28, what's that about, can any one point out what knowlege I am missing?
The files mentioned here can be download at: https://github.com/ideawu/missing-frame-between-ts
-
(ffmpeg) avcodec_find_encoder_by_name("libx264") fails
15 décembre 2015, par fandyushinavcodec_find_encoder_by_name("libx264")
returnNULL
.FFmpeg was configured with flags
--enable-gpl
and--enable-libx264
ffmpeg -codecs | grep 264
returnsDEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vda ) (encoders: libx264 libx264rgb )
I need to create
libx264
encoder,. Where is my fault? How to initAVCodec
withlibx264
codec.AVCodec *encoder = avcodec_find_encoder_by_name("libx264"); if (!encoder) { av_log(NULL, AV_LOG_FATAL, "Necessary encoder not found\n"); exit(EXIT_FAILURE); }
Thanks!
-
how to install ffmpeg for pycharm
15 décembre 2015, par D. AdamsI am trying to turn a set of images into a video and
ffmpeg
was recommended to me as a good way of doing this.
However I am having a lot of difficulties gettingffmpeg
to work. Specifically in pycharm.I have tried using the python version of
ffmpeg
from this website https://github.com/mhaller/pyffmpeg but I just cant seem to get it properly installed.
Can someone please outline a specific set of steps to getffmpeg
working in pycharm? -
FFmpeg Live Stream - Loop Video ?
15 décembre 2015, par Dread-EyeI am trying to stream a video loop to justin.tv using FFmpeg? I have managed to loop an image sequence and combine it with line in audio:
ffmpeg -loop 1 -i imageSequence%04d.jpg -f alsa -ac 2 -ar 22050 -ab 64k \ -i pulse -acodec adpcm_swf -r 10 -vcodec flv \ -f flv rtmp://live.justin.tv/app/
Is it possible to do this with a video file?