yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] Spec-Chum:
Hi all, just thought I'd share this simple bash script I've done to make any movie file that ffmpeg can open into ChromeCast Streamable mp4:

#!/bin/bash

CODECS=$(ffprobe -v quiet "$1" -show_entries stream=codec_name | grep "codec_name" | cut -d= -f2)

V_CODEC=$(echo $CODECS | cut -d' ' -f1)
A_CODEC=$(echo $CODECS | cut -d' ' -f2)

echo "Video codec is" $V_CODEC

if [ $V_CODEC = "h264" ]; then
echo "No video conversion needed"
V_FLAGS="copy"
else
echo "Converting video to h264..."
V_FLAGS="libx264 -profile:v high -level 5 -preset superfast -crf 18 -maxrate 10M -bufsize 16M -pix_fmt yuv420p -movflags faststart"
fi

echo "Audio codec is" $A_CODEC

if [ $A_CODEC = "mp3" ] || [ $A_CODEC = "aac" ]; then
echo "No audio conversion needed"
echo "Copying/transcoding video and creating mp4 file..."
eval ffmpeg -v quiet -i "$1" -c:v "$V_FLAGS" -c:a copy "$2".mp4
else
echo "Converting audio to aac..."
eval ffmpeg -v quiet -i "$1" -c:a pcm_s16le -f wav - | neroAacEnc -if - -ignorelength -of "$2".mpa

echo "Copying/transcoding video and creating mp4 file..."
eval ffmpeg -v quiet -i "$1" -i "$2".mpa -c:v "$V_FLAGS" -c:a copy -map 0:v:0 -map 1:a:0 "$2".mp4

echo "Removing intermediate files"
rm "$2".mpa
fi

echo "$2.mp4 created"

It's certainly nothing fancy and I know improvements could be made, it doesn't check to make sure you'd put an output file for example, but it's fine for me :)

I've used neroaacenc here as it's the best quality encoder for aac but this could easily be made to use fdk or plain ffmpeg aac, that'd even make the script smaller as it wouldn't need an intermediate audio file, but I wanted nero.

Usage is simple, save the script (I called it CCConv (ChromeCastConvertor)) and make it executable:

CCConv "inputfile.mkv" "outputfile"

no need to put .mp4 on the end of the output file, it'll automatically add that.

Any questions, just ask.

Thanks
[Google Chromecast] paracha3:
Very nice. What binaries you need to install to make this bash script run on Mac OS X?
[Google Chromecast] Spec-Chum:
Thanks buddy.

No idea if NeroAACEnc works on Mac tho, sorry.

Did you compile ffmpeg to use libfdk-aac at all? I could just rewrite the script to use that too.

What's the output of typing 'ffmpeg' with no parameters?
[Google Chromecast] Spec-Chum:
Oh, and I really wouldn't used the ffmpeg built-in aac encoder, the quality isn't very good and the channels are wrong when using 6 channels...

Nero encodes DTS and AC3 into 6 channel aac fine, receiver says "HDMI Multi-Chan Audio" :good:
[Google Chromecast] paracha3:
well i guess let me ask, what binaries you need for windows?
[Google Chromecast] Spec-Chum:
If you're using Nero, which I recommend, then any ffmpeg and NeroAacEnc from here: http://www.nero.com/eng/company/about-nero/nero-aac-codec.php
[One (M8) Q&A, Help & Troubleshooting] ezureen:
Hi,

Appreciate if you guys can help me in this matter.. Everytime after reboot i will lose all the music that already been transferred either to my internal sdcard or externel memory. And that includes all my videos as well. I've tried transferred using htc sync, isyncr and tunesync but everytime i rebooted my phone, all the songs will be missing, as though it was erased. Any help?
[JASJAR, XDA Exec, MDA Pro General] jmdrizen:
Hi,

If anyones interested, I'm selling my T-Mobile branded HTC Universal, with GENUINE TomTom Navigator CD + TomTom Bluetooth GPS Receiver, 2GB SD-Card, Stereo Bluetooth reciever, and a decent zip style case...

There's nowt wrong with it, it's a great phone, and only 3 months old, but I've got to get rid of a gadget before I can get my next.... wifes orders....

If you are interested.... http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&ih=020&item=300008341567

