HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: fismineur on 2011-02-26 00:10:57

Title: foo_flv
Post by: fismineur on 2011-02-26 00:10:57
Allows you to play Flash Video (.FLV) files on foobar2000.
This currently supports PCM, MP3, and AAC audio codecs.

Download: Flash Video Decoder 0.9.1 (foo_flv.dll) (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=6377)

[a href='index.php?showtopic=86913']All versions and changelog[/a]
Title: foo_flv
Post by: joelzhao on 2011-02-26 02:18:00
Thanks, I'll try this soon.
Title: foo_flv
Post by: euphonic on 2011-02-26 14:53:00
Thank you! It's something I've wished for for some time now. Works fine on my setup.
Title: foo_flv
Post by: Nixdagibts on 2011-02-26 20:20:31
Works good. Thank you.

Could you add support for writing ID3 tags into flv files?
At this point its only possible to view them with foobar.
(flv could contain tags)
Title: foo_flv
Post by: kode54 on 2011-02-27 00:08:21
Why would FLV files even support tags? They're not a general use format. Stop downloading your music from YouTube, damnit.
Title: foo_flv
Post by: Nixdagibts on 2011-02-27 01:05:14
Theres no reason to be aggressive.
It is just a question.
Title: foo_flv
Post by: skexu on 2011-02-27 12:26:18
There are tracks we can find ONLY on Youtube. I understand it. But I haven't even thought of ID3 tags in a VIDEO file, lol (prove me wrong)
Title: foo_flv
Post by: Nixdagibts on 2011-02-27 12:29:54
You are right.
Most of my favorite mashups are only on youtube.
Even some literal video versions make more sense on youtube so they are only puplished there.

Title: foo_flv
Post by: fismineur on 2011-02-27 16:50:03
Could you add support for writing ID3 tags into flv files?
At this point its only possible to view them with foobar.
(flv could contain tags)

Yes, the current version can parse and display metadata contained in FLV files, but cannot write.
A future version, if any, might support tag writing.
Title: foo_flv
Post by: joelzhao on 2011-02-28 00:48:05
Some of the internet stream provide flv format, I tested several radio stations, some can work, but most of them can't.
There is sample:
http://api.cztv.com/channels/1601/128.flv/live (http://api.cztv.com/channels/1601/128.flv/live)
rtmp://fm935_2564078
Waiting for the next version that can support those format,THX!
Title: foo_flv
Post by: kode54 on 2011-02-28 01:21:12
That sounds like it would require implementing streaming support.

Also, what work is needed for AAC profile detection? Don't the packet decoder services provide that information for free?
Title: foo_flv
Post by: fismineur on 2011-03-01 03:10:57
Some of the internet stream provide flv format, I tested several radio stations, some can work, but most of them can't.
There is sample:
http://api.cztv.com/channels/1601/128.flv/live (http://api.cztv.com/channels/1601/128.flv/live)
rtmp://fm935_2564078

I found the first sample had a mime type of "video/flv" (I couldn’t open the second one). I made this type acceptable. Previous versions only accepted "video/x-flv", which is the correct mime type for FLV. In addition, fixed minor bugs related to handling streaming files. The sample above works now, but some streaming files still don’t work due to other reasons.

Download: Flash Video Decoder 0.9.2 (foo_flv.dll) (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=6380)

Also, what work is needed for AAC profile detection? Don't the packet decoder services provide that information for free?

