mpeg-4

openCV VideoCapture doesn't work with gstreamer x264

…衆ロ難τιáo~ 提交于 2019-12-23 18:08:49
问题 I'd like to display a rtp / vp8 video stream that comes from gstreamer, in openCV. I have already a working solution which is implemented like this : gst-launch-0.10 udpsrc port=6666 ! "application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)VP8-DRAFT-IETF-01,payload=(int)120" ! rtpvp8depay ! vp8dec ! ffmpegcolorspace ! ffenc_mpeg4 ! filesink location=videoStream Basically it grabs incoming data from a UDP socket, depacketize rtp, decode vp8, pass to ffmpegcolorspace

Install mpeg4ip using apt on Ubuntu 14.04TLS

纵然是瞬间 提交于 2019-12-23 05:29:29
问题 I want to install mpeg4ip tool on ubuntu14.04TLS. I have searched and found below answer: sudo apt-get install mpeg4ip-server But it seems doesn't work. Then I found mpeg4ip 1:1.6dfsg-0.2ubuntu8 source package in Ubuntu but I don't know how to use it as upstream. I can see the tar package but I don't think I have to build it myself. I guess many dependency so it's better to install binary. 回答1: Just got below solution: First,Add source of lucid. sudo vim /etc/apt/sources.list add below lines

convert avi to 3gp using ffmpeg

◇◆丶佛笑我妖孽 提交于 2019-12-23 03:42:13
问题 I want to convert an avi file to 3gp with codec as mpeg4 simple profile level 0.But i am not able to do it with ffmpeg,it gives this error-Requested output format ‘-vcodec’ is not a suitable output format.how to fix this help!thanks in advance note - the input avi is 720x480 generated from bmp images using ffmpeg with codec ffv1.the output 3gp should be of mpeg4 simple profile level 0 回答1: Original from: http://forum.videohelp.com/threads/322328-libfaac-encoding-with-ffmpeg This worked for me

stream live video from IP Cams in iPhone SDK?

荒凉一梦 提交于 2019-12-23 02:51:03
问题 I have to develop plug-in module which will allow us to stream live video from IP Cams if the IP of the cameras are available. The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. I have search in many site, unable to find any thing related. while browsing the Apples doc's, I found AVFoundation is used to stream live video from IP Cam's. UPDATE I found this from GITHUB but dont know How to implement it in my App. Please help me by sample code or related

Android MediaCodec: encoding falis because no sync frames for video track

我是研究僧i 提交于 2019-12-22 09:47:59
问题 I am planning to convert a video file to another video file with different bitrate, fps, etc. Bascially I follow the examples in http://bigflake.com/mediacodec However, Log shows error of no sync frames for video track: submitted frame 5 to dec, size=47398 no output from encoder available decoder output format changed: {height=1080, what=1869968451, color-format=2141391875, slice-height=1088, crop-left=0, width=1920, crop-bottom=1079, crop-top=0, mime=video/raw, stride=1920, crop-right=1919}

Streaming Video (or Progressive Download) to the Droid Browser

送分小仙女□ 提交于 2019-12-18 13:22:15
问题 I am trying to stream video (or use progressive download) to a Motorola Droid Browser and am not having a lot of luck. With my iPhone, I can direct Safari to http://xxx.xxx.xxx/FileName.mp4 (which is an MPEG-4 video file), and Safari opens quicktime, and the video plays. However, with the Droid, I go to the same web address and am faced with a error stating "Cannot play video.... Sorry, this video is not valid for streaming to this device". When I direct the Droid's browser to a WMV file, it

HTML 5 Video Problem

依然范特西╮ 提交于 2019-12-12 16:07:47
问题 I'm trying to set up my site to use HTML 5 videos. The mp4 files are served from S3. I've got the MIME type right, and the URL is right. It's not working though. The only thing I can think of is the codec being wrong. Here is my code: <video width="320" height="240" controls> <source src="{url}" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> </video> Now as I understand it, the audio codec is always the same. mp4a.40.2. The video is encoded as baseline, but according to http://wiki.whatwg

java.io.IOException: setDataSource failed when play recorded mp4

点点圈 提交于 2019-12-12 10:55:40
问题 I want to play recorded mp4 data using Android Media Player,but when try to play this error showed : java.io.IOException: setDataSource failed. at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1086) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1032) This is my code : final ImageView play = (ImageView) root.findViewById(R.id.voice_play); play.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { try { player = new MediaPlayer(); if (player

gdcl multiplexer create file with raw video not h264

最后都变了- 提交于 2019-12-12 04:14:08
问题 i have created one graph as per below (i am using osprey card for input live stream) (graphedit tool) Osprey analog video in ----> GDCL MPEG-4 mulitplexer ----> File Writer (.mp4 file) filesize is very big; even 5 seconds file have 80 mb size. file doesn't get played. when i see file detail in ffmpeg with ffmpeg -i, it will give error like stream 0, missing mandatory atoms, broken header below is ffmpeg response. ffmpeg.exe -i "C:\Documents and Setti ngs\Administrator\Desktop\mp4file\mp4file

AVAudioRecorder Losing Last Seconds

混江龙づ霸主 提交于 2019-12-11 23:35:40
问题 I'm using AVAudioRecorder to record an audio file of varying length with the following configuration: - (AVAudioRecorder*)recorder { if(!_recorder) { // Set the audio file NSArray *pathComponents = [NSArray arrayWithObjects:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject], @"ExamTranscript.m4a", nil]; self.soundFileURL = [NSURL fileURLWithPathComponents:pathComponents]; // Define the recorder setting NSMutableDictionary *recordSetting = [