video-conversion

How to convert I420 frames to BGRA format with gst-launch-1.0?

随声附和 提交于 2019-12-12 03:33:20
问题 I had a raw video file named video.i420 based on I420 format. And I tried to convert it into BGRA format using gst-launch-1.0: gst-launch-1.0 filesrc location=video.i420 ! videoparse width=1920 height=816 format=2 framerate=24/1 ! videoconvert ! videoparse format=12 ! filesink location=video.bgra But the output file video.bgra sized only 48 bytes larger than the source file. Then I played the video.bgra with the followed command: gst-launch-1.0 filesrc location=video.bgra ! videoparse width

Convert swf to mp4

烈酒焚心 提交于 2019-12-12 03:15:14
问题 This answer had not helped: Convert compressed swf to mp4, trying to convert swf file. ffmpeg output: $ ffmpeg -i GTDS_demo_new.swf GTDS_demo_new.mp4 ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311 configuration: --prefix=/usr --extra-version=1ubuntu2 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable

ffmpeg - operation not permitted error while conversion

醉酒当歌 提交于 2019-12-11 16:36:21
问题 I am developing an android app. My requirement is that to implement an rtsp streaming server on android. It has to live stream video and audio captured using MediaRecorder . Another requirement is that I have to use live555 as the streaming server. What I get from MediaRecorder is in MP4 or 3GP format. live555 cannot able to stream both. But it can stream audio if I recorded it only in 'RAW_AMR' format. Since live555 support 'mpg' format for streaming, I decided to put someone in middle who

Post processing in ffmpeg to move 'moov atom' in MP4 files (qt-faststart)

两盒软妹~` 提交于 2019-12-10 16:15:01
问题 Is it possible to run ffmpeg from the command line which will either place the 'moov atom' metadata in the beginning of the MP4 file or run the qt-faststart as a post processing operation in ffmpeg so the generated file is stream-able through the internet? I can of course run it as a separate command, but would prefer it to be something as an option within ffmpeg, or as part of a post conversion, command line option when converting the video files via ffmpeg Edit 1 http://ffmpeg.org/ffmpeg

Nreco video converter make video from image sequence

落爺英雄遲暮 提交于 2019-12-09 06:50:27
I'm trying to make a video from a sequence of .jpg files using Nreco.videoconverter ffmpeg wrapper. I search for answer on this forum and topic that almost help me is http://stackoverflow.com/questions/15280199/how-to-make-a-video-file-from-images If you already have image files the best way is using special "image2" format (FFMpeg demuxer) and FFMPeg will read files directly for producing video Video can be produced in real-time with live stream conversion supported by VideoConverter. In this case "rawvideo" should be specified as input format and C# application should pass RAW bitmap bytes

Converting Real Media with ffmpeg

核能气质少年 提交于 2019-12-06 10:48:52
I have a number of old crusty Real Media files I need to convert and was hoping to write a script to batch process them. I'm able to do a Real Media -> AVI conversion with FFMpegX, but when I try to replicate the conversion with ffmpeg, it always errors out with something like: [avi @ 0x10084fa00] Too large number of skipped frames 117425 > 60000 It may have something to do with the funky format of these Real Media files: Duration: 01:28:23.42, start: 0.000000, bitrate: 448 kb/s Stream #0:0: Data: none, 32 kb/s Stream #0:1: Data: none, 192 kb/s Stream #0:2: Audio: sipr (sipr / 0x72706973),

How to extract elementary video from mp4 using ffmpeg programmatically?

被刻印的时光 ゝ 提交于 2019-12-05 03:33:02
问题 I have started learning ffmpeg few weaks ago. At the moment I am able to transcode any video to mp4 using h264/AVC codec. The main scheme is something like that: -open input -demux -decode -encode -mux The actual code is below: #include <iostream> #include <math.h> extern "C" { # ifndef __STDC_CONSTANT_MACROS# undef main /* Prevents SDL from overriding main() */ # define __STDC_CONSTANT_MACROS# endif # pragma comment(lib, "avcodec.lib")# pragma comment(lib, "avformat.lib")# pragma comment(lib

How to extract elementary video from mp4 using ffmpeg programmatically?

梦想与她 提交于 2019-12-03 20:50:54
I have started learning ffmpeg few weaks ago. At the moment I am able to transcode any video to mp4 using h264/AVC codec. The main scheme is something like that: -open input -demux -decode -encode -mux The actual code is below: #include <iostream> #include <math.h> extern "C" { # ifndef __STDC_CONSTANT_MACROS# undef main /* Prevents SDL from overriding main() */ # define __STDC_CONSTANT_MACROS# endif # pragma comment(lib, "avcodec.lib")# pragma comment(lib, "avformat.lib")# pragma comment(lib, "swscale.lib")# pragma comment(lib, "avutil.lib") #include <libavcodec\avcodec.h> #include

Generate a 2-fps mp4 from images using FFMPEG

倖福魔咒の 提交于 2019-12-02 20:46:01
问题 Need to create a video from a series of images. The video needs to have a low frame rate. This is the command I use to create the video. ffmpeg.exe -r 2 -i images/%3d.jpg -vcodec libx264 -pix_fmt yuvj420p output.mp4 The problem is that, while the video works just fine when played through a HTML5 video, it doesn't really work when the file is downloaded locally and played through either the Windows 10 default video player or even VLC (weirdly, the default video player works better). Can anyone

Generate a 2-fps mp4 from images using FFMPEG

社会主义新天地 提交于 2019-12-02 12:48:07
Need to create a video from a series of images. The video needs to have a low frame rate. This is the command I use to create the video. ffmpeg.exe -r 2 -i images/%3d.jpg -vcodec libx264 -pix_fmt yuvj420p output.mp4 The problem is that, while the video works just fine when played through a HTML5 video, it doesn't really work when the file is downloaded locally and played through either the Windows 10 default video player or even VLC (weirdly, the default video player works better). Can anyone explain why this is happening and possibly how to fix the issue? Some players, like VLC, don't like