Questions tagged [transcode]

98 questions
24
votes
2 answers

FFMPEG 2 Videos transcoded and side by side in 1 frame?

I have 2 videos: HEADSHOT.MOV and SCREEN.MOV. They are both large files and I am looking to both shrink (size, bitrate, etc) and place these two side by side in the same, very wide, video frame. The end result would be that when you play the…
dcoffey3296
  • 2,004
  • 3
  • 20
  • 33
19
votes
11 answers

Programmatically convert a video to FLV

i am currently working on a web application that needs to accept video uploaded by users in any format (.avi, .mov, etc.) and convert them to flv for playing in a flash-based player. Since the site is OpenCms-based, the best solution would be a…
Raibaz
  • 7,529
  • 9
  • 39
  • 57
11
votes
5 answers

ffmpeg transcoding reset the start time of file

I use a segmenter to segment my MPEG 2 Ts file into a series of media segment for HTTP live streaming and each segment's start time following the previous one (ex:start time of segments: 00:00,00:10,00:20,00:30,...) (In Ubuntu) The Question…
diousk
  • 505
  • 1
  • 7
  • 11
6
votes
1 answer

Passing FileInputStream and FileOutputStream to ffmpeg to transcode(using JAVE-Java Audio Video Encoding)

I am trying to transcode a *.mov file into a *.mp4 file using JAVE, which calls ffmpeg. Both input file and output file are in InputStream and OutputStream forms. That means I need to pass InputStream and OutputStream as -i and -y parematers for…
Jagan S
  • 61
  • 1
  • 2
6
votes
1 answer

an error happened: spawn ENOENT, node.js & FFmpeg

I am having a nightmare of a time trying figure this out. I asked a question about this yesterday but only got so far, long story short, I cannot for the life of me figure this out. All i want to do, is transcode a .avi file to a .flv file using…
user2757842
  • 641
  • 1
  • 11
  • 23
5
votes
1 answer

Get empty image when transcoding SVG to PNG

I'm trying to generate an SVG image and then transcode it to PNG using Apache Batik. However, I end up with an empty image and I can't see why. I use the Document from SVGDomImplementation as the base for my transcoding (to avoid writing the SVG to…
fiskeben
  • 3,146
  • 3
  • 26
  • 32
3
votes
0 answers

FFMPEG: Transcode UHD H265 to SDR H264 without color loss

I'm testing FFMPEG on my server. I'm trying to transcode H265 10-bit to H264 8-bit to support playing the video on all major web browser. 1. This is the first command: ffmpeg -i 4K.ts -c:a aac -c:v h264 -crf 19 -preset ultrafast out.mp4 Result:…
3
votes
2 answers

iPhone slow motion video transcode

I'm developing upload video (taken from iPhone) to my server. However, I have no idea how to implement. Any source code objective-c or swift will be welcomed. I have 120fps or 240fps video (It's a slo-mo). When I playback these video on my iPhone6.…
coverboy
  • 51
  • 1
  • 10
3
votes
2 answers

How can I transcode a file with FFMPEG and stream the output file in the response of a Java servlet?

Basically, this is what I'm trying to do: 1. User passes a URL as a GET parameter to my servlet. 2. Servlet uses a ProcessBuilder to convert the media contained in that URL to a valid media format (ie: MP3). 3. The servlet streams the output file…
peetss
  • 91
  • 2
  • 5
3
votes
2 answers

Panning all audio channels center in ffmpeg?

I am using FFMPEG to transcode a large file to a smaller file. Usually the files will have 2 audio channels (though not always). I am trying to center all audio channels. I asked over at the ffmpeg-users for examples of how to do this:…
dcoffey3296
  • 2,004
  • 3
  • 20
  • 33
2
votes
0 answers

Best solution to transcode mp3s (lower bitrate) and stream on the fly

I have a large repo of mp3s on my LAMP server (I think it's a Debian VPS now) and currently I use a crude flash based mp3 player that "streams" the mp3s directly from my server. I am implementing an HTML5 player but I feel this is a similar to my…
electblake
  • 1,707
  • 16
  • 25
2
votes
0 answers

Precise method of segmenting & transcoding video+audio (via ffmpeg), into an on-demand HLS stream?

recently I've been messing around with FFMPEG and streams through Nodejs. My ultimate goal is to serve a transcoded video stream - from any input filetype - via HTTP, generated in real-time as it's needed in segments. I'm currently attempting to…
Felix
  • 73
  • 5
2
votes
0 answers

Glide v3 to V4: toBytes() and transcode

How can I convert this to Glide v4. Much of our previous code depends on this bytes, so we need to keep it backward compatible. artRequestBuilder = Glide.with(context) .load(url) .asBitmap().toBytes() …
Android Ninja
  • 391
  • 1
  • 2
  • 8
2
votes
1 answer

VLC command line - Transcode

I wanted to transcode a video with simple Windows Forms program. I'm creating process with arguments. My code: string vlc = @"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"; string dest=@"C:\Users\pc\Desktop\test.mp4"; …
Rafał Belski
  • 43
  • 1
  • 9
2
votes
1 answer

How to transcode a video using the MediaCodec api for Android 4.3+

I have been using FFmpeg to do video transcode, it works but its very slow. I have also tried the Intel Inde library but does not work on some Android phones I have tested. Therefore I want to make use of the MediaCodec Api to transcode video. I…
Kelly
  • 533
  • 1
  • 4
  • 20
1
2 3 4 5 6 7