AVIA and MP4 on Chromecast - Google Chromecast

Hi all,
So I'm perplexed...
I am using the latest version of Avia along with my Chromecast and can succesfully cast local media.
Some of my mp4 videos work fine. Others bring up a message on the TV stating that Chromecast doesn't currently support this file type.
I cannot determine what makes some MP4 files work and others not...
Anyone else run into this/have a fix?

h20wakebum said:
Hi all,
So I'm perplexed...
I am using the latest version of Avia along with my Chromecast and can succesfully cast local media.
Some of my mp4 videos work fine. Others bring up a message on the TV stating that Chromecast doesn't currently support this file type.
I cannot determine what makes some MP4 files work and others not...
Anyone else run into this/have a fix?
Click to expand...
Click to collapse
has to be H.264
download a program like Handbrake and convert them

That's correct, the video has to be h264 and audio must be AAC.

unr said:
That's correct, the video has to be h264 and audio must be AAC.
Click to expand...
Click to collapse
AAC or MP3
All three conditions must be met
MP4 container aka .MP4
H264 Video Codec
AAC or MP3 Audio Codec
The CCast will also play VP8 Video Codec but VP8 is really just a licence free version of H264 right now...They are practically identical.

Sweet, thanks guys!
Now I'll just make sure the torrents match those specs!

h20wakebum said:
Sweet, thanks guys!
Now I'll just make sure the torrents match those specs!
Click to expand...
Click to collapse
You will be better off getting yourself a good Video Converter you like because most Torrents are in MKV format and don't always note what codecs are being used.
Handbrake is a very good (FREE) program but can be a bit daunting for anyone who is inexperienced with encoder settings.
I use Xilisoft's Video Converter because it is pretty simple, Easy to Operate and makes doing Batches of Files a snap.
But it is a paid app.
I sure have never regretted paying for it I use it for just about all my Library conversions and only use Handbrake or VLC whenever Xilisoft chokes on a file which is usually because of a bad file not the programs inability to convert that format.

Handbrake settings
I have encoded my mp4 file 4 different ways and I still cant get it to cast. Other files work fine. I have researched what settings are supported by Chromecast by searching for "chromecast video formats" (I cant post a link). Attached are the settings that I think are the closest in Handbrake but still have no luck. Any ideas?

Set a specific bitrate, preferrably 4 Mbps (4000 Kbps) to start.

Check large file size and web optimized
Sent from my Nexus 7 using Tapatalk
---------- Post added at 03:47 AM ---------- Previous post was at 03:46 AM ----------
That's the only issue I see
Sent from my Nexus 7 using Tapatalk

Asphyx said:
All three conditions must be met
MP4 container aka .MP4
H264 Video Codec
AAC or MP3 Audio Codec
Click to expand...
Click to collapse
I'm using MediaInfo to check the codecs in my files, but it's a laborious process to go through each one manually. Is there a way to scan a whole directory of video files and then list the results?

codified said:
I'm using MediaInfo to check the codecs in my files, but it's a laborious process to go through each one manually. Is there a way to scan a whole directory of video files and then list the results?
Click to expand...
Click to collapse
I'm sure there is some program that does it but I can't name any....
I avoid the issue altogether by running a media server that transcodes it to whatever the device is capable and not just the CCast either.
I would check out Plex and Bubble....

codified said:
I'm using MediaInfo to check the codecs in my files, but it's a laborious process to go through each one manually. Is there a way to scan a whole directory of video files and then list the results?
Click to expand...
Click to collapse
Use the CLI (command line interface) version of MediaInfo.
Here's a quick batch file I put together. It may be glitchy, but should work, as it's based off another batch processor I've been working on for a while.
It assumes your structure contains a single level of subfolders, for example:
D:\My Videos\Foo the Epic\Foo1x01.mp4
D:\My Videos\Foo the Epic\Foo1x02.avi
...
D:\My Videos\Foo the Epic\Foo1x12.divx
D:\My Videos\Bar the Final\Bar1x01.mov
D:\My Videos\Bar the Final\Bar0x02.qt
...
D:\My Videos\Bar the Final\Bar0x10.avi
You would point MediaInfoBatch at "D:\My Videos" and set a logfile name like MyVideos.txt
MediaInfoBatch "D:\My Videos" MyVideos.txt
Note double-quoted path as it contains spaces. Double-quoting is also necessary if it contains ampersands. It doesn't hurt to just double-quote it anyway.
Save as MediaInfoBatch.bat (or whatever you want, but then you'll have to change the syntax text).
Easiest to throw it into the same folder as the CLI mediainfo.exe
Code:
@echo off
rem MediaInfoBatch
rem -------------
rem Runs command line interface (CLI) mediainfo on each file in each subfolder of the specified location
rem First parameter should be target directory, enclosed in double-quotes if there are spaces or ampersands within
rem Assumes files are in subfolders within the target, ie D:\Movies\Title1\file1 ... D:\Movies\Title20\file30
rem should be executed as MediaInfoBatch.bat D:\Movies
rem Second parameter should be filepath for logfile, enclosed in double-quotes if there are spaces or ampersands within
rem Check for proper command line
IF %1a==a GOTO syntax
IF %2a==a GOTO syntax
rem Remove double-quotes in parameter
set tmp_MediaInfoBatch_Target_raw=%1
set tmp_MediaInfoBatch_Target=%tmp_MediaInfoBatch_Target_raw:"=%
set tmp_MediaInfoBatch_Logfile_raw=%2
set tmp_MediaInfoBatch_Logfile=%tmp_MediaInfoBatch_Logfile_raw:"=%
GOTO check_prereqs
:syntax
echo MediaInfo Batch processor
echo -------------------------
echo Syntax: MediaInfoBatch [path] [logfile]
echo Where
echo [path] is root path to *folders* to be processed.
echo Do NOT include trailing backslash.
echo Ex: C:\MyVideos
echo [logfile] is filepath for logfile to contain output.
echo Ex: C:\MyVideos\MediaInfo.txt
echo Enclose any paths with spaces or ampersands in double-quotes.
echo Ex: "C:\My Videos"
echo Example:
echo MediaInfoBatch C:\MyVideos C:\MyVideos\MediaInfo.txt
echo will run MediaInfo on all files in the first level of directories
echo under C:\MyVideos and write the output to C:\MediaInfo.txt
pause
GOTO end
:check_prereqs
IF NOT EXIST MediaInfo.exe (
echo MediaInfo.exe is missing. We need the Command Line Interface version of MediaInfo. Please put it in the same directory as this batch file.
pause
GOTO end
)
GOTO main
:main
rem Look in target location
FOR /f "tokens=* usebackq" %%G IN (`dir /b /a:d "%tmp_MediaInfoBatch_Target%"`) DO (
rem Interate through subfolders
FOR /f "tokens=* usebackq" %%H IN (`dir /b /a:-d "%tmp_MediaInfoBatch_Target%\%%G"`) DO (
rem Run mediainfo on each file
mediainfo -f "%tmp_MediaInfoBatch_Target%\%%G\%%H" >>"%tmp_MediaInfoBatch_Logfile%"
)
)
:end

Hello,
I have uninstalled Avia and have started using LocalCast. It plays MKV files effortlessly! No conversion is needed at all!
All the best!

Also had this problem, avia not casting mp4. Downloaded Real Player and it fired up the mp4 perfectly.
Sent from my SM-N900V using Tapatalk

Chromecast has limitation in the input formats. Only video containers MP4 and WebM encoded with Video codecs H.264 High Profile Level 4.1, 4.2 and 5, VP8 and audio codecs HE-AAC, LC-AAC, CELT/Opus, MP3, Vorbis are compatible with Chromecast.
When send local media which are with extensions .mp4 or .webm through Chromecast to TV, it succeeded in most cases but sometimes failed. That is because MP4 and WebM, as video container, contain different video or audio codecs which Chromecast doesn't recognize.
I used to use a little piece of software called Faasoft Video Converter to convert MP4, AVI and other various video formats to Chromecast compatible formats, happy with it.

Actually, you can basically drag and drop the video files into Chrome browser and Chromecast from there. The point here is, you can do so on video types such as MP4; however, you probably will find difficulty doing the same on other video formats like MKV, VOB, AVI. All we need to get done is to make the MKV, VOB, AVI videos play inside the Chrome browser by some third party programs, like Brorsoft Video Converter.

Wondershare Ultimate Video convert - set video to H.264. Software has a beast mode and can convert H.265 but the compression rate sucks. Not a lot of bells and whistles but simple conversation and done quickly.
There's bubbleupnp, install the server and it will convert on the fly.
Plex is an oldy but a goodie. The plex media server coupled with the app does all conversation on the fly to play pretty much any media to any receiver.
Correct me if I'm wrong, but aren't most dl's mp4 and not mkv's? It's VERY common to see mp4, semi rare for mkv - though usually reserved for hi def minus yify, and super rare for avi's as technically avi files can be nuked as it no longer fits the scenes standard. That's my experience anyway.

Related

there are nice video players for android ?

well, suddenly i decided to see if there were some nice video players :S but cant found a good one, all of them just play mp4 and 3gp files :S there are others that play more formats ? whit is the best one ?
thxx !
act 1 video is nice to me..
but can you play mpeg files ? wmv ? avi ? and which resolutions it handle ?
Right.
The best video player is, quite honestly, the STOCK video player and gallery app. The neat thing about it is that it actually THUMBNAILS your videos, whereas none of the other ones do that (at least none that I've seen).
The video formats possible are strictly limited by the available HARDWARE DECODER CHIP. You aren't going to be able to play a video outside of the supported video specifications simply because you don't have the CPU power necessary to decode the video! It has to be done by the dedicated decoder chip.
Note: One of the BIGGEST mistakes that newbies make is the assumption that the CONTAINER format has anything to do with the actual compression format used to store the video. The CONTAINER format is more or less irrelevant. You can usually tell the container format by the file extension. mpeg, avi, wmv *ARE SUPPORTED*, as long as the audio and video that the file CONTAINS are supported by the hardware. For example, you can put h264 video + mpeg-1 audio layer 3 (i.e. mp3) into a "mp4" file, and as long as the various parameters match the ones supported by the hardware, it will play perfectly. You can put the same h264 video + mpeg-1 audio layer 3 into an "avi" file, and it will still play. If you put INDEO video + APT-x audio into an "avi" file, it WON'T play.
The reason why a lot of "mp4" and "3gp" files play where others don't is that these two CONTAINER formats are more commonly used exclusively for mobile devices, which tend to have similar encoder/decoder specifications. The reason why typically avi and wmv files *DON'T* play is that those two file formats are typical of MICROSHAFT. Use of MICROSHAFT video encoder software is guaranteed to give you files encoded using proprietary encoding schemes that can't be implemented without a significant licensing cost. On top of that, they will come at resolutions and bitrates much too high for mobile hardware to decode, even if they were implemented. People who use MS media encoders are typically the type of idiot who will just use whatever is there. No mind of their own and/or extreme LAZINESS.
If you wish to play badly encoded media, you WILL have to transcode it first. Some combination of mencoder and ffmpeg will do wonderfully for this, for example, the following will turn any video into one that not only will play back on most mobile chips, it can stream over the web:
Code:
mencoder "orig.mp4" -o "new.tmp.mp4" -vf dsize=400:300:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -ofps 24000/1001 -passlogfile "new.log" -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=480:threads=auto:turbo=1:pass=1:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
mencoder "orig.mp4" -o "new.tmp.mp4" -vf dsize=400:300:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -ofps 24000/1001 -passlogfile "new.log" -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=480:threads=auto:pass=2:global_header:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
ffmpeg -i "new.tmp.mp4" -vcodec copy -acodec copy "new.tmp2.mp4"
qt-faststart "new.tmp2.mp4" "new.mp4"
Note: qt-faststart is an *optional* component to ffmpeg and is used to move the spec data from the end of the file to the start -- required for streaming. If you don't care about streaming, you can leave it out.
Note2: yes, there are TWO mencoder lines... 2-pass encoding for better quality.

[Howto] Video watching on Nook Color

As you may know, the Nook color has PowerVR SGX530 Graphics chip, which is also available on Droid 2 and Droid X.
This chip is pretty good when it comes to medium 3D performance and video playback. It can play videos quite nicely, but only the formats that it knows. Other formats will need to be played using software, which will give you medicore level playback.
If you have an MP4 files (which are encoded with H.264 Base level encoding), those files will play with hardware decoding great. However, if you have other video content (episodes, both in AVI/XVid or MKV/H.264 format), Nook will play them badly with 3rd party software (rock player, vplayer, etc).
Thats where FFMPEG could help a lot, if you're using Linux, all you need to do is install ffmpeg and run the following command:
Code:
ffmpeg -y -threads 8 -i myvideo.avi -b 800k -bt 1000k -vcodec libx264 -vpre default -vpre baseline -acodec libfaac -ac 2 -ar 44100 -ab 128k mynewvideo.mp4
the "myvideo.avi" is your original AVI file, and "mynewvideo.mp4" is the new MP4 file which could be played nicely on the Nook Color. Please note: if your video is bigger then 854x480, then you need to add the -s XxY where XxY is the width:height of the video (example: 640x352). If your video needs a new aspect ratio, you can use the -aspect parameter (example: -aspect 16:9)
If you're using a mac, then handbrake is your friend, as other tools which are based on ffmpeg.
On Windows you can either install FFMPEG for Windows, or you can use An application called "Any Video converter", and simply select your original file name, Select X264 as video codec, and convert. The output file should be played well.
No matter what conversion software you use, make sure that the H.264 profile that you use is set to base-level (or "base"). Anything higher cannot be played by the nook without frame skipping.
If you want to test if your video can be played with hardware acceleration, upload your video to your Nook (or to the Micro SD card), open any file manager and click on the mp4 file. Try to play the video with the "Movies" built in app. If the app will recognize your video, it will play it without any issues or frame skipping.
Good luck
Hetz
HandBrake can be used on Windows also
I read there are aspect ratio issues with the built in player. But I also read that even in mp4 base other video players can't take advantage of the hardware playback accel (proprietary drivers). Is that correct?
Handbrake doesn't work for windows?
triggrhaapi said:
Handbrake doesn't work for windows?
Click to expand...
Click to collapse
Handbrake works great on Windows. Encoded a few this week for the Nook and ran like buttah.
Out of curiosity, why not just use RockPlayer. I'm yet to get an NC so I may be missing something.
It runs kind of choppy on video files encoded with anything other H.264/MPEG4 and the audio seems to get out of sync quickly
Mikey1022 said:
HandBrake can be used on Windows also
Click to expand...
Click to collapse
And linux.
the latest version of rock player seems to have a lot better handle on audio sync...
we can never watch the avi videos without converting ?
Maybe
yemin88 said:
we can never watch the avi videos without converting ?
Click to expand...
Click to collapse
It really depends how the official Froyo update (coming in January) will improve performance.
rock player works fine... the problem is that you cant have above a 480p video. the reason is its not the audio thats lagging its the video studdering and thats whats causing the lagg
The topic title should read "how to watch videos on your nook if you run Linux"
You added all the settings you need for it, but not for the other operating systems lol You can run the file through any of these programs, (speaking Mac/Win) but just because you encode it with H.264 doesn't mean its going to play smoothly. If your source file is 1080p, this obviously isn't going to work.
My source file is:
H.264
Deinterlaced
720p
30fps
VBR 1 pass
AAC. 192kbps 48kHz, Stereo
So far Im at a video file @ 1024x576 at 15fps (tried to pull the Consistent Quality slider to 100%, but didn't see much differance) thats had the smoothest playback.
Now Im pretty much brand new to video editing and making, are there any settings I could be useing to make this file more smooth using Handbreak....or even more so In Adobe Premiere?
Im basically trying to see what the highest quality the Nook can take. Not to mention a continuous video of my coral reef while Im at work sitting next to me on my NC would b kinda epic
I use DropFolders. It uses HandBrake & you set it up with a watch folder & a destination folder. All you do is drop a video in the watch folder & it converts the file & puts it in your destination folder. You set up the HandBrake arguements in Drop Folders. Works like a charm.
Cheers,
kev
MrOtsKrad said:
The topic title should read "how to watch videos on your nook if you run Linux"
You added all the settings you need for it, but not for the other operating systems lol You can run the file through any of these programs, (speaking Mac/Win) but just because you encode it with H.264 doesn't mean its going to play smoothly. If your source file is 1080p, this obviously isn't going to work.
My source file is:
H.264
Deinterlaced
720p
30fps
VBR 1 pass
AAC. 192kbps 48kHz, Stereo
So far Im at a video file @ 1024x576 at 15fps (tried to pull the Consistent Quality slider to 100%, but didn't see much differance) thats had the smoothest playback.
Now Im pretty much brand new to video editing and making, are there any settings I could be useing to make this file more smooth using Handbreak....or even more so In Adobe Premiere?
Im basically trying to see what the highest quality the Nook can take. Not to mention a continuous video of my coral reef while Im at work sitting next to me on my NC would b kinda epic
Click to expand...
Click to collapse
According to the published specs for the NC, the default app will not play video above 854x480. If you want to use hardware decoding through the default app, you'll need to scale that down from 1024.
I have several videos encoded using one of the latest nightly builds of handbrake for NC, and with the constant quality set at 20, playback is flawless. You can use the "Apple Universal" setting to get the required baseline profile for MP4 and then adjust the video size as you like.
You can also use the "High Profile" and change some settings and per HERE. I was, however, able to set the max width above 720, unlike the third poster.
Innnnnnteresting! Thank you! I will give this a shot and see what I come up with
I posted a handbrake preset here. It works well for me.
Hi why can you try rockplayer for play video like divx
Sent from my LogicPD Zoom2 using XDA App
triggrhaapi said:
Handbrake doesn't work for windows?
Click to expand...
Click to collapse
Don't worry, I found an easy way to convert videos for nook color, read the article "Nook Color Video Converter Review – easy play any video on Nook Color"
from
Code:
icamcorder.net
Got a Nook Color over the weekend, and video looks great using the Handbrake preset posted here... I'm using Autonooter, and the built in Gallery app to play it. However, I'm curious, if I decided to try out Honeycomb, will other video player apps use hardware decoding with files encoded with the Handbrake preset, or is it limited to the stock Nook app? Thanks!

Stream local video to the Chromecast using Apache and Github, not tab sharing

By installing apache with the root set to my download folder, navigating to the file using your local ip in the chrome browser using the http:// instead of the file:// prefix, copying the url into this github site (that I stumbled upon) http://googlecast.github.io/cast-chrome/ using the html5 option, the chromecast will pull the file directly from your machine and decode it at it's native resolution.
Hope that is as cool to others as it is to me. Watching Venture Bro's in 1080 right now, looks great.
python2121 said:
By installing apache with the root set to my download folder, navigating to the file using your local ip in the chrome browser using the http:// instead of the file:// prefix, copying the url into this github site (that I stumbled upon) http://googlecast.github.io/cast-chrome/ using the html5 option, the chromecast will pull the file directly from your machine and decode it at it's native resolution.
Hope that is as cool to others as it is to me. Watching Venture Bro's in 1080 right now, looks great.
Click to expand...
Click to collapse
Is this limited by the file format? Does it have to be mp4 or will it play other .avi and mkv files?
golden_35 said:
Is this limited by the file format? Does it have to be mp4 or will it play other .avi and mkv files?
Click to expand...
Click to collapse
mp4 only, mkv video works but I haven't gotten audio to work.
python2121 said:
mp4 only, mkv video works but I haven't gotten audio to work.
Click to expand...
Click to collapse
The mkv sound has to be in the aac format. I re-encoded a mkv file with ac3 audio to aac audio and was able to get audio on the chromecast.
bd177 said:
The mkv sound has to be in the aac format. I re-encoded a mkv file with ac3 audio to aac audio and was able to get audio on the chromecast.
Click to expand...
Click to collapse
what software did you use to re encode the ac3 to aac?
heathroi said:
what software did you use to re encode the ac3 to aac?
Click to expand...
Click to collapse
Just tested this using XAMPP on windows 7 machine. Streaming was flawless for mp4/m4v files. Used website linked in the OP. One issue I had with one video is the content was at the top. As in there was just a black bar at the bottom and not the top. Full screen videos had no issues.
hershsa said:
Just tested this using XAMPP on windows 7 machine. Streaming was flawless for mp4/m4v files. Used website linked in the OP. One issue I had with one video is the content was at the top. As in there was just a black bar at the bottom and not the top. Full screen videos had no issues.
Click to expand...
Click to collapse
This happened to one of the videos I tested as well. But only that one, so I am not sure what the problem was. Glad it's working for others as well.
python2121 said:
This happened to one of the videos I tested as well. But only that one, so I am not sure what the problem was. Glad it's working for others as well.
Click to expand...
Click to collapse
I assume I could recreate that site on my own server. This way I can just list out all my movies with links to play on chromecast via HTML5.
heathroi said:
what software did you use to re encode the ac3 to aac?
Click to expand...
Click to collapse
Tippard Total Media Converter Platinum
There is a much simpler way than installing apache. I did it with mongoose. No installation at all. just 1 portable exe. Just place the exe in the folder of the mp4, run it, then go to http://googlecast.github.io/cast-chrome/, select html5, and enter http://YourIP:8080/NameOfFile.mp4
worked perfectly and no installation necessary
There's also an easy (and cross-platform) solution if you have python installed. Just open your media directory in terminal and run "python -m SimpleHTTPServer" (without the quotes.)
This will serve your files at localhost:8000/path/to/video (path is relative to the directory you're running the server in)
rush340 said:
There's also an easy (and cross-platform) solution if you have python installed. Just open your media directory in terminal and run "python -m SimpleHTTPServer" (without the quotes.)
This will serve your files at localhost:8000/path/to/video (path is relative to the directory you're running the server in)
Click to expand...
Click to collapse
That is probably easier, so I just made a little program that takes the filename as input, starts the server, puts the link in your clipboard, then opens the github link. It is attached... also bundled with it is windows x64 executable made with pyinstaller

Easy and fast DTS conversion for MKV (no video recompile)

Searching on the internet did not provide me with an easy to use, quick and free solution to convert DTS streams within a MKV container into AAC.
I created a small windows based .bat file, that uses ffmpeg.exe to convert DTS to AAC audio.
I hope this is useful for others.
How to use:
- Download ffmpeg.exe
- put ffmpeg and convert.bat into the same directory as the video files (.MKV extention)
- run convert.bat
Thanks to Spec-Chum, I added version 2.0 that uses the nero AAC Codec to get a higher quality output.
Download FFMEPG
Download Nero AAC Codec
RobertdeHoop said:
After receiving my Chromecast, I found that I was not able to play local video files (MKV) that contained DTS audio. Searching on the internet did not provide me with an easy to use, quick and free solution.
Therefore I created a small windows based .bat file, that uses ffmpeg.exe to convert DTS to AAC audio.
I hope this is useful for others.
How to use:
- Download ffmpeg.exe
- put ffmpeg and convert.bat into the same directory as the video files (.MKV extention)
- run convert.bat
Click to expand...
Click to collapse
Thanks for sharing
Unfortunately the ffmpeg aac encoder is not very good, especially for multi-channel, it gets the channels wrong for one.
I wrote a similar script for Linux here using the higher quality Nero AAC encoder, which wouldn't be too hard to convert to a Windows batch file.
Mine also re encodes the video if needed so works on any format that ffmpeg can handle.
Thanks for the info, I have created a version 2 that can use nero instead together with ffmpeg.
sorry ,
there is a solution for mac users like me ?
i have ffmpeg for mac but i don't know how to use Nero AAC encoder
thanks
panda78 said:
sorry ,
there is a solution for mac users like me ?
i have ffmpeg for mac but i don't know how to use Nero AAC encoder
thanks
Click to expand...
Click to collapse
I do not think nero AAC encoder is available for MAC, you could run a virtual machine, but on the mac you'd probably be bettor off using afconvert or qaac.
i run a virtual machine on my imac . a vm with win8.1 64 4gb ram . after the conversion i move the movie on my NAS Synology and with DS video + chromcast i try to play it.
the movie not start
the original file ( dts audio ) work fine .
where i wrong ?
panda78 said:
i run a virtual machine on my imac . a vm with win8.1 64 4gb ram . after the conversion i move the movie on my NAS Synology and with DS video + chromcast i try to play it.
the movie not start
the original file ( dts audio ) work fine .
where i wrong ?
Click to expand...
Click to collapse
----
Chromecast does not support DTS audio, DSVideo, can convert AC3 on the fly.
If your original file plays fine, why would you need to convert it??
I am wondering if you are mixing up the files. The one with aac.mkv at the end is the new file and should play fine on DSVideo & Chromecast.
If not, it has to be the video codec that is not supported, but if so, the original file would not play as well. (video is untouched).
Maybe you can run MediaInfo and see what codecs are used in these files. The converted one should have audio codec AAC, the original one DTS.
RobertdeHoop said:
----
Chromecast does not support DTS audio, DSVideo, can convert AC3 on the fly.
If your original file plays fine, why would you need to convert it??
I am wondering if you are mixing up the files. The one with aac.mkv at the end is the new file and should play fine on DSVideo & Chromecast.
If not, it has to be the video codec that is not supported, but if so, the original file would not play as well. (video is untouched).
Maybe you can run MediaInfo and see what codecs are used in these files. The converted one should have audio codec AAC, the original one DTS.
Click to expand...
Click to collapse
I think (s)he means the original file plays fine locally.
Spec-Chum said:
I think (s)he means the original file plays fine locally.
Click to expand...
Click to collapse
If that is the case, I expect the issue is with the video format.
You can try FFMPEG to convert the video into an accepted format. I use the following for my GoPro video's and it plays well on my chromecast:
ffmpeg -i input.mkv -maxrate 15000k -bufsize 1835k -vcodec h264 -crf 18 -profile:v high -level:v 4.1 -refs 4 -preset fast -pix_fmt yuv420p -acodec copy output.mkv
If it helps, you can add it to the script to be able to perform a batch conversion.
RobertdeHoop said:
----
Chromecast does not support DTS audio, DSVideo, can convert AC3 on the fly.
If your original file plays fine, why would you need to convert it??
I am wondering if you are mixing up the files. The one with aac.mkv at the end is the new file and should play fine on DSVideo & Chromecast.
If not, it has to be the video codec that is not supported, but if so, the original file would not play as well. (video is untouched).
Maybe you can run MediaInfo and see what codecs are used in these files. The converted one should have audio codec AAC, the original one DTS.
Click to expand...
Click to collapse
Could you show me how to enable AC3 conversion on the fly ? I have a Synology NAS and a Chromecast
lapocompris said:
Could you show me how to enable AC3 conversion on the fly ? I have a Synology NAS and a Chromecast
Click to expand...
Click to collapse
Install VideoStation and configure it to index the video folder. Then run the video by using DSVideo (Android and maybe IOS).
AC3 audio will be converted on the fly.
RobertdeHoop said:
Install VideoStation and configure it to index the video folder. Then run the video by using DSVideo (Android and maybe IOS).
AC3 audio will be converted on the fly.
Click to expand...
Click to collapse
Why is it that after looking for a couple of months this is the first I hear of it.... *#@*%@#!
Anyway, great find!. only issue now is that my network seems to be a bit on the slow side, as I get a freezes in the films (a bit too much and long to make it useable,...)
RobertdeHoop said:
...
How to use:
- Download ffmpeg.exe
- put ffmpeg and convert.bat into the same directory as the video files (.MKV extention)
- run convert.bat
Thanks to Spec-Chum, I added version 2.0 that uses the nero AAC Codec to get a higher quality output.
...[/URL]
Click to expand...
Click to collapse
@RobertdeHoop unfortunately for me the merging back to an .MKV does not work with v2.00
The batch file finishes, but there is no new .MKV in the folder. With v1 it works.
So I got in the same folder:
1.) the .MKV videofile
2.) Convert.bat v2
3.) ffmpeg.exe
4.) NeroAacEnc.exe
Nothing else. The batch file runs thru as mentioned above without any error msg. What am I missing? thx!
goldlocke said:
@RobertdeHoop unfortunately for me the merging back to an .MKV does not work with v2.00
The batch file finishes, but there is no new .MKV in the folder. With v1 it works.
So I got in the same folder:
1.) the .MKV videofile
2.) Convert.bat v2
3.) ffmpeg.exe
4.) NeroAacEnc.exe
Nothing else. The batch file runs thru as mentioned above without any error msg. What am I missing? thx!
Click to expand...
Click to collapse
Replace the ffmpeg code to this and try in v2
ffmpeg -v quiet -i %%~nF.mkv -i %%~nF.aac -c:v copy -c:a aac -map 0:v:0 -acodec copy -map 1:a:0 %%~nF.AAC.mkv
V2 is not working
How can I convert dual audio files, just add -map 0:2 for audio 2?
Bubbleupnp will transcode dts to aac with mkv files right from the phone as your casting it.
Need license but well worth it.
RobertdeHoop said:
Thanks for the info, I have created a version 2 that can use nero instead together with ffmpeg.
Click to expand...
Click to collapse
Sorry to reply to an outdated thread but nothing of the mentioned is working.
Gamool said:
Sorry to reply to an outdated thread but nothing of the mentioned is working.
Click to expand...
Click to collapse
To get it to work, edit the file in Convertv2.0.zip as ozblogger describes in post #14.
Specifically, the line following:
echo * Merging new AAC audio into MKV
needs to be replaced with:
ffmpeg -v quiet -i %%~nF.mkv -i %%~nF.aac -c:v copy -c:a aac -map 0:v:0 -acodec copy -map 1:a:0 %%~nF.AAC.mkv

Video and Audio Playback/Conversion

I originaly made this in the S7 section so i hope that the ops delete that one.
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 little followup 1..
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.
A little followup 2..
If you Install Milk VR and then Milkvrlauncher you can get the weblinks to open in Milk VR.
jorgen_gustavsson said:
I originaly made this in the S7 section so i hope that the ops delete that one.
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 little followup 1..
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.
A little followup 2..
If you Install Milk VR and then Milkvrlauncher you can get the weblinks to open in Milk VR.
Click to expand...
Click to collapse
A little followup 3..
You can make a batch file and save it to the folder were your media files are.
Add this line in the bat file and save it in the media folder.
for %%a in ("*.mkv") do ffmpeg -i "%%a" -c:v copy -c:a aac "FOLDER_WERE_THE_CONVERTED_FILES_SHOULD_BE_SAVED\%%~na.mkv"
pause
Save it and when you run the bat file it will convert all files in the folder.

Categories

Resources