eBay Item number 300008341567 if that link don't work.

Ask via eBay if any questions.

Cheers.
[Galaxy S 4 Accessories] XGhozt:
So, I had this great idea and it isn't working out the way I planned.

Usually on my USB cables the first thing to break is the little end connector, it just wares out on the micro usb cables. So I bought this:

http://www.amazon.com/gp/product/B0031NWXZI/

It works great. I'm charging at 1200mA and it charges my device very quickly. I've had it for about a year now and it has yet to ware out like those other cheaper cables.

I then bought this:

http://www.amazon.com/gp/product/B001TH7GUU/

As soon as I plug in the smaller monster cable into the extension cable, my charge rate is cut in half (600mA). This is obviously because the extension cable has a lower voltage capability and a slower transfer rate. I didn't notice this when I first bought it.

So I am trying to find an extension cable I can use with my monster cable that doesn't degrade my charge rate.

Anyone else ever had this issue before?
[General Questions and Answers] velazquezboy:
Hi, I have just registered onto this forum and I have a problem of course. I have acquired a second hand Wolder mitab iron 9" tablet which although running Android 4.2.2 does not have google play store installed, I have tried various ways of installing it but then after installing it always comes up as "google play store has stopped working".

I'm not totally savvie with jargon but keen to be told or advised on what to do, aside from lobbing it into the bin, essentially for the pennies I paid for it it isn't a bad tablet just that without play store it's lacking.

Any help or advice would be much appreciated

Thanks!
[General Questions and Answers] psp9000333:
try flashing gapps. if it doesn't work, throw it out and buy a proper tablet.
[General Questions and Answers] vishal.vodro:
Hi there,

We are in a new era of Cloud Internet technology... But the question comes could we utilize the full cloud service thoroughly?

-I don't think so!

For example, Google Drive provides us 15GB of free cloud space, but to make use of that 15GB we end up transacting of the Data usage around 50GB+

How?

Uploading contents on Google Drive = 15GB +

Browsing/Surfing 5GB extra, so 20GB.

Downloading the same contents multiple times on multiple devices = More 30GB of internet data usage!

So we are virtually requiring round about 50GB of internet data pack additionally which is kinda costly in India yet!

It would have come down to half if we could have saved the data directly on Google Drive or any other relevant Cloud Media like Drop box, Sky Drive etc without having it to get downloaded onto the PC/Smart phone/Tablet!

Currently the respected UC Browser only seems to be providing the said feature flawlessly without any limitation in file size or extension but on UC's own Cloud a storage of 2GB Fixed & 4GB Temporary!

Other browsers like: Maxthon, Puffin etc might do the same job but kind of limitations are there!

A dedicated website ctrlq.org/save/ does the job for various Cloud media but can't be compared with UC Browser in any/every aspect.

Months/Year ago Google launched Save to GDrive Button which gives the Web Admin only to implicate the feature where Users don't have choice to do so!

gutenberg org did implicate this feature enabling users to send their desired Epub file to GDrive (and Dropbox as well) directly so that they can import into Google Play Books or download afterwards.

It's worth mentioning that not every website would be willing to implement the GDrive button for visitors to save direct to cloud!

Hence we are left with only an option of opting the UC Browser.

My request to all the readers over here, is there any alternatives for this? Is it not really possible to create such application or plugin which will pop up with option of choosing download destination (Storage or Cloud) when we tap on download button!

May/may not be possible yet till today but sure enough in future we will be able to do so what UC had already done long way before.

Any opinion/suggestion or users point of view is highly appreciated!
[General Questions and Answers] vishal.vodro:
Sad

It's very haert broken fact that no one ever bothered to answer the query! Seems the feature was asked about is kinda crime!

Shame on all of u guys...
[Galaxy S 4 Q&A, Help & Troubleshooting] eahdawn:
Tried reverting to stock ROM - "Firmware Upgrade Encountered an Issue" - please help

Hey guys, this is my mother's BRAND NEW phone. I flashed the Google Play Edition ROM to make it easier to use for her, she didn't like it. I tried reverting to stock TouchWiz, and I got this error.

"Firmware Upgrade Encountered an Issue"

