Video and Audio Playback/Conversion - Samsung Galaxy S7 Guides, News, & Discussion

There are alot of guides around for converting movie files so they can be played back on S7/Gear VR some of them might actualy work but ive noticed that alot of the guides forgets to mention the audio output when they convert they only tell you about the video so to remedy this ill write down my experience..
1. Most guides tell you correcly about the video formats
2. Most guides don´t tell you that AC-3 won´t work. Only AAC and MP3 works.
3. First i thought avidemux would be perfect but apparently it cant read the complete audiostream on the files iv´e tested with no matter what audio settings i used in avidemux the output file ended up without speech.
4. So. Download ffmpeg
5. Put your video file in the ffmpeg\bin folder or add a path to the environment variable.
6. Open a cmd in your ffmpeg\bin folder and paste this line
ffmpeg -i YOURFILENAME.mkv -c:v copy -c:a aac OUTPUTFILENAME.ACC.mkv
7. After the conversion is done the output file should play correctly on your S7/Gear VR
8. Last note i have only tested this with movies that have an AC3 stream but it should work for other audio streams.

A liitle followup..
I thought it was a hazzle to install Emby or any other dnla client and milkvrlauncher just to watch local media in milkvr(And im not even supposed to have access to milkvr for that matter..) so i went the easy way and simply installed Abyss webserver added the mkv file extension and added my media files to the htdoc folder and now i simply open the local web adress in the samsung internet browser and it lists all the files and folders i have in the htdoc folder and i can can watch what ever file i put in the htdoc folder.

Related

how to edit the video files produced by XDA2?

I got a few video files recorded on the XDA2 but how to edit them using software like Adobe Premier? Can't seem to open them on the PC?
get a IMSA MP4 compliant filter for Premiere...
or, open it in Apple Quicktime and export to other video formats, like AVI.
and edit from there.

MPEG-4 video file conversion

