mp4

How can I (or is it possible to) convert the AVC codec profile and level to the MIME codec definition?

喜你入骨 提交于 2021-02-08 07:23:35
问题 In my use-case I have to provide codec specification within the HTML5 video source 's MIME type. But even a type="video/mp4; codecs=avc1" is not detailed enough for Firefox. Firefox needs the extra detail of for example type="video/mp4; codecs=avc1.64001E" . My problem is that I don't know where to get this 64001E part from. The whole identification happens on server side. So far I was using ffprobe and that's perfectly supplies me JSON format output, like so: ffprobe -select_streams v:0 -v

nodejs ffmpeg play video at specific time and stream it to client

浪尽此生 提交于 2021-02-07 10:30:00
问题 I'm trying to make a basic online video editor with nodeJS and ffmpeg. To do this I need 2 steps: set the in-and-out times of the videos from the client, which requires the client to view the video at specific times, and switch the position of the video. Meaning, if a single video is used as an input, and split it into smaller parts, it needs to replay from the starting time of the next edited segment, if that makes sense. send the input-output data to nodejs and export it with ffmpeg as a

ffmpeg commands to concatenate different type and resolution videos into 1 video and can be played in android

£可爱£侵袭症+ 提交于 2021-02-06 15:52:09
问题 I want to concatinate 4 different videos of 4 different resolution and type into 1 video which can be played in android. I am using ffmpeg ported on android using https://github.com/guardianproject/android-ffmpeg So I have these 4 different types of videos 1) ./ffmpeg -i 1.mp4 Video: h264 (High), yuv420p, 1920x1080, 16959 kb/s, 29.85 fps, 90k tbr, 90k tbn, 180k tbc Audio: aac, 48000 Hz, stereo, s16, 106 kb/s 2) ffmpeg -i 2.mp4 Video: h264 (Constrained Baseline), yuv420p, 640x480, 3102 kb/s,

Python does not play mp4 and avi files

岁酱吖の 提交于 2021-02-05 11:22:15
问题 This program does not play videos but the sound is okey. I get an error about h264 or MJPG.When trying to play an .mp4 or .avi file I see the this messages. main decoder error: Codec `MJPG' (Motion JPEG Video) is not supported. main decoder error: Codec not supported main decoder error: VLC could not decode the format "MJPG" (Motion JPEG Video) or main decoder error:Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported. main decoder error: Codec not supported main decoder error: VLC

MP4 file not loading on React / Rails app

老子叫甜甜 提交于 2021-01-29 15:13:53
问题 I'm getting this error. From what I can google, it needs to configure the webpack file but in this rails app it's a webpacker.yml file. CRA looks like it works fine when using the usual tag. Any help would be appreciated. ./app/javascript/components/User/cover.mp4 1:0 Module parse failed: Unexpected character '' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code

ffmpeg - what is the default format for .m4a output?

自古美人都是妖i 提交于 2021-01-29 08:44:13
问题 I have two commands, one in which I specify the output format as -f mp4 : ffmpeg -i input.wav -ac 1 -c:a libfdk_aac -profile:a aac_he -vbr 2 -f mp4 test_export_1.m4a And one which lets ffmpeg guess based on the extension: ffmpeg -i input.wav -ac 1 -c:a libfdk_aac -profile:a aac_he -vbr 2 test_export_2.m4a This gives me two different results. The first one: $ffprobe test_export_1.m4a Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_export_1.m4a': Metadata: major_brand : isom minor_version : 512

Given a constant frame rate H.264 MP4, how to get PTS rounding method used during encoding using ffmpeg?

ぃ、小莉子 提交于 2021-01-29 07:39:13
问题 ffmpeg can convert the video to specified constant frame rate. It has round parameter to specify timestamp(PTS) rounding method. It could be zero , int , down , up and near . Given a constant frame rate H.264 mp4 video, how can we determine which PTS rounding method was used to encode this video? 来源: https://stackoverflow.com/questions/63956476/given-a-constant-frame-rate-h-264-mp4-how-to-get-pts-rounding-method-used-durin

Given a constant frame rate H.264 MP4, how to get PTS rounding method used during encoding using ffmpeg?

耗尽温柔 提交于 2021-01-29 07:35:37
问题 ffmpeg can convert the video to specified constant frame rate. It has round parameter to specify timestamp(PTS) rounding method. It could be zero , int , down , up and near . Given a constant frame rate H.264 mp4 video, how can we determine which PTS rounding method was used to encode this video? 来源: https://stackoverflow.com/questions/63956476/given-a-constant-frame-rate-h-264-mp4-how-to-get-pts-rounding-method-used-durin

mp4 video not playing on iphone

六眼飞鱼酱① 提交于 2021-01-28 12:31:13
问题 I have a mp4 video to automatically play on website, but it doesn't play on iphone. Referring to other Q & A about the same issue, I added "playsinline" to the video tag. However it doesn't seem to work and nothing is displayed on the screen of my iphone. Could anyone help me find out what is wrong with my code? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie