Questions tagged [muxer]

Generic tag about the process of programmatic laying out multiple media streams in a single file or octet stream, so that they can be played in sync.

70 questions
18
votes
3 answers

MediaMuxer error "Failed to stop the muxer"

I'm encoding Camera preview data using MediaCodec with mime-type "video/avc" and passing the encoded data (video-only, no audio) to MediaMuxer. The muxer seems to run fine and creates a reasonably sized output file (i.e., gets larger the longer I…
Andrew Cottrell
  • 3,312
  • 3
  • 26
  • 41
12
votes
3 answers

What is weblogic.socket.Muxer?

Does any of you understand what weblogic.socket.Muxer is used for in WebLogic 8.1? Often in thread dumps I see stack traces similar to this: "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=20 idx=0x68 tid=26709 prio=5 alive, in native,…
Andrey Adamovich
  • 20,285
  • 14
  • 94
  • 132
7
votes
2 answers

Create mp4 files on Android using Jcodec

i have some troubles with writing mp4 files on Android using MediaRecorder and Jcodec, here is my code public class SequenceEncoder { private final static String CLASSTAG = SequenceEncoder.class.getSimpleName(); private SeekableByteChannel…
user2427841
  • 71
  • 1
  • 2
6
votes
1 answer

Android encoder muxer: raw h264 to mp4 container

I created a h264 raw video file, and I was able to mux it with Android MediaMuxer on Android 4.3 and up. Now I need to support Android versions 4.1 and 4.2. I found Jcodec. And there is an example for doing…
X.Y.
  • 13,726
  • 10
  • 50
  • 63
6
votes
3 answers

How to use libavformat to concat 2 video files with same codec (re-muxing)?

I have downloaded videos from CDN in flv format (video H264 and audio AAC) and remux to them to MP4 format. But videos are limited by length. So i've downloaded each video in several parts: started at start point, at point 1, at point 2 (by using…
Tarhan
  • 536
  • 1
  • 7
  • 15
5
votes
0 answers

Android MediaMuxer java.lang.IllegalStateException: Failed to stop the muxer

I am using this library for recording video from a USB camera. The code I used is as follows: try { private MediaMuxerWrapper mMuxer; mMuxer = new MediaMuxerWrapper("FolderName", ".mp4"); new MediaVideoEncoder(mMuxer,…
chengsam
  • 7,315
  • 6
  • 30
  • 38
4
votes
1 answer

Muxing compressed frames from VTCompressionSession with audio data into an MPEG2-TS container for network streaming

I'm working on a project that involves grabbing H.264 encoded frames from VTCompressionSession in iOS8, muxing them with live AAC or PCM audio from the microphone into a playable MPEG2-TS and streaming that over a socket in real time with minimum…
Mike
  • 71
  • 8
4
votes
1 answer

How to demux audio and video from rtspsrc and then save to file using matroska mux?

I have been working on an application where I use rtspsrc to gather audio and video from one network camera to another. However I can not watch the stream from the camera and thereby cant verify that the stream works as intended. To verify that the…
GurgL
  • 103
  • 1
  • 7
4
votes
1 answer

Android MediaMuxer Attaching Surface to Codec input

Okay I've reviewed Fadden's example of implementing Android MediaMux. I am not sure how to get my scene into the surface input for a MP4 muxed codec. I am working on a audio processor which eats up the audio and video I/O so MediaRecord fails, but…
HPP
  • 1,074
  • 1
  • 13
  • 28
4
votes
1 answer

How can libavformat be used without using other libav libraries?

I would like a simple working example of using just libavformat to mux video. There are nice examples (doc/examples/muxing.c) that show encoding with libavcodec, muxing with libavformat and saving the data with libavio. However, there is no…
Alex I
  • 19,689
  • 9
  • 86
  • 158
3
votes
0 answers

FFMpeg muxing h264 to mp4 resultant file is not running

I am writing code to mux h264 file into mp4 by using latest FFMPEG 3.0. Muxing is working but the resultant mp4 file is not showing vedio, only the time is running when i play the resultant mp4 file. Kindly try to help to solve this. Please tell me…
M.Taha
  • 31
  • 4
3
votes
2 answers

open source mp4 muxer in java

Is there any Open Source MP4 muxer/writer java project(source written in java, no native code) available? I have H.264 & AAC raw/elementary streams stored seperate files. I want to mux them and get the .mp4 video file containing both Audio &…
mrsatish
  • 429
  • 2
  • 7
  • 15
2
votes
1 answer

How to Manually Process Muxing h264 to mp4?

The project I'm currently working on involves capturing screen frames on Windows via the Desktop Duplication API as raw BGRA format pixel data, and then encoding these frames into h264 format. At this point, I have successfully created a video in…
Kai
  • 89
  • 1
  • 6
2
votes
0 answers

Is there a DirectShow TS muxer

Does anybody know, is there any Direct Show based MPEG transport stream muxer available? All I can find is a command line utility tsMuxeR.
SRKI
  • 21
  • 2
2
votes
1 answer

FFmpeg need help forming a tee muxer to send in 2 social network simultaneously

I want to stream to youtube and twitter in 1 ffmpeg process i red this https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs I do this command /usr/bin/ffmpeg -re -i input.mp4 -deinterlace -c:v libx264 -pix_fmt yuv420p -preset veryfast -tune…
Jintor
  • 607
  • 8
  • 32
1
2 3 4 5