In the current version, I call the packet_decoder::analyze_first_frame method (and then packet_decoder::reset_after_seek) against AAC decoders. Without this, provided information such as profile name and sample rate could be incorrect, especially with HE-AAC v1/v2 profiles as far as I’ve tested.
Previous versions couldn't use the packet_decoder and file_info classes in the right way, just because of my lack of skills in component development.
Title: foo_flv
Post by: kode54 on 2011-03-01 03:33:23
Ah, good.
Title: foo_flv
Post by: joelzhao on 2011-03-01 03:49:02
Thank you very much, it do works.
Title: foo_flv
Post by: Nowings69 on 2011-03-01 04:41:43
Very cool!
I use rtmpgw.exe for rtmp
Thank you very much


  (http://img297.imagevenue.com/loc565/th_954798143_01_122_565lo.jpg) (http://img297.imagevenue.com/img.php?image=954798143_01_122_565lo.jpg)
Title: foo_flv
Post by: joelzhao on 2011-03-02 04:14:10
In GOTRADIO, all the stream is rtmp protocol, I think these stations are flv format, would you please work it out?
The address link: http://www.gotradio.com (http://www.gotradio.com)
Title: foo_flv
Post by: Nowings69 on 2011-03-02 05:31:18
This is limitation for people where living in the suburbs of Tokyo.

radiko (http://radiko.jp/)

I use rtmpgw.exe with foo_run
Code: [Select]
rtmpgw --rtmp "rtmpe://radiko.smartstream.ne.jp:1935" --playpath "simul-stream" --swfUrl "http://radiko.jp/player/swf/player_2.0.1.00.swf" --pageUrl "http://radiko.jp/player/player.html#TBS live=1" --flashVer "LNX 10,0,45,2" --live --device 127.0.0.1 --sport 8091

This code copy to Notepad and change extension *.pls
Code: [Select]
[playlist]
File1=http://127.0.0.1:8091/?a=TBS%2f_defInst_
Title1=TBSラジオ
URL=http://radiko.jp/timetable/
Length1=-1

File2=http://127.0.0.1:8091/?a=QRR%2f_defInst_
Title2=文化放送
URL=http://radiko.jp/timetable/
Length2=-1

File3=http://127.0.0.1:8091/?a=LFR%2f_defInst_
Title3=ニッポン放送
URL=http://radiko.jp/timetable/
Length3=-1

File4=http://127.0.0.1:8091/?a=NSB%2f_defInst_
Title4=ラジオNIKKEI
URL=http://radiko.jp/timetable/
Length4=-1

File5=http://127.0.0.1:8091/?a=INT%2f_defInst_
Title5=InterFM
URL=http://radiko.jp/timetable/
Length5=-1

File6=http://127.0.0.1:8091/?a=FMT%2f_defInst_
Title6=TOKYO FM
URL=http://radiko.jp/timetable/
Length6=-1

File7=http://127.0.0.1:8091/?a=FMJ%2f_defInst_
Title7=J-WAVE
URL=http://radiko.jp/timetable/
Length7=-1


NumberOfEntries=7
Version=2


Like this
(http://img132.imagevenue.com/loc411/th_043724542_01_122_411lo.jpg) (http://img132.imagevenue.com/img.php?image=043724542_01_122_411lo.jpg)
   

Title: foo_flv
Post by: fismineur on 2011-03-05 13:15:16
I’ve been able to get some streaming FLVs to play properly by unchecking the box labeled “Enable dynamic track titles” in File > Preferences > Networking.

An example (http://u12b.sky.fm/sky_classical_aacplus.flv.pls) (via http://u12b.sky.fm/ (http://u12b.sky.fm/) )

RTMP hasn’t worked on my setup yet.
Title: foo_flv
Post by: fismineur on 2011-03-14 00:18:47
Implemented tag writing and ReplayGain support.

Download: [a href='index.php?act=findpost&pid=748118']Flash Video Decoder 0.9.3 (foo_flv.dll)[/a]
Title: foo_flv
Post by: Nixdagibts on 2011-03-14 18:26:04
Big <3
Title: foo_flv
Post by: fismineur on 2011-03-24 02:08:14
Tag editing improvements and speed optimizations.

Download: [a href='index.php?act=findpost&pid=749305']Flash Video Decoder 0.9.4 (foo_flv.dll)[/a]
Title: foo_flv
Post by: fismineur on 2011-05-21 12:12:09
Download: [a href='index.php?act=findpost&pid=756522']Flash Video Decoder 0.9.5 (foo_flv.dll)[/a]
Title: foo_flv
Post by: mire777 on 2012-10-22 16:57:43
Can this plugin play sound directly from video on youtube by entering path in ''add location''?
if i enter this: http://www.youtube.com/watch?v=lDK9QqIzhwk (http://www.youtube.com/watch?v=lDK9QqIzhwk). I want to hear sound in foobar from that video..
I tried everything but it does not work. It can only play FLV files on hard disk,
so can you add this possibility.

It would be great that someone make a plugin which allows us to have search option from youtube in foobar, playlist from youtube, and ability only for play sound for each selected video. Should look the same as last.fm radio plugin.
Anyone interested for this?
I think If someone makes this, foobar would be universal player.
We already have all possible plugins, this is the only one missing...
Title: foo_flv
Post by: spidgorny on 2012-10-24 10:28:34
Can this plugin play sound directly from video on youtube by entering path in ''add location''?

+1
Title: foo_flv
Post by: fismineur on 2012-12-29 02:57:13
Download: [a href='index.php?act=findpost&pid=818695']Flash Video Decoder 0.9.6 (foo_flv.dll)[/a]

Added support for foobar2000 v1.2. The previous versions of foo_flv can not decode AAC audio with foobar2000 v1.2. (It seems the AAC packet decoder of foobar2000 v1.2 requires an ADTS header followed by each AAC packet)
Title: foo_flv
Post by: lvqcl on 2012-12-29 14:25:07
Thanks for thr update.

I wrote that it doesn't work correctly with HE-AAC but probably it was wrong: I cannot reproduce an issue.
Title: foo_flv
Post by: emte on 2013-04-30 10:23:22
Is it possible to stream audio from youtube videos by adding link with add location? If not, would it be possible to implement?
Title: foo_flv
Post by: mire777 on 2013-08-01 00:41:19
Is it possible to stream audio from youtube videos by adding link with add location? If not, would it be possible to implement?


No this is not possible with foo_flv i I tried this.
I think that we don't need to watch the video in foobar, but just listen. And to have some preview with images in Playlist. And search option.
I think that this is not dificult to implement in foobar, at all.. , try this script on your browser:

<script src="http://www.yvoschaap.com/ytpage/ytembed.js" type="text/javascript"></script>
<div id="ytThumbs"></div>

<script type="text/javascript">
   ytEmbed.init({'block':'ytThumbs','q':'madonna','type':'search','results':10,'order':'most_relevance','player':'embed','layout':'full'});
</script>

*save this as ''html'' and run.

or try to type this adress in browser(this is a small youtube player):
http://1nltui3li1cdki8kde21baj1igs7ekjc.ig...l&hl=en-GB# (http://1nltui3li1cdki8kde21baj1igs7ekjc.ig.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube_videos.xml&hl=en-GB#)

This shows how work youtube html. But now you have youtube API, and all you need to run video in aplication. This work perfect.
All this can be added in foobar with some WSH script or simmilar...

Problem is sound, maybe foo_flv can be modified to support online stream, and sound....

But no one is interested for this, some developer?
I wonder why?
Title: foo_flv
Post by: werh2i3ju4 on 2013-11-25 21:11:26
Is it possible to see video? Or audio only?
Title: foo_flv
Post by: detmek on 2013-11-25 22:31:43
Audio only. No video preview.
Title: Re: foo_flv
Post by: Moppelkotze on 2019-12-30 23:05:25
Hello,

any place where I can still get foo_flv from ?
Please let me know, I really need it for my sweet Foobar.
Thank you.
Title: Re: foo_flv
Post by: Case on 2019-12-31 06:55:41
If the component is no longer available you should be able to play the same formats with FFmpeg input (http://www.foobar2000.org/components/view/foo_input_ffmpeg).
Title: Re: foo_flv
Post by: Moppelkotze on 2020-01-01 00:07:08
Thx Case, but it does not work with .flv files Foobar still keeps skipping them, it does play .mp4 files.
I would appreciate if someone who uses foo_flv.dll would upload it.
Title: Re: foo_flv
Post by: kode54 on 2020-01-01 00:24:40
You have to manually add extensions to the FFmpeg input, and install a copy of FFmpeg. If it still doesn't work, dunno what to tell you.
Title: Re: foo_flv
Post by: Moppelkotze on 2020-01-01 01:02:04
You have to manually add extensions to the FFmpeg input, and install a copy of FFmpeg.

I am not sure what you are trying to tell me, I installed the component and it plays .mp4 files now, .flv is not compatible with mpeg if I am not wrong.
I have the ffmpeg.exe and ffprobe.exe folder specified and added .flv as format (Playback > Decoding > FFmpeg Decoder Wrapper) but it fails to play it.
Title: Re: foo_flv
Post by: kode54 on 2020-01-01 01:12:32
FFmpeg supports a whole mess of formats. You'll need to add the extension to the FFmpeg input settings manually.
Title: Re: foo_flv
Post by: Moppelkotze on 2020-01-01 01:35:45
Now that I checked "Show codec names from FFmpeg" it works, thank you very much.