mp4

Why not all mp4 videos played on Android device?

◇◆丶佛笑我妖孽 提交于 2019-12-13 03:25:40
问题 I tried to play the following two urls by video view on Android device, the first one has worked fine but the second one is not working. the second one may needs ssl certificate but i don't know how to play it the error code appears when I am trying to play it is : E/MediaPlayer error (1, -4) I checked a link that mentioned list of error codes and it said that error(1,-4) means NotSupportedFormat. So why this error doesn't appear in the first link although both videos links are .mp4 The first

With ffmpeg, trying to change a container from Mpeg TS to MP4, fps became twice of Mpeg TS

无人久伴 提交于 2019-12-13 02:46:22
问题 I got a Mpeg TS file from a capture board to make a DEMO video clip. Here is information of the file from ffmpeg; Stream #0:0[0x51]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x61]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s However, I cannot edit it in FCP X, so I tried to change just its container TS to MP4 with ffmpeg using the below command. ffmpeg -i input.ts -vcodec

Force browser to update cached HTML5 video object

一世执手 提交于 2019-12-13 02:34:00
问题 Is there a way to force a web browser, i.e. Firefox or Firefox Mobile (latest versions) to update a HTML5 video object when the page reloads? I am using CTRL+R, reload button, and a HTTP refresh of 2 minutes, but none of these options "update" the video file unless restart the browser or clear cache. Additionally, Firebug does not even show the MP4 file being loaded in. Side note: The MP4 file is generated by a shell script every 2 minutes. I have verified that the video is updating by

MP4Parser Can we have Android MediaPlayer directly act as a sink?

爱⌒轻易说出口 提交于 2019-12-13 01:06:32
问题 Lets say my I have my Mp4Parser Container java object and then instead of writing to a file and then supplying the URL of this file to the Android Media Player to play this video. Container outMux = new DefaultMp4Builder().build(countVideo); FileOutputStream fos = new FileOutputStream( new File("outputFinalVideo.mp4")); outMux.writeContainer(fos.getChannel()); fos.close(); In the above I am concatenating multiple videos and then Muxing with Audio and then I want this to be in memory and play

How i can upload more than 50MB mp4 videos in codeigniter?

做~自己de王妃 提交于 2019-12-12 23:08:25
问题 Am using below code, I have added a maximum size, but it uploads only 1 or 2 mb videos, if i upload a 55 MB video, it takes long to process but shows a result as blank page: if (isset($_FILES['video']['name']) && $_FILES['video']['name'] != '') { unset($config); $date = date("ymd"); $configVideo['upload_path'] = './videos'; $configVideo['max_size'] = '602400000'; $configVideo['allowed_types'] = 'mp4|avi|flv|wmv|'; $configVideo['overwrite'] = FALSE; $configVideo['remove_spaces'] = TRUE; $video

Change rotation in MediaFormat

一个人想着一个人 提交于 2019-12-12 17:25:02
问题 In Android API 23 MediaFormat.KEY_ROTATION field was introduced. Is there any way to change rotation in MediaFormat on earlier Android versions? 回答1: I found the working solution: MediaFormat mediaformat; // ... mediaformat.setInteger("rotation-degrees", 0) 来源: https://stackoverflow.com/questions/33242851/change-rotation-in-mediaformat

read / write mp4 id3 tags with PHP

筅森魡賤 提交于 2019-12-12 16:57:48
问题 I need to be able to at very least read and preferably write id3 tags connected to an mp4 video file. I've looked into using getId3() but it's got so many functions that finding those applicable to mp4 video files is difficult and the write demo files don't work on mp4 files 回答1: ID3 tags, as such, are only generally used on MP3 streams. I believe that MPEG 4 uses its own metadata format (within the meta atom). For details, see http://atomicparsley.sourceforge.net/mpeg-4files.html. 来源: https:

How To Play MP4 Video In Java Swing App

孤街浪徒 提交于 2019-12-12 12:09:00
问题 Does anyone know any way I can play an .mp4 video file in a JPanel? I have tried JMF with .avi file but found no success and now I'm baffled and frustrated at how such a simple task of playing a video file is becoming so tedious. Anyone out there please shed some light on what path I could take and I would greatly appreciate it. I've heard of VLCJ but the issue is I can't guarantee that every machine running this app will have VLC player installed. Is there a way I can bundle VLC player in

Embed RTSP Stream into Browser

若如初见. 提交于 2019-12-12 12:08:43
问题 I have an IP Camera that only has an address locally: XXX.XXX.X.XX. This camera has an rtsp stream and I want to integrate that stream into HTML5's video tag. Unfortunately, it only accepts mp4, ogg and web. What should I do now? Note that I do not want to use a plugin! 来源: https://stackoverflow.com/questions/32330725/embed-rtsp-stream-into-browser

Play a video using gtk+

孤人 提交于 2019-12-12 11:31:48
问题 Any suggestion regarding how to play videos using GTK+? Regards, Lancy Norbert Fernandes 回答1: For Playing Videos on GTK+ and other GTK Bindings you have a lot of options. Option: Use A Third-Party Library 1- Try using ogmrip-gtk , A set of Gtk Interface, which allows you to use the open-source OGMRip library as a Gtk-Widget. 2- You may use another library, gstreamer. Also can be used easily with Gtk. 3- You may use LibVLC - gtk. A GTK wrapper for LibVLC (ever used the VLC Media Player?).