Wont let me boot into the phone at all. PLEASE help, I will be forever grateful. Need to solve before she gets home from work, I feel AWFUL :(
[Galaxy S 4 Q&A, Help & Troubleshooting] Joku1981:
1. You will have to wipe all.

2. Flash a stock rom through ODIN.
[Galaxy S 4 Q&A, Help & Troubleshooting] eahdawn:
Hey man, I ended up flashing a .pid file. Booted into the phone. So lucky! Thanks anyway man.
[Galaxy S 4 Q&A, Help & Troubleshooting] d347hxd:
I bought my S4 recently. It was locked to Rogers when I got it (Canada), but I had bought an unlock code. I entered it when I put my Wind SIM into the phone; but under Available networks it doesn't show WIND it only shows TELUS, Bell, and WIND Away.

I can't connect to any of them, as when I click one it says "Registering on <NAME>..." and after a bit then it stops and says "Unable to connect. Try again later."

If I push Select Automatically it seems to connect to a service for a bit that puts it in roaming so I can't call or text but then after awhile it goes back to saying "Not registered on network" when I try to call someone.

My plan for sure works, brand new SIM.

Model: SGH-1337M

Firmware: 4.4.2 STOCK

Current Network: Wind Mobile

Phone Locked, Network Locked To: Unlocked; was locked to Rogers.

How do I fix this so I can start making calls, texts, and get my data to work again? I tried following this to see if this was the problem -> http://xdaforums.com/showthread.php?t=2291589 but I can't call that number because it says "Not registered on network" when I try.
[Galaxy S 4 Q&A, Help & Troubleshooting] Joku1981:
I think u missunderstood something in the process. Take a look this video: HERE
[Galaxy S 4 Q&A, Help & Troubleshooting] d347hxd:
Yup, that's exactly what I did and what happened when I first unlocked it. Before I unlocked it, it wouldn't detect my SIM at all; now it does.
[Xperia SP Themes and Apps] sshivampp:
Removed Lockscreen Hint and Enabled landscape wallpaper selection for lockscreen for those

who use autorotate lockscreen mod in gravitybox module so you dont get streched potrait wallpaper in landscape mode as here>>

Download from attachement and replace it with original in system/app and correct permissions to (rw-r-r) and reboot

Enjoy!
[Sony Xperia Z Ultra] aznjtse:
Hi, I just got my Z Ultra and i noticed that I could not change my lockscreen wallpaper. Everytime I go to settings->personalization-.lock screen ->album and pick a picture, it just exits back out to the settings page. Ive tried factory reseting, and changing to different themes but it still wont let me set my own lockscreen wallpaper. my phone model is the C6833 running on 4.4.2 Build Number 14.3.A.0.757

Does anyone else have this issue? I tried searching for it in the forums but I cant seem to find simliar posts

Thanks
[Sony Xperia Z Ultra] LordManhattan:
Hmm, I'm also on 757 on a C6833, and everything works fine here, so not sure what's wrong.
[Sony Xperia Z Ultra] markslo112:
Hi, try to change the complete theme and see if that works. If not, I don't know what's wrong. I can change wallpapers with no problems.
[Verizon LG G2] xdabbeb:
!!! PLEASE READ THIS ENTIRE POST BEFORE PROCEEDING !!!

!!! I AM NOT RESPONSIBLE FOR ANY PROBLEMS THAT OCCUR WHILE INSTALLING/USING THIS !!!

Please follow the XDA rules. This is a development thread, not a Q & A or opinion thread. If your post isn't related directly to development (within reason), it will be ignored and/or reported to the moderators. Speculation/flaming/attacks/rants will not be tolerated.

Features:

How to Install:

Changelog:

Downloads:

Thanks:

Before posting about any issues, make sure that you have followed the install directions explicitly (including wiping data and NOT restoring backed-up data). If you are using a 3rd-party kernel, you must revert to the included kernel first. You must provide DETAILED steps to reproduce the issue along with a log if appropriate or your post will be ignored/moved/deleted/etc. If you don't know how to get a log, HERE is a good tutorial. There is also an excellent app available on the Play Store called SysLog that you can use on your phone.

Devs: I will provide flashable zips or tutorials for any included apps/modifications that I intend to share. I do not authorize anything else to be shared, used or uploaded elsewhere.

XDA:DevDB Information

XDABBEB's VS980, ROM for the Verizon LG G2

Contributors

xdabbeb

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: Stock

Version Information

Status: Stable

Current Stable Version: 3.1.2

Stable Release Date: 2014-04-12

Created 2014-04-12

Last Updated 2016-02-13
[Verizon LG G2] xdabbeb:
Reserved
[Verizon LG G2] xdabbeb:
Special thanks to the following for their generosity:

[MENTION=4258727]flyinj54[/MENTION]

[MENTION=5396407]TritonDroid[/MENTION]

[MENTION=4914779]illyfilly[/MENTION]

[MENTION=3596019]jasondowning85[/MENTION]

[MENTION=2545403]chevycam94[/MENTION]

[MENTION=1188850]dnargsiefil[/MENTION]

[MENTION=1102929]okibi[/MENTION]

[MENTION=1182745]julesism[/MENTION]

Daniel L

[MENTION=4391333]spruce_rd[/MENTION]

[MENTION=4881999]civydcex[/MENTION]

[MENTION=2861395]jesssiii[/MENTION] x2!!

Antonio C

[MENTION=4650987]z3pp3lin[/MENTION] x2!!

[MENTION=593632]seang[/MENTION]

[MENTION=5748431]stackystack[/MENTION]

Paul F

[MENTION=3848560]kaluna00[/MENTION]

[MENTION=1987831]mrchambo[/MENTION] x2!!

[MENTION=951929]jason1332[/MENTION]

[MENTION=5073488]ffejy462[/MENTION] x2!!

[MENTION=1121397]ALIEN-3-[/MENTION]

[MENTION=2371208]fordmanck[/MENTION]

[MENTION=5268060]DoubleDeuce22[/MENTION]

[MENTION=4520814]matthewtyson[/MENTION]

[MENTION=5846872]springtea[/MENTION]

[MENTION=4953868]bos1[/MENTION]

[MENTION=4665288]Steamer86[/MENTION]

William A

[MENTION=3041761]glhelinski[/MENTION]

[MENTION=4559393]zourn[/MENTION]

[MENTION=5003221]16vmonty[/MENTION]

Josh K

[MENTION=5073488]ffejy462[/MENTION] x3!!!

[MENTION=3071607]cramjammer[/MENTION]

[MENTION=5647544]SchmidtA99[/MENTION]

Brett P

[MENTION=2960201]supermoocow5[/MENTION]

[MENTION=3779769]wgilles[/MENTION]

[MENTION=3893661]thephatness[/MENTION]

[MENTION=5193357]FatHeadBob[/MENTION]

[MENTION=4795150]annoyingduck[/MENTION]

[MENTION=5540304]theclash150[/MENTION]

[MENTION=4977952]puothy[/MENTION]

[MENTION=5457610]jhorn85[/MENTION]

[MENTION=5156151]JDROIDS[/MENTION]

[MENTION=1550781]usefulidiot127[/MENTION]

[MENTION=1307733]jasonsf[/MENTION]

David M

[MENTION=2854589]slu2th4hire[/MENTION]

[MENTION=5645255]icebergz12[/MENTION]
[MENTION=5972487]rustypie[/MENTION]
[Verizon LG G2] xdabbeb:
mine
[Verizon LG G2] xdabbeb:
punk :)
[Verizon LG G2] cynikalJ:
Yea, the G2 is still in my opinion the best phone you can buy right now. I can't wait to try the rom. Downloaded the first one, then saw the bad upload so I deleted it. Waiting on the new one. Great dev, should be a great rom
[Verizon LG G2] xdabbeb:
It's uploading now (slowly). Sorry about that.
[Verizon LG G2] DoubleDeuce22:
Looks perfect to me. Can't wait to try it.
[Verizon LG G2] l3lueberries:
Is the 24A bootstack compatible with the current AOSP ROMs available?
[Verizon LG G2] cynikalJ:
Nothing to be sorry about, it happens. Just glad I saw the post before I tried to flash :eek:
[Verizon LG G2] DoubleDeuce22:
Just noticed the fastboot part. If we are already on 24a and want to enable fastboot is it still safe to flash the bootstack zip?
[Verizon LG G2] Chuckleb0ne:
So wait... Is the build already uploaded and ready to go?
[Verizon LG G2] xdabbeb:
OP updated with link to DL. Please verify the md5s (available on the download page) match the file AFTER you have moved it to your device to be safe.

Depends on if they have updated their kernels, etc.

The zip in OP for laf is to enable Download Mode again after the bootstack zip gets rid of it (and thus enables fastboot). If you want fastboot instead of Download Mode, you could just edit the update-script to not flash the laf and just run the fb.sh script...or if people really want that I can do so.
[Verizon LG G2] Cloudyfa:
Good job, bud :good:
[Verizon LG G2] jayochs:
this rom is running great, thanks man!

everyone who wants a clean, no-problems KK rom, TRY THIS OUT! and this camera is great.

i'll be adding more sample pics to my post below OP.

seriously, flash this! glad i returned my GS5 yesterday and decided to keep my G2!

:good:
[Verizon LG G2] Mightycaptain:
So let me ask obvious questions here. Surprised no one has asked yet. This appears to be the easiest path yet to stock kk. These things are not in the OP so I'm assuming they are irrelevant.

1. If your running AOSP ROM currently no need to go back to stock or be running custom stock ROM first?

2. Do you need to also flash KK radio?

3. Any version of TWRP really is okay to start so long as its above 2.6.3.3? From any bootstack version 10B,11A, 12B?

I means this seems to straight forward its like is this one of those 2 good 2 be true things. I mean compared to everything else kit kat the last week. If all of the above is true, superb job. Very impressed. Deserve accolades and many thanks. And if it is this easy why is this thread not being lit up.
[Verizon LG G2] Dick Ripple:
I believe the first zip flashes the propriety bits from the 24a update including the radio. No need to be on stock beforehand. I assume this thread isn't being "lit up" because those who didn't do it the manual way probably used jake days zip that was released two days ago. It's really awesome the devs made this process so easy for us newbs.
[Verizon LG G2] xdabbeb:
1) Correct. No need whatsoever. I wanted to make it easy.

