transcoding

PHP + FFMPEG + S3. Transcode video directly between S3 buckets

眉间皱痕 提交于 2021-01-29 08:20:39
问题 I have: S3 INPUT bucket S3 OUTPUT bucket PHP ffmpeg Is it possible to read file directly from INPUT bucket → Transcode to another format → Save into OUTPUT bucket. Please let me know manuals, libraries, frameworks, any stuff that helps to understand how to do it. At least python realisations also welcome. At least at least some different language also OK. Input file size may be more than 10Gb so writing whole file in RAM is undesirable. Some chunk-based way is preferable. Output format is

Can HTML5 Play a .mpd Manifest File Through Its Video Tag?

自古美人都是妖i 提交于 2020-12-29 05:57:46
问题 I have a Movie_Manifest.mpd file that is made up of 5 .webm video streams (consisting of different sizes and bps) and 1 audio file. The question I'm asking is: can it be played through a "simple" HTML5 video tag? I've tried this and it doesn't work: <video controls> <source src = "Movie_Manifest.mpd"/> </video> Well it works, but it chooses the lowest quality video stream and the output is laggy. I would like it to have adaptive bit streaming. You might think, "Do you think your bandwidth is

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

大城市里の小女人 提交于 2020-12-02 05:56:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

喜你入骨 提交于 2020-12-02 05:56:39
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

人盡茶涼 提交于 2020-12-02 05:55:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

Expand (extend) a video to an specific duration [closed]

旧街凉风 提交于 2020-03-16 06:02:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Do VLC or FFmpeg (or AVconv) have any feature to force the duration of a video to a certain number of seconds? Let's say I have a... 5 minutes .mp4 video (without audio). Is there a way to have any of the aforementioned tools "expanding" the video to a longer duration? The video comes from a Power Point

Video transcoding problem in IONIC with iOS 13.0

依然范特西╮ 提交于 2020-01-24 09:34:25
问题 We have an existing IONIC App and since iOS 13.0 has been released we ran into a problem with transcoding videos. When file path is read from camera.getPicture (with sourceType=PHOTOLIBRARY), and passed to videoEditor.transcodeVideo(), it indefinitely keeps calling the progress callback with value 0. It won’t throw any error and it won’t call the Completed callback. videoEditor.transcodeVideo() does not work on several real iPhone devices with iOS 13.0 +. I tried the same code on a simulator

spymemcached get and incr methods give wholly different results

。_饼干妹妹 提交于 2020-01-17 04:55:15
问题 I use spymemcached 2.6rc1 in my Java project where I want to use the Long class as a storable object. Unfortunately, when I store e.g. new Long(0) object, the get(...) and incr(...) give the wholly different results - get gives Long object that contains 48 value and incr gives 1. Please note that 48 represents the ASCII "0" symbol. When I try to get the value for the same key directly from memcached (e.g. by using telnet) I get the correct result - 0. Strange, the Long is good serialized

How to use AVAssetReader and AVAssetWriter for multiple tracks (audio and video) simultaneously?

二次信任 提交于 2020-01-11 17:22:25
问题 I know how to use AVAssetReader and AVAssetWriter, and have successfully used them to grab a video track from one movie and transcode it into another. However, I'd like to do this with audio as well. Do I have to create and AVAssetExportSession after I've done with the initial transcode, or is there some way to switch between tracks while in the midst of a writing session? I'd hate to have to deal with the overhead of an AVAssetExportSession. I ask because, using the pull style method -

Re-sampling H264 video to reduce frame rate while maintaining high image quality

情到浓时终转凉″ 提交于 2019-12-31 08:28:21
问题 Here's the mplayer output for a video of interest: br@carina:/tmp$ mplayer foo.mov mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing foo.mov. libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid