Page 1 of 2

Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 4:24 am
by Luscombag
I have searched the forum and wiki and can't find the solution to my problem. I first tried streaming Online Content (RSS) after the 0.6.1 release from my Ubuntu 11.10 system and it didn't work. I assumed I was doing something wrong and gave up. After the 0.6.2 release I put Serviio on my Windows 7 laptop and tried my had at the online content again. To my amazement it worked beautifully. So I went to my Ubuntu system and did the exact same thing, nothing. It shows the feed folders I made and when I open them it says "There are no titles". I then researched and saw that configuring the ffmpeg is required, which I had not done. So I copied and pasted all the directions, in order, from http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux The only thing I was unsure of was when it got to the "Build and Install FFmpeg" section it says "This guide uses latest FFmpeg source, Serviio is tailored to work with a certain version though - the source can be downloaded at http://www.serviio.org/download" which confused me a bit so I just copied and pasted the text in the box below that into Terminal as I had done with the rest. I don't know if this is where the issue lies or not.

I put in the plugins and RSS feeds exactly as I did on the Windows 7 machine that works fine. Both systems stream and transcode local media perfectly. The online content from the Ubuntu machine is where I am having the issues.

I would be very grateful for any help with this matter. I have only been using Ubuntu/Linux for about 4 months now, so I am still in the learning process on how all of this stuff works. If logs and such are required, I may need specific instructions on how to access and make sure I am looking at the right log.

Thank you in advance!

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 4:51 am
by Cerberus
can you run ffmpeg -i and paste the output here please :)

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 4:56 am
by Luscombag
Cerberus wrote:can you run ffmpeg -i and paste the output here please :)


Here it is ...
  Code:
ffmpeg version git-2012-02-07-b479e01 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  6 2012 21:07:54 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
  libavutil      51. 38.100 / 51. 38.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.100 /  2. 62.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Missing argument for option 'i'

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 5:38 am
by jhb50
he means run ffmpeg -i "your-online-url"

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 5:50 am
by Luscombag
jhb50 wrote:he means run ffmpeg -i "your-online-url"


Ok, I think this is what you mean. I tried 2 urls that work on my Windows machine. Sorry for being such a Linux noob :D Thank you both for your help.
  Code:
luscombag@Ubuntu-Media:~$ ffmpeg -i http://www.hulu.com/feed/show/58/episodes
ffmpeg version git-2012-02-07-b479e01 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  6 2012 21:07:54 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
  libavutil      51. 38.100 / 51. 38.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.100 /  2. 62.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
http://www.hulu.com/feed/show/58/episodes: Invalid data found when processing input


  Code:
luscombag@Ubuntu-Media:~$ ffmpeg -i https://sites.google.com/site/serviiorss/LiveFeeds_HD_Channels.rss
ffmpeg version git-2012-02-07-b479e01 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  6 2012 21:07:54 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
  libavutil      51. 38.100 / 51. 38.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.100 /  2. 62.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
https://sites.google.com/site/serviiorss/LiveFeeds_HD_Channels.rss: No such file or directory

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 6:00 am
by jhb50
You can't run ffmpeg against a container like rss, only against a file or straem containing audio & video. You need to look in the Serviio Debug log to see how thes rss are processed.

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 6:06 am
by Cerberus
actualy JHB50 he did exactly as i wanted him to ;) all i wanted to see was the config information of ffmpeg. :) to check it was configured correct and it is so its not ffmpeg issue. :) I have a feelig the rss feed he is using are not valid that why they dont work can you provide him with some known working ones as your more involved with feed tahn i am. :)

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 7:34 am
by Luscombag
Ok, I don't know what happened but now, some of my feeds are working. All my SD live feeds are working, the HD live feeds show up but give me a network/Media Server error on my PS3 of (00000000). None of my Hulu Feeds are working and yes I downloaded the latest hulu.groovy that was just posted. The Hulu feeds keep saying "There are no titles" The exact same feeds work on my Win7 laptop. I think the HD channel issue is something different because both machines have that issue, It may have something to do with my Old HDTV that's currently displaying at 480p.

If someone could help me figure out my issue with the Hulu feeds, I would be very appreciative.

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 8:01 am
by Cerberus
Luscombag wrote:Ok, I don't know what happened but now, some of my feeds are working. All my SD live feeds are working, the HD live feeds show up but give me a network/Media Server error on my PS3 of (00000000). None of my Hulu Feeds are working and yes I downloaded the latest hulu.groovy that was just posted. The Hulu feeds keep saying "There are no titles" The exact same feeds work on my Win7 laptop. I think the HD channel issue is something different because both machines have that issue, It may have something to do with my Old HDTV that's currently displaying at 480p.

If someone could help me figure out my issue with the Hulu feeds, I would be very appreciative.


that maybe because PS3 profile needs editing, will have to work on that at some point.

Re: Online Content "There Are No Titles"

PostPosted: Tue Feb 07, 2012 8:20 pm
by Luscombag
I awoke this morning and all my HD feeds were now working on both machines. Every feed is working on Windows 7, but Ubuntu will not display the Hulu feeds. Again they are exactly the same feeds on both machines. I get the following error in the log when it tries to read/update the hulu feed...

  Code:
2012-02-07 12:49:47,309 WARN  [FeedUpdaterThread] Failed to retrieve online item information for rtmpe://cp39466.edgefcs.net/ondemand?auth=daEbGcKa7dSdbchapckbAdibbb6c2clczbf-bpmxjh-c0-YpLBAFr1Bzt&aifp=sll02152008&slist=hulu18/817/60021817;.international=false&hgt=OZU7Pvs7j27-nhteNno7wkpXhzldfLmeUCQ4iRhjlZp1XjSwqJYMBmrGQ0zYXXw1cytJkhMAgygqNMYd60ABTyWAzBfbRBH4R6PL_SpRzWC6Qb6jUNaRBHzGVhunmkTvXQvDzqbd5dV21zWgQZ3Km9IT3A0akWi_-LCURo0mrgQoBhCVZo2yUYowlFYmGnbz5v_fodHbRchJv68Fj0DNdT4QGqyXoVcUo6HncAUftPg2UMbLIhmfnwYbO5PxNbpp&hgt_ver=331370278 app=ondemand?auth=daEbGcKa7dSdbchapckbAdibbb6c2clczbf-bpmxjh-c0-YpLBAFr1Bzt&aifp=sll02152008&slist=hulu18/817/60021817;.international=false&hgt=OZU7Pvs7j27-nhteNno7wkpXhzldfLmeUCQ4iRhjlZp1XjSwqJYMBmrGQ0zYXXw1cytJkhMAgygqNMYd60ABTyWAzBfbRBH4R6PL_SpRzWC6Qb6jUNaRBHzGVhunmkTvXQvDzqbd5dV21zWgQZ3Km9IT3A0akWi_-LCURo0mrgQoBhCVZo2yUYowlFYmGnbz5v_fodHbRchJv68Fj0DNdT4QGqyXoVcUo6HncAUftPg2UMbLIhmfnwYbO5PxNbpp&hgt_ver=331370278 playpath=mp4:hulu18/817/60021817/agave50246230_8726800_H264_1000.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:273)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:208)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:101)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:344)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:87)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:255)
   ... 2 more


Thank you for your quick responses, I hope this is a simple fix that I am over looking. Could it be something with MP4 ro Flash?

Re: Online Content "There Are No Titles"

PostPosted: Wed Feb 08, 2012 12:34 am
by jabrown0604
I have been dabbling with ubuntu here lately and one thing I have noticed is to always make sure you have the permissions you need to run the files or scripts you need to run. It's not a solution but maybe a place to start looking.

Re: Online Content "There Are No Titles"

PostPosted: Tue Nov 13, 2012 5:19 am
by hbradlow
I have exactly the same issue: I have a feed (ITV player) that works perfectly on my Windows 7 machine, but does not work (with exactly the same error messages) as above, on my Ubuntu 12.04 machine.

Was there a resolution to this?

Re: Online Content "There Are No Titles"

PostPosted: Tue Nov 13, 2012 2:33 pm
by zip
Probably old FFmpeg

Re: Online Content "There Are No Titles"

PostPosted: Thu Nov 15, 2012 10:15 am
by hbradlow
Zip

Thank you for the reply. Can you tell whether I have old ffmpeg by looking at the License information below? I thought I had downloaded the latest one. I would appreciate your help.

ffmpeg version git-2012-11-10-2d71f31 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 13 2012 14:45:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 52. 5.100 / 52. 5.100
libavcodec 54. 71.100 / 54. 71.100
libavformat 54. 36.100 / 54. 36.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 21.106 / 3. 21.106
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
This version of ffmpeg has nonfree parts compiled in.
Therefore it is not legally redistributable.

Re: Online Content "There Are No Titles"

PostPosted: Thu Nov 15, 2012 1:38 pm
by zip
That looks ok. Are there any errors in your log?

Re: Online Content "There Are No Titles"

PostPosted: Thu Nov 15, 2012 11:52 pm
by hbradlow
Zip thanks for the prompt reply. There are errors in my log when it tries to update the feed. Here is what it says (I get the same error for iPlayer and ITV Player).