2) No, this takes care of that...just follow the full set of steps with the bootstack zip

3) Correct. It may even work with twrp 2.6.3.2, but I didn't test it. Honestly, after you flash the bootstack zip it updates you to twrp 2.7.0.0 anyway.

Thanks! Hope you enjoy it.
[Verizon LG G2] rmcomer:
It's near the bottom of this post: http://xdaforums.com/showthread.php?t=2477586
[Verizon LG G2] mysterysauce:
I flashed the zip to this seems louder to me http://xdaforums.com/showthread.php?t=2705260
[Verizon LG G2] zathus:
Unless vzw pushes 4.5 then there should be no update to take by mistake in the first place.
[Verizon LG G2] Mightycaptain:
Did have issue today. Bluetooth used like 20% battery. The problem is it was never enabled. So not sure about that. But it was keeping the phone awake.
[Verizon LG G2] burkett375:
The only way I was able to fix that was with a wipe and reinstall. Good luck.
[Verizon LG G2] Mightycaptain:
I was afraid I was going to have to go that route. Thanks.
[Verizon LG G2] jayochs:
no no no, before you do, go into a real battery monitoring app like GSAM, and see if bluetooth ever held it awake.

there's a kitkat bug where bluetooth shows up as keeping awake for hours and hours, but it's not actually doing it, and it's NOT draining battery. go get another battery app and check. mine does the same thing, but GSAM and better battery stats show bluetooth didn't use up an ounce of battery!
[Verizon LG G2] philsfan:
+1

I thought I had the same issue. I even froze Bluetooth with TB and it still showed up as eating battery. GSAM and/or better battery stats made clear it's just a reporting error tho.
[Verizon LG G2] millerthyme2g0:
My debug problem went away after I flashed the laf.zip file for download mode.
[Verizon LG G2] xdabbeb:
Thank you all for the support, emails, pms, etc. It was totally unexpected, but truly appreciated and I will reply to all of you personally. It's great that the matter is resolved and that there is a system in place to allow for these situations to be corrected. Everyone (including mods) can make mistakes so no hard feelings there. That's all I will say about it.

