Questions tagged [transcode]

105 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,504
  • 3
  • 24
  • 34
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
  • 9,280
  • 10
  • 44
  • 65
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
  • 634
  • 1
  • 8
  • 13
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
  • 651
  • 1
  • 11
  • 24
5
votes
1 answer

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:…
5
votes
1 answer

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
  • 113
  • 1
  • 6
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,395
  • 4
  • 31
  • 35
4
votes
1 answer

ffmpeg gives an error Option movflags not found

In Ubuntu 12.04 LTS I have used -movflags frag_keyframe+empty_moov in my ffmpeg command: ffmpeg -i http://filesbe.vocativ.internal.net/03/44/SN/q1/xg/xl/0344SNq1xgxl.flv \ -crf 32.0 -g 250 -keyint_min 25 -aspect 4:3 -movflags frag_keyframe -vcodec…
Hemant
  • 181
  • 3
  • 14
4
votes
2 answers

VLC recording rtsp stream

I have a problem with recording rtsp stream with VLC player. Actually my method works in MacOS X, but doesn't in Windows. Command line: vlc -vvv rtsp://admin:admin@192.168.0.151/live/h264/…
user355167
3
votes
0 answers

FFmpeg raw h.264 set pts value

I am currently using ffmpeg to convert a custom container media format to mp4. It is straightforward to dump all the h.264 frames to one file and the aac audio to another. Then I can combine the two and create an mp4 file with ffmpeg. The problem…
thecaptain0220
  • 2,098
  • 5
  • 30
  • 51
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
0 answers

vlc h264 http-stream to ogg raspivid

I'm trying to take a video with a camera module on the raspberry pi and stream it over http in ogg format. The standard of raspivid is h264. What's working is to stream it in h264, but most browser with HTML5 do not support this. raspivid -o - -t…
Timo
  • 313
  • 1
  • 3
  • 13
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,504
  • 3
  • 24
  • 34
1
2 3 4 5 6 7