2012-11-14 10:02:12,991 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://bbcmedia.fcod.llnwd.net:1935/ app=a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/400kbps/b01nxysp_1352779908.mp4,iplayerstream/secure_auth/800kbps/MP/b01nxysp_1352779919.mp4,iplayerstream/secure_auth/480kbps/MP/b01nxysp_1352779918.mp4,iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4&et=1352854928&fmta-token=e0decedf3b626313a43736e1b1c43a7f818cd9d9ae80aadca172442aba0d8aaa tcUrl=rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/400kbps/b01nxysp_1352779908.mp4,iplayerstream/secure_auth/800kbps/MP/b01nxysp_1352779919.mp4,iplayerstream/secure_auth/480kbps/MP/b01nxysp_1352779918.mp4,iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4&et=1352854928&fmta-token=e0decedf3b626313a43736e1b1c43a7f818cd9d9ae80aadca172442aba0d8aaa playpath=mp4:iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:382)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:86)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:124)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
... 2 more

Re: Online Content "There Are No Titles"

PostPosted: Fri Nov 16, 2012 12:33 pm
by zip
ok. try to efresh the online feed, then look at the log again and poste result of ffmpeg -i "rtmp url". It wont work with the one you posted because it expired in the meantime, so you have to do it with a fresh url.

Example:

  Code:
ffmpeg -i " rtmp://bbcmedia.fcod.llnwd.net:1935/ app=a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/400kbps/b01nxysp_1352779908.mp4,iplayerstream/secure_auth/800kbps/MP/b01nxysp_1352779919.mp4,iplayerstream/secure_auth/480kbps/MP/b01nxysp_1352779918.mp4,iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4&et=1352854928&fmta-token=e0decedf3b626313a43736e1b1c43a7f818cd9d9ae80aadca172442aba0d8aaa tcUrl=rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/400kbps/b01nxysp_1352779908.mp4,iplayerstream/secure_auth/800kbps/MP/b01nxysp_1352779919.mp4,iplayerstream/secure_auth/480kbps/MP/b01nxysp_1352779918.mp4,iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4&et=1352854928&fmta-token=e0decedf3b626313a43736e1b1c43a7f818cd9d9ae80aadca172442aba0d8aaa playpath=mp4:iplayerstream/secure_auth/1500kbps/MP/b01nxysp_1352779602.mp4 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1"

Re: Online Content "There Are No Titles"

PostPosted: Sat Nov 17, 2012 2:42 am
by hbradlow
Zip, thanks. Here is the post of the data you requested (I hope I got it right).

root@UK:/serviio-1.0.1/log# ffmpeg -i "rtmp://bbcmedia.fcod.llnwd.net:1935/ app=a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/1500kbps/MP/b019j11p_1352923405.mp4,iplayerstream/secure_auth/400kbps/b019j11p_1352923984.mp4,iplayerstream/secure_auth/800kbps/MP/b019j11p_1352923912.mp4,iplayerstream/secure_auth/480kbps/MP/b019j11p_1352923982.mp4&et=1353127165&fmta-token=03e4e31e74ec3ffb43e76cd245e4310c6f16d3c4845dfda600c489b951d323a0 tcUrl=rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/1500kbps/MP/b019j11p_1352923405.mp4,iplayerstream/secure_auth/400kbps/b019j11p_1352923984.mp4,iplayerstream/secure_auth/800kbps/MP/b019j11p_1352923912.mp4,iplayerstream/secure_auth/480kbps/MP/b019j11p_1352923982.mp4&et=1353127165&fmta-token=03e4e31e74ec3ffb43e76cd245e4310c6f16d3c4845dfda600c489b951d323a0 playpath=mp4:iplayerstream/secure_auth/1500kbps/MP/b019j11p_1352923405.mp4 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1"
ffmpeg version git-2012-11-10-2d71f31 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 13 2012 14:45:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 52. 5.100 / 52. 5.100
libavcodec 54. 71.100 / 54. 71.100
libavformat 54. 36.100 / 54. 36.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 21.106 / 3. 21.106
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Segmentation fault

Re: Online Content "There Are No Titles"

PostPosted: Sat Nov 17, 2012 5:31 pm
by zip
  Code:
Segmentation fault


Not sure what that means but your FFmpeg cannot read the stream.

Re: Online Content "There Are No Titles"

PostPosted: Sun Nov 18, 2012 12:06 am
by ottomatic
In both cases it seems that the url:s need to be decrypted using flash.

Have you got flash installed on your Ubuntu machine?

https://help.ubuntu.com/community/Restr ... mats/Flash