I will post the files in the OP as soon as I can, but I'm actually doing my taxes now. Oops.
[Verizon LG G2] mrchambo:
All thanks to you, xdabbeb...been running your KK build since it dropped with nary a hitch. Thanks and glad you're back. Looking forward to more amazing stuff from you.
[Verizon LG G2] Rodeojones:
Come on, you've got a while day left to do your taxes.

I kid. Glad to see you back. I was just about to give your ROM a try when the files were pulled. Hope you've got a nice refund heading your way.
[Verizon LG G2] HueyT:
Amen brother !!! :good:

Glad to have you back.

Only sure things in life: Death and Taxes :crying:
[Verizon LG G2] bsems1000:
Ok..so is this okay to download? I'm on stock 24A. I didnt/don't have the time to,scroll through and read all the posts..
[Verizon LG G2] mrchambo:
Yes sir. Check your md5 and flash away. I recommend clean flash.
[Verizon LG G2] jasondowning85:
You'll have to wait for him to upload the files again
[Verizon LG G2] mrchambo:
Then there's that...
[Verizon LG G2] sefirosu0522:
Very glad to have you again. Thanks so much for what you do for the ones that don't know how!
[Verizon LG G2] TexasRules777:
Awesome you're back man.. Tired of other roms.
[Verizon LG G2] Melodycd:
Glad that you returned! Can't wait to flash ROM. By the way, as i understand it is first ever made by you ROM here on XDA? May be i missed somthing on other devices, but i didn't see it before.
[Verizon LG G2] dnargsiefil:
Question on the head set volume... it seems like that when I plug in my wired headset, I get 100% volume in the headset... as long as the headset is plugged in also the speakerphone is at 100% volume and is not adjustable via the volume keys.

When you unplug the headset, the volume will be according to settings and sis adjustable.

I'm installed last night 1.1.1 with the Gapps 5/2/14

All else is working great so far.
[Verizon LG G2] jason1332:
I am also seeing this problem and reported it about 10 pages back. I am sure it will be addressed.
[Verizon LG G2] dnargsiefil:
does anyone see an un-proportional battery symbol... its seems like it shows about 75% on the icon but it is really 50%... don't know if something changed here or if it has always been like this... don't remember.
[Verizon LG G2] ang1dust:
2 issues so far,

Alarm sound starts at about 30% , if I adjust it and save the sound moves to 0. The only way to keep sound is to delete Alarms and keep the volume at 30%.

Also I can't seem to get the keyboard to use speech to text. It's checkmark ed but grey....I have tts LG and Google.

I can be dumb as times so if I overlook something nicely correct me: )

Oh lastly I have 0mods currently....I would like to use dorminax kernel but it's not working with 1.1.1 but I posted on that thread not sure if it will ever get fixed.

Thanks in advance
[Verizon LG G2] frackingdren:
Can you refer to a post from the developers that mentions there is a bug in the current beta?

http://www.swiftkey.net/en/blog/new-update-for-swiftkey-emoji-beta/

I know someone else that's using the current beta and doesn't have problems with flow with their LG G2.
[Verizon LG G2] jesssiii:
Did you install the LG Alarm fix posted a ways back?

http://xdaforums.com/showthread.php?p=52498552

VZW G2 (VS980) XDABBEB'S 24A
[Verizon LG G2] SpunkyXL:
If I'm coming from a previous version of XDABBEB can I just do a wipe and install the MD5 Rom: Or do I still need to go through the whole process as listed in the first post?
[Verizon LG G2] Mightycaptain:
Wipe and install.
[Verizon LG G2] DeaconBoogie:
I just realized a few of the LG widgets I like are removed. I see them in the flashable ZIP package, but there are other things in there that I do not want.

How do I selectively install some of the removed LG widgets from the flashable ZIP?
[Verizon LG G2] bravac:
delete them in the zip and then flash
[Verizon LG G2] jadams161:
http://support.swiftkey.net/forums/...817070-typing-causes-content-to-zoom-in-lg-g2

I had this issue too.
[Verizon LG G2] ffejy462:
Or flash and delete/freeze/disable. Either way works.

If you ( [MENTION=2866323]DeaconBoogie[/MENTION] ) flashed 1.0, everything is already there, just frozen/disabled. Just thaw/enable.