I ahve taken some video clips on my XDaII. When transferred to my PC the file has copied and converted to PC format. However my PC doesn't recognise the file extention "MPEG-4 file" I have tried some searches on the net but I keep being refused access to the windows recommended file extention server.
If you can advise in very plain language how I can resolve this so that I can play these clips back on my PC it'd be great
Thanks
:x
Just found 3gptoavi2
http://www.mitsoftware.com/akiles/
You have to put the exe in a path with no spaces, and make sure the source and dest files have spaceless paths too, but it works fine for me.
It outputs a completely uncompressed avi (bmp + pcm), so it'll be huge (1MB/s) and you'll want to compress it afterwards.
Or you could install Quicktime on your PC. This will play the mpegs from your XDA II. (http://www.quicktime.com)
Cheerio
Howard
Wonderful. You create a video using a MS OS and to play it on another MS OS, you'll have to use the Apple player. :lol:
quicktime plays both 3gp and mp4
andyclap said:
Just found 3gptoavi2
http://www.mitsoftware.com/akiles/
You have to put the exe in a path with no spaces, and make sure the source and dest files have spaceless paths too, but it works fine for me.
It outputs a completely uncompressed avi (bmp + pcm), so it'll be huge (1MB/s) and you'll want to compress it afterwards.
Click to expand...
Click to collapse
i tried this software but it did not work (taken care of the spaces too). Any other software to convert mp4 files to mpeg1,2,3,avi?
http://www.mpegable.com/show/products.html
maybe this ?
otherwise google is a nice chap
http://www.google.dk/search?q=mp4+converter&hl=da&lr=&ie=UTF-8&start=10&sa=N
or u can dload this codec from
www.3ivx.com
then ur WM cna play the video..
I have installed the codex but keep getting the following error.
Error Downloading codex
I can see 3ivx in my programs menu so I am sure I have installed it.
Regards
G :roll:
if you are using media player to view them in try another player
like irfanview or winamp
they dont autodownload codecs like mediaplayer maybe mediaplayer dont like the mp4 codec or something

convert videos?

hi,
how do i convert videos taken with the blackstone?
i setup mpeg4 but neither windows movie thing editor nor virtualdub can handle the file.
but i can play it with mpc without any problems.
linux...at least i see the video
i like to convert it to some moviemaker compatible format so i can quick edit some files to one video with effects in between.
thx!
Blackstone videos are already highly compressed as it is, so recoding them only to be able to use them in movie maker would give you awful videos. your best bet is avisynth - a frameserving application which basically feeds uncompressed stream from original video to the editing application. The idea is this, you create a text file which contains a link to the input file, save it with an .avs extension and then open that with an editing application. The avs file could be as simple as this:
DirectShowSource("c:\VIDEO0001.mp4")
I tried it now, and it works. You need to download avisynth and install it. Unforunately, i don't remember which apps open .avs files.
sorry i don't get it...
it's not about compression in detail.
i mean i do not want to compress or decompress the files.
i can not use it with moviemaker cause i just hear the sound and the picture is black.
so i thought i convert it to a format moviemaker can handle as it seems htc is saving it in some format that can not be used.
which i think is strange but...what do i know...
i which i could do all that with my jaunty
Well, here's the deal - every time you edit a video and save it, you are recompressing it, meaning you're getting a degraded picture quality. If you are only cutting out portions of video, then you can save it without recompression, meaning you get the same quality as the original file. The moment you add effects to the video (transitions, resizing, etc...), you have to reencode video - and get lower quality. Now, that may not be a big deal when your input files are high resolution videos, but when the input file is a heavily compressed ile, such as those made with Blackstone, it will definitely show.
Movie maker can't open mp4 files. The way i see it, if you really want to edit the files, your best bet is to download Super, a freware app which uses AviSynth as a part of it's encoding process, then output the files from blackstone as avi files in HuffYuv codec (lossless compression codec), open it in Windows Movie Maker, edit it and then save it. Note that Windows Movie Maker doesn't output to mp4, only wmv.
As far as getting only the sound an no video - deinstall all codecs or codec packs from your system and install ffdshow.

Androidify 720p - a simple drag and drop Batch file to convert 720p for Android

I got bored and wanted to investigate what 720p could play on Android/HD2. Most of the tv episodes I've tried have played fine, but one that hasn't used 8 reference frames, the working ones are all 5.
So here's a little batch script to help you get 720p MKVs you might have playing on your HD2 (I expect it should work fine for other devices too). It converts the audio to AAC, leaves the video as it is, and puts it in a mp4 container for android compatibility.
I wanted it to be as simple as dropping the mkv onto the batch file and that was it, but unfortunately MP4Box can't do FPS detection and I wanted some flexibility with audio tracks and subtitles.
Instructions:
Unzip
Download Nero AAC from their site and put neroAacEnc.exe in the tools folder (it's free but against their license to redistribute it)
Drag a 720p mkv onto the androidify batch file
Enter the FPS, most things will probably be 23.976 (it will show 24/1.001 up the top)
Enter the number of the audio track you want
Enter N if you don't have/want to extract subtitles, and anything else if you do
If you're extracting subtitles enter the track number for the subtitles
It will now encode the audio, then mux it into an mp4 which will be saved to the same location as the file you dropped onto the batch and the name will have .android.mp4 appended to the end
It also cleans up the temporary files so you don't have to worry about that
I can't guarantee all videos will play, and you'll have to use a ROM with 720p playback support (I'm using pongsters HyperDroidGBX).
Download Here

[root] xbmc - choppy avi playback solution - mount samba share - external mxplayer

It looks like disabling hardware acceleration and not choosing multi-threaded decoding helps with this problem.
see this thread http://forum.xda-developers.com/showthread.php?t=2796356
edit: 6/26/14 - It looks to me like xbmc for ouya does not have this problem with xvid playback with libstagefright turned off (software decoding?) so I am going to try launching xbmc for ouya as an external player and see how that works.
Other than remuxing files into mkv format, I did not find another solution for choppy xvid playback in xbmc gotham 13.1.
Redardless, I posted this info so that there is more information on how to mount a remote share on an android device and have the share visible for android apps.
I ended up using mxplayer android app to launch when playing xvid files, or invoke it manually through the "play using" option in the context menu. Having a mouse handy may be needed to scroll to some options during app setup.
I have my firetv rooted, and as the default launcher following threads on this forum. I installed SSH and use SFTP to put files on my FireTV
This is the only way I could get any app to mount a remote share and have android apps see the share.
The first step is to install mxplayer and the custom codec (I believe this helps with AC3 passthrough)
sites.google.com/site/mxvpen/download - MXPlayer downloads page
I downloaded and installed the second option (free neon edition)
then I downloaded the custom codec (for neon) found in the link at the bottom of the codecs section and followed the directions, putting the file in the data directory.
I put the file in /sdcard/Android/data/ and pointed mxplayer to the file, as per directions in the xda custom codec thread.
wiki.xbmc.org/index.php?title=HOW-TO:Use_external_players_on_Android - HOW-TO: Use External Players on Android
following those directions I made a playercorefactory.xml file and put that in the xbmc userdata directory.
/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
Code:
<playercorefactory>
<players>
<player name="mxplayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule videocodec="xvid" player="mxplayer"/> <!-- launch mxplayer to playback xvid files if xbmc knows already -->
</rules>
</playercorefactory>
restart XBMC after putting playercorefactory.xml in the userdata directory
The mxplayer would not launch on files using only this method, as the NFS or Samba share I was using was not usefully passed along to mxplayer, so I had to find a way to mount a share in android and use that mountpoint as my video source.
from your terminal on your pc (not using ssh, using adb) - This is for mounting a samba share (windows share). I saw a lot of problems trying to use NFS shares.
replace the IP addresses with your servers IP Address, and username,password
Code:
adb kill-server
adb start-server
adb connect 192.168.0.xx (put your IP address of your file server here)
adb shell
mkdir /mnt/obb/nas
su
mount -o noperm,unc=\\\\192.168.0.xx\\putsharenamehere,username=putusernamehere,password=putpasswordhere -t cifs none /mnt/obb/nas
add that video source in XBMC, by navigating to root filesystem, and /mnt/obb/nas
verify that it works by going to video->files and seeing the share
In mxplayer, I had to select Hardware decoding for video, not Hardware+, and Software Decoder for Audio
If XBMC knows the file is xvid video it will launch mxplayer automatically otherwise you can use the context menu and choose mxplayer
caveats:
messing with the settings in mxplayer will cause AC3 streams to not passthrough, but I don't always have the mouse hooked up to navigate to the proper settings and fix them back up, but it looks promising so far. I do have smooth playback for xvid files (avi containers) and passthrough of AC3 audio to my receiver.
I don't believe the mountpoint will survive a reboot at this point, but I believe it would be easy to put a script in an init file somewhere to do this, as long as we find the right file that is invoked after bootup.
navigation using the fire tv remote is OK in mxplayer for basic playback, and disabling subtitles in settings if you have to (I chose a default directory with no subs)
if we use this mountpoint as a media source, scan into the library, and don't make it persistent after reboot, we will have problems. But I have mostly x264 files in my library, and they play fine normally with XBMC so this is only useful for .avi files for me.
If anyone wants to find a way to make the mount persistent after reboot this would help me out. The mounting of remote shares for android apps took a day of googling for me to nail down, not sure if there is an easier way, but nothing else worked.
with mxplayer set to decode files this way, I have trouble playing mkv files (I believe with AC-3) with it but I don't use mxplayer for those files.
UPDATE: I am not able to play files with AC3 and use passthrough without losing seeking function in mxplayer, might try bsplayer next or another android app. The difference as far as the video is concerned is night and day though.
I think with the mount options that I found it would be possible to use CIFS Manager app to automate the mount, but I would probably still have to make the directory before mounting. This is just a temporary solution for me until hopefully we get linux on the fire tv and can solve some of the playback issues I see. I don't wish to re-encode files that I ripped 15 years ago, and merging them in mkv format makes no difference.
I don't have any avi files that are that big, the biggest I've got is probably 90 minutes and a size of 3 gig. I just tried it in xbmc 13.1 and it seemed OK to me.
Are you connecting your Fire via wifi or ethernet? I put mine onto ethernet very quickly after putting it in the living room, and it seems very helpful to do so.
My files range from 300MB to 3GB and I see jitter during pans and normal scenes that occur visibly on files that are .avi and/or originally encoded as xvid. I tried to look for a number of settings that would help, but never did. I am looking at the long thread on the xbmc forum and seeing if I get any pointers, might try a nightly build. When I load the same file in mxplayer I don't see the jitter. Thanks for your input.
I am connected ethernet, SMB or NFS shares.
what are your settings for acceleration, and your other settings regarding audio and video in system, and video tabs?
thanks

Resources