Questions tagged [transcode]

105 questions
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
  • 2,027
  • 18
  • 25
2
votes
1 answer

ffmpeg vaapi - scale a video keeping the aspect ratio and padding with black lines

I'm trying to use my Vega 11 GPU to perform hardware accelerated transcoding of some video files to a resolution of 1280x720. I would like to keep the original aspect ratio and add black bars to the borders as necessary. I can get the scaling to…
Rusty Lemur
  • 1,697
  • 1
  • 21
  • 54
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
  • 811
  • 1
  • 6
  • 9
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…
Wesley
  • 563
  • 1
  • 5
  • 22
2
votes
0 answers

C# Media Transcoder PrepareMediaStreamSourceTranscodeAsync issue

I want to perform media transcoding operation in-memory using Media Foundation from a MP3 format to a WAV (PCM) format. I tried the code as mentioned below: //Initialize MediaStreamSource with location of MP3 file var mediaStream = new…
user3261909
  • 145
  • 1
  • 2
  • 11
2
votes
1 answer

Xerces XMLString::transcode null/empty reply

Xerces transcode is returning an empty string. I think it is related to locale issues, but i'm stuck. I have this simple program: #include #include #include #include…
2
votes
1 answer

Apache/PHP5 popen/fread ties up Apache

I'm trying to develop an online management system for a very large FLAC music library for a radio station. It's got a beefy server and not many users, so I want to be able to offer a file download service where PHP transcodes the FLAC files into…
jonty-comp
  • 25
  • 4
2
votes
1 answer

transcode segment files without stutter for http live streaming

I segmented a multicast video stream into small ts files for my HTTP live streaming service and it worked quite well. Then I found the bitrate of the source was too high (1.5mbps) so I set up a background job to transcode the ts files to a smaller…
zerocap
  • 93
  • 3
1
vote
1 answer

Transcoding from H264 to H264 after upload to an online service results in audio/video sync issues

Our application generates a MOV file which contains a series of static images, each of which has a duration in the video of around half a second. The video has a frame rate of 10fps and is encoded using the avc1 (H264) codec. The audio always starts…
Andrew
  • 251
  • 1
  • 8
1
vote
3 answers

Can a lexer/parser be used as a transcoder?

I am looking at converting plsql procedures / packages to java classes. I just came across the "ANTLR PL/SQL 11g parser" (link). Still trying to understand what it does and how to use it. Assuming that I have mapping between plsql constructs and…
Abhay Chaware
  • 333
  • 4
  • 14
1
vote
0 answers

How To Transcode and Re-size A Video Without Compressing It In fluent-ffmpeg

Simple question, how can I transcode and resize a video in fluent-ffmpeg, without compressing it? I understand that some transcoding processes may naturally affect file size, but is there a way to reduce or increase the compression ratio in…
twominds
  • 1,084
  • 5
  • 20
1
vote
1 answer

How To Asynchronously Check Video File size During Transcoding Process In fluent-ffmpeg

Is there a way during the ffmpeg compression process to determine over various intervals the exact filesize that a video is at? Such as a method to get current filesize during the process to use when comparing against the videos original…
twominds
  • 1,084
  • 5
  • 20
1
vote
1 answer

VLC, vlcj, RTSP, and sout

I am trying to transcode a RTSP stream into an mpeg4 stream over http for use on a webpage in a video tag. I am using vlcj and a 32-bit version of VLC installed locally. I thought I had the right sout settings, but I am getting the following error…
Joe McCay
  • 41
  • 8
1
vote
1 answer

ffmpeg - transcoding.c - why the last packet is discard

Using ffmpeg examples transcoding.c. (https://github.com/FFmpeg/FFmpeg/blob/release/4.1/doc/examples/transcoding.c) This is read by ffprobe.exe (ffprobe.exe -i test.mp4…
itisyang
  • 11
  • 1