WFMU MP3 Archive: Hello Children with Faye from Jun 25, 2017   
Listen to MP3 audio archive from Hello Children with Faye on WFMU, from Jun 25, 2017
          WFMU MP3 Archive: Hello Children with Faye from Jun 18, 2017   
Listen to MP3 audio archive from Hello Children with Faye on WFMU, from Jun 18, 2017
          WFMU MP3 Archive: Hello Children with Faye from Jun 11, 2017   
Listen to MP3 audio archive from Hello Children with Faye on WFMU, from Jun 11, 2017
          WFMU MP3 Archive: Hello Children with Faye from Jun 4, 2017   
Listen to MP3 audio archive from Hello Children with Faye on WFMU, from Jun 4, 2017
          WFMU MP3 Archive: Hello Children with Faye from May 30, 2013   
Listen to MP3 audio archive from Hello Children with Faye on WFMU, from May 30, 2013
          Daily m3u playlist 1 July 2017 (New)   




http://cemil.300panel3.com:8080/get.php?username=miehonjz&password=7wkYJq702j&type=m3u

http://nextiptv.ddns.net:2580/get.php?username=6085F2CBdb&password=6085F2CBdb&type=m3u

http://alb-tv.dyndns.tv:8000/get.php?username=0wBIAtLFOG&password=oeKHA8GJdg&type=m3u&output=ts

https://vk.com/doc204383802_447152520?hash=2a0d4a1652e18f883c&dl=ccf086175e56662a8b

http://rckiptv.ddns.net:7676/get.php?username=nqashalhob&password=nqashalhob&type=m3u

http://212.47.240.182:8000/get.php?username=0wBIAtLFOG&password=oeKHA8GJdg&type=m3u&output=ts

http://91.202.14.3:8001/playlist.m3u8

http://141.136.241.10:9981/playlist

http://185.39.194.17:2221/playlist.m3u8

http://185.39.194.17:2222/playlist.m3u8

http://185.39.194.17:2224/playlist.m3u8

http://185.39.194.17:2225/playlist.m3u8

http://185.39.194.17:2226/playlist.m3u8

http://185.39.194.17:2227/playlist.m3u8

http://185.39.194.17:2228/playlist.m3u8

http://185.39.194.17:2229/playlist.m3u8

http://185.39.194.17:2220/playlist.m3u8

http://62.167.57.5:1009/playlist.m3u8

http://62.167.57.5:1008/playlist.m3u8

http://62.167.57.5:1007/playlist.m3u8

http://62.167.57.5:1006/playlist.m3u8

http://62.167.57.5:1005/playlist.m3u8

http://62.167.57.5:1004/playlist.m3u8

http://62.167.57.5:1003/playlist.m3u8

http://62.167.57.5:1002/playlist.m3u8

http://62.167.57.5:1001/playlist.m3u8
 

          Daily m3u playlist 30 June 2017 (New)   




http://dexonline.ninja:8000/get.php?username=nancy&password=nancy&type=m3u

http://163.172.99.155:25461/get.php?username=AqEjDb24aU&password=1afERxBwLH&type=m3u

http://81.230.200.187:1967/get.php?username=htnS6QcLAE&password=XvdTcQn9sJ&type=m3u&output=mpegts

http://iptv.servidorfull.com:8081/get.php?username=Teste%2052&password=eMYAYZz6OA&type=m3u

http://portal.geniptv.com:8080/get.php?username=PXeT7MLaSF&password=9rM9yxuWFh&type=m3u

http://iptvsbh.ddns.net:8003/get.php?username=armindo&password=armindo&type=m3u

http://193.8.246.77:8008/playlist.m3u8

http://62.109.29.181:8000/playlist.m3u8

http://193.8.246.77:8002/playlist.m3u8

http://193.8.246.77:8003/playlist.m3u8

http://193.8.246.77:8004/playlist.m3u8

http://193.8.246.77:8006/playlist.m3u8
 

          Comment on 38- by simon_serobyan   
http://main2sb.everyon.tv:1935/etv2sb/pld10772/HasBahCa.m3u8
          imixtrack Real House 2017 V.7   




























สั่งซื้อ
ราคา :500 บาท
รูปแบบ:DVD-Folder 1 set
จำนวนเพลง : 100 เพลง
คุณภาพเสียง: mp3 320 kbs
DJ :Dj format unmix track
จัดส่ง EMS free,Download Link

          imixtrack Luxury House 13   








สั่งซื้อ
ราคา :500 บาท
รูปแบบ:DVD-Folder 1 set
จำนวนเพลง : 100 เพลง
คุณภาพเสียง: mp3 320 kbs
DJ :Dj format unmix track
จัดส่ง EMS free,Download Link
          Jazzpiainst Uli Lenz Concertrecording Radio 3.3.2010   
Hi!
Master Jazzpianist Uli Lenz live in concert recording,
live on Radio.





Livestream or Deutschlandradio

03.03.2010 8.03 pm 20.03 UHR CET (UTC/GMT +1 hour)
http://www.worldtimeserver.com/current_time_in_DE.aspx

Streamoption:
http://www.dradio.de/streaming/dkultur.m3u
http://www.dradio.de/wir/ogg/
http://www.dradio.de/streaming/dkultur.asx
http://www.dradio.de/aod/?station=3&stream=3&


http://www.dradio.de/dkultur/sendungen/konzert/1099244/


http://management.UFox.de
http://Ulilenz.de

Ulrich Fox
          WFMU MP3 Archive: The Evan "Funk" Davies Show from Jun 28, 2017   
Listen to MP3 audio archive from The Evan "Funk" Davies Show on WFMU, from Jun 28, 2017
          WFMU MP3 Archive: Liz Berg's show from Jun 30, 2017   
Listen to MP3 audio archive from Liz Berg's show on WFMU, from Jun 30, 2017
          WFMU MP3 Archive: Miracle Nutrition with Hearty White from Jun 29, 2017   
Listen to MP3 audio archive from Miracle Nutrition with Hearty White on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Shut Up, Weirdo with Frangry and Michele from Jun 30, 2017   
Listen to MP3 audio archive from Shut Up, Weirdo with Frangry and Michele on WFMU, from Jun 30, 2017
          WFMU MP3 Archive: Diane's Kamikaze Fun Machine from Jun 29, 2017   
Listen to MP3 audio archive from Diane's Kamikaze Fun Machine on WFMU, from Jun 29, 2017
          Mob of emus surround family car and refuses to move   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f6%2f17180fe6 a41d eb6e%2fthumb%2f00001 Read more...

More about Cars, Family, Birds, Funny Animals, and Emu
          WFMU MP3 Archive: Therese's show from Jun 29, 2017   
Listen to MP3 audio archive from Therese's show on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Strength Through Failure with Fabio from Jun 29, 2017   
Listen to MP3 audio archive from Strength Through Failure with Fabio on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Downtown Soulville with Mr. Fine Wine from Jun 30, 2017   
Listen to MP3 audio archive from Downtown Soulville with Mr. Fine Wine on WFMU, from Jun 30, 2017
          WFMU MP3 Archive: Steve Krinsky's show from Jun 29, 2017   
Listen to MP3 audio archive from Steve Krinsky's show on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Underwater Theme Park with Meghan from Jun 29, 2017   
Listen to MP3 audio archive from Underwater Theme Park with Meghan on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: The John Allen Show from Jun 29, 2017   
Listen to MP3 audio archive from The John Allen Show on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Bob W.'s show from Aug 24, 2016   
Listen to MP3 audio archive from Bob W.'s show on WFMU, from Aug 24, 2016
          Party, down: Fyre Festival founder Billy McFarland arrested and charged with wire fraud   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f5%2f398a6713 b681 c4d9%2fthumb%2f00001 Read more...

More about Fyre Festival, Fyre Fest, Billy Mcfarland, Entertainment, and Music
          Mob of emus surround family car and refuse to move   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f6%2f17180fe6 a41d eb6e%2fthumb%2f00001 Read more...

More about Cars, Family, Birds, Funny Animals, and Emu
          WFMU MP3 Archive: Marty McSorley's show from Jun 30, 2017   
Listen to MP3 audio archive from Marty McSorley's show on WFMU, from Jun 30, 2017
          WFMU MP3 Archive: Give The Drummer Some with Doug Schulkind from Jun 30, 2017   
Listen to MP3 audio archive from Give The Drummer Some with Doug Schulkind on WFMU, from Jun 30, 2017
          Party, down: Fyre Festival founder Billy McFarland arrested and charged with wire fraud   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f5%2f398a6713 b681 c4d9%2fthumb%2f00001 Read more...

More about Fyre Festival, Fyre Fest, Billy Mcfarland, Entertainment, and Music

          <6b5d2a26d62b118b6ef7a3240dc4e651>-[02/25] - "6b5d2a26d62b118b6ef7a3240dc4e651.m3u" yEnc   

alt.binaries.sounds.flac
24.13 KB
0 uur
2 bestanden (35 delen, 33 missend) door L3hqFEjnHQm6pDfcO <FHTWDy@bbNYuk.l9g7>


          Security forces surround Lashkar-e-Toiba militants in Anantnag, Bashir Lashkari suspected to be present   

Security forces and lashkar-e-taiba militants clash in Palmmora village, Anantnag. The militants take shelter in a house and are suspected to belong to Lashkar-e-taiba. The commander Bashir Lashkari , responsible for killing six police officers is also suspected to be present.

Domain: 
India
English Title: 
Security forces surround Lashkar-e-Toiba militants in Anantnag, Bashir Lashkari suspected to be present
Home Title: 

Security forces surround Lashkar-e-Toiba militants in Anantnag, Bashir Lashkari suspected to be present

IsYouTube: 
No
YT Code: 
http://vodakm.zeenews.com/vod/0107_ZN_YB_JAMMU.mp4/index.m3u8
Image: 

          Dorpsjuweel 2008: Sounds of The Netherlands   
In between installing our Library & Librarian, we try to keep agoin'on our Digital Audio Archive project: recording the sounds of the cities, countries & people we meet. We just met [again] the wonderful Ruigoord community [Amsterdam] in the Netherlands, and have been helping run Ruigoord Radio. We're not sure if there is live a stream up yet, so we've whacked up some of the audio we've been recording [see links to stream below] via The Internet Archive, so you can listen to it almost as soon as we have done gone recorded it! Enjoy!

"The artists enclave Ruigoord has now been flourishing as a cultural freeport for exactly 35 years. For so many years there has been a big summer festival on the fields surrounding the village inspired by the Amsterdam Balloon Company, the Landjuweel. But now around Ruigoord the march of industry draws ever closer and it’s time to give a new twist to the festival. So we have a whole new concept in mind: the Landjuweel comes to the village! This year the Juweel (meeting) will take place in the heart of the village and that in itself is an alchemical transformation."



Ken Parsons and [some of] the Bucket Boys [stream], recorded live on Saturday afternoon, 16th August 2008 at Dorpsjuweel Festival, Ruigoord, Amsterdam, The Netherlands.

Taking a Walk Around the Sounds of the Site [stream]: Saturday afternoon at Dorpsjuweel, Ruigoord, 16 August 2008.

The Low Budgetarians [stream]: reggae dub live set, Saturday evening at Dorpsjuweel, Ruigoord, 16 August 2008.

The Bucket Boys [stream]: live set & mini-interview, Saturday afternoon at Dorpsjuweel, Ruigoord, 16 August 2008.

The Library returns to Amsterdam [proper] and re-opens next week: as long as we survive the festival weekend intact [it's already midnight and we've still gotta lotta recording to go!]

          Poetry Librarian Radio   
We've been reliably informed that the first in our new series of Poetry & Music radio shows for the frisky, fun, full-time licensed (yeah!) Norwich Community Radio Station: Future Radio, should kick off this Sunday. Tune in to hear poetry from Andrea Porter, music from Charlotte Morris and T-Bone Steak plus our special features which include: 'Sounds of the City': a sonic collage of the sounds of cities from around the world; 'Excerpts from the Archive': exclusive world premier radio broadcasts of original archive recordings of poets courtesy of the San Francisco based Poetry Center & American Poetry Archive (including the likes of Allen Ginsberg, Frank O'Hara, Sylvia Plath and many more); plus the latest literature & library news from the Norwich/Norfolk region and beyond! Hurray!

Our first show kicks off Sunday 12th August 4-5pm GMT (that's 8am PST we reckon). . .

Tune in on the FM if you're in the area: 96.9 FM (Norwich, UK)

Or listen live on the internet at: Future Radio (and click the 'listen live' button)

We think, in fact, that clicking on this direct link here will persuade your Itunes to open that baby up!


Alrighty!

Word. To your mother. Innit. Librarian to the mixing desk please. over & out.

          WFMU MP3 Archive: Put The Needle On The Record with Billy Jam from Jun 30, 2017   
Listen to MP3 audio archive from Put The Needle On The Record with Billy Jam on WFMU, from Jun 30, 2017
          Fearless Australian dude throws himself into a hole to catch a massive mud crab   
TwitterFacebook

Https%3a%2f%2fblueprint api production.s3.amazonaws.com%2fuploads%2fvideo uploaders%2fdistribution thumb%2fimage%2f80632%2f2104bd22 9eb5 4986 a350 35a2c77ab0b5 Read more...

More about Australia, Crabs, Queensland, Crab, and Culture
          WFMU MP3 Archive: Nick Name's show from Jun 30, 2017   
Listen to MP3 audio archive from Nick Name's show on WFMU, from Jun 30, 2017
          pentaradio24: Informatikunterricht?   
(((pentaradio))
Datum
Dienstag, 27. Juni 2017 um 21:30 Uhr bis 23:00 Uhr
Ort
coloRadio, Radio-Initiative Dresden e.V., Riesaer Straße 32, 01127 Dresden

Die Sendung ist wie gewohnt auf den Frequenzen 98,4 & 99,3 MHz bzw. im Stream über coloradio.org zu hören.

Wir diskutieren dieses mal über den Informatikunterricht in sächsischen Schulen. Was wünschen wir uns, was für Alternativen gibt es bereits und wie werden Lehrer auf ihren Beruf vorbereitet? Dabei auch: Chaos macht Schule. Zu der Sendung gibt es ein Etherpad, für all diejenigen, die lieber tippen als sprechen. Gerne dürft ihr uns auch im Studio anrufen.

Shownotes

Musik #1: PORNOPHONIQUE - sad robot

Musik #2: PORNOPHONIQUE - take me to the bonuslevel because i need an extralife

Musik #3: PORNOPHONIQUE - lemmings in love

Musik #4: PORNOPHONIQUE - space invaders

Wir bitten um Feedback:


          pentaradio24: Dezentrale Soziale Netzwerkdienste mit OStatus   
(((pentaradio))

Alle paar Jahre kommt ein neues Soziales Netzwerk rum, welches ein zentralisierungskritisches Publikum begeistern kann: anfangs StatusNet (bekannt für identi.ca, jetzt als GNU Social unter Quitter), später der Facebook-Killer Diaspora, und nun ist Mastodon der letzte Hype.

Nicht nur können diese Netzwerke Personen über mehrere Anbieter verbinden, so wie wir das von E-Mail und XMPP her kennen. Potentiell sollen dank der OStatus-Protokollsuite sogar Nutzer der verschiedenen Implementationen miteinander kommunizieren können.

Wir haben uns das genauer angeschaut und werden neben der Technologie auch die sozialen Aspekte von dezentralen sozialen Netzwerkdiensten diskutieren.

Einschalten und zuhören

Live am 4. Dienstag im Monat (23.05.) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Mitmachen während der Sendung im Chat.


          pentaradio24: Datenspuren 2016   
Datenspuren 2016

Heute abend gibts eine Retro-Pentaradio Special Sonderausgabe zu den anstehenden Datenspuren 2016!

Einschalten und zuhören: live am 4. Dienstag im Monat (27.09.) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Mitmachen während der Sendung im Chat.


          pentaradio24: Passwörter   
(((pentaradio))

Immer wieder hört man, dass das Passwort für einen Account geknackt wurde. Wir möchten euch in dieser Sendung erklären, wie das eigentlich funktioniert und wie man sich dagegen schützen kann. Dazu erklären wir nicht nur wie man sichere Passwörter wählen und verwalten kann, sondern geben euch auch einen Überblick, was es an Alternativen zu Passwörtern gibt und beleuchten einige davon genauer.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (24.05.) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: Werbe­netz­werke   
(((pentaradio))

Ohne Adblocker sind wir ihnen ausgeliefert: die miese Tracking- und Spamindustrie. Wir erklären wie sie funktionieren und warum sie uns alle unsicherer machen.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (26.04.) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: Verbreitung von Linux und Freier Software   
(((pentaradio))

Alle Hacker lieben Freie Software, grade auch weil man reingucken kann. Aber meist wird nimmt die Dichte der Nutzung an freier Software exponentiell ab, sobald man den örtlichen Hackspace verlässt. Also doch nur was für Experten? Nein! Es gibt mehrere Veranstaltungen und Vereinigungen, die sich für die Verbreitung von freier Software einsetzten. In dieser Sendung möchten wir einige auch lokale Veranstaltungen und Vereinigungen genauer vorstellen.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (22.03) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: Perl6   
(((pentaradio))

Was passiert denn alles so zu Weihnachten? Nicht viel, der chaotische average Hacker ist vermutlich in voller vorfreude auf den jährlichen Congress. Doch letztes Jahr am 25. 12. hat Larry Wall Perl6 released. In dieser Sendung des Pentaradios sprechen wir mit eingeladenen Spezialexperten über Perl6.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (22.12) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: letsencrypt   
(((pentaradio))

Wie schön wäre das wenn jeder ganz einfach und automatisiert Crypto hätte? In der letzte Sendung im Jahr, sprechen wir über das Projekt letsencrypt. Wir wollen klären was sich hinter X509 Zertifikaten verbirgt und warum man eine einfache, kostenlose Certificate Authority haben möchte.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (22.12) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: Elasticsearch   
(((pentaradio))

Diesen Monat machen die News größtenteils Platz für die lokale Gruppe Internet for Refugees und ihren aktuellen Hilfsgesuchen.

Im Thementeil werden wir über die Suchmaschine Elasticsearch sprechen. Dieser Server ist eine Rundumlösung für alle Anwendungen mit Suchbedarf. Experten sind eingeladen!

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat (24.11.) von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          pentaradio24: FPGAs   
(((pentaradio))

In dieser Ausgabe des Pentaradios geht es um FPGAs (Field-programmable gate arrays). Dabei handelt es sich quasi um programmierbare Hardware. Wozu man das braucht, wie das funktioniert und was es für coole Projekte mit FPGAs gibt, könnt ihr in dieser Sendung erfahren.

Live hören könnt ihr Pentaradio Dienstag den 27.10.2015 wieder um 21:30-23:00 Uhr auf coloRadio ( Stream). Macht mit im Chat! Und wenn ihr Fragen habt: anrufen!


          pentaradio24: Datenspuren Pre-Show   
(((pentaradio))

Nach 10 Jahren ziehen die Datenspuren wieder zurück nach Striesen - um etwas neues auszuprobieren. In den Technischen Sammlungen Dresden haben wir thematisch eine passende Umgebung und viel mehr Raum für neue Ideen. Zu den Technischen Sammlungen passt auch unser diesjähriges Motto: "Hackers in the house". Die Datenspuren finden am 24. und 25. Oktober 2015 statt. Los geht's an beiden Tagen um 10 Uhr und der Eintritt ist frei.

Wir stellen euch in dieser Ausgabe das Programm der Datenspuren vor, erzählen was man beim Junghackertrack so machen kann, welche Vorträge es lohnt anzuhören und welche Workshops besucht werden können.

Live hören könnt ihr Pentaradio heute wieder um 21:30-23:00 Uhr auf coloRadio (Stream). Macht mit im Chat! Und wenn ihr Fragen habt: anrufen!

Mehr Informationen zum Programm, und wir ihr uns helfen könnt, die Datenspuren finanziell zu ermöglichen: datenspuren.de


          pentaradio24: die Program­mier­sprache Rust   
(((pentaradio))

Schon oft in den News featured, nun widmen wir dem nächsten Shooting Star der Systemprogrammiersprachenwelt eine ganze Sendung: es geht um Rust, und Spezialexperten sind eingeladen.

Hören könnt Ihr uns wie immer, Live am 4. Dienstag im Monat von 21:30 - 23:00 Uhr auf coloRadio (Stream). Wenn Ihr Fragen oder Anmerkungen habt, erreicht Ihr uns auch während der Sendung im Chat.


          WFMU MP3 Archive: Bryce's show from Jun 30, 2017   
Listen to MP3 audio archive from Bryce's show on WFMU, from Jun 30, 2017
             

We encourage those who experience sexual harassment and sexual misconduct to report directly to the Amherst College Police, Title IX Coordinator, Deputy Title IX Coordinator or a member of the Title IX Team. These individuals will support and provide you with information regarding options, including: grievance procedures, interim remedies and ongoing emotional support. They will assist in supporting you, eliminating the misconduct, preventing its occurrence and addressing its effects.

As required by federal law, all College employees who become aware of an incident of sexual misconduct must notify the Title IX Coordinator or a member of the Title IX team. The Title IX Coordinator and Title IX team are charged with investigating and responding to allegations of sexual misconduct. Amherst will seek to maintain your privacy at all times during the process. Reports of sexual assault will be shared only with individuals on a need-to-know basis or as required by law.

Members of the offices listed below are trained to support students and coordinate with the Title IX Coordinator. 

Loading the player...

Amherst College Police | (413) 542-2111
Available 24 hours a day.

Dean of Students Office/Dean on Duty |(413) 542-2337
Available during regular office hours and can assist with academic concerns, changes in housing or other accommodations and referrals. Members of the Dean of Students Office are also available 24 hours a day by calling Amherst College Police.

Title IX Coordinator | (413) 542-5707
Laurie Frankl is available during regular office hours; she coordinates prompt and equitable responses to reports of sexual misconduct by eliminating the misconduct, preventing its reccurrence and addressing its effects. 

Title IX Deputy Coordinators
Available during regular office hours
Jen Hughes (athletics) | (413) 542-2362
Amanda Collings Vann (students) | (413) 542-5671
Catherine Epstein (faculty) | (413) 542-2334
Maria-Judith Rodriguez (staff, administration and visitors) | (413) 542-2372

Loading the player...

Peer Advocates of Sexual Respect
Students who are trained in crisis intervention and referral to counseling, medical and legal resources

Safe Rides | (413) 542-7433 or (413) 542-RIDE
Student Security Assistants operate an escort service on campus between the hours of 7 p.m. and 2 a.m. nightly during the academic year.

Resident Counselors
Students living in the residence halls who are employed by Residential Life and trained to refer students to campus resources

Confidential resources and support

The confidential resources listed below may not share your information without your expressed consent unless there is an imminent danger to you or to others, or as otherwise required by law.  These confidential resources are granted this privilege by Massachusetts law.

Loading the player...

On campus for students

Health Services | (413) 542-2266
Available during regular office hours

Counseling Center | (413) 542-2354
Available during regular office hours and on an emergency basis through the Dean on Duty

Religious Life Advisers | (413) 542-8149
Religious Advisers are available 24 hours a day and can be reached through the Dean on Duty or Amherst College Police

Center for Women & Community | (413) 545-0800
Confidential rape crisis counseling accessible to people of all gender expressions 24 hours a day

Off campus

Center for Women & Community | (413) 545-0800
Confidential rape crisis counseling for people of all gender expressions 24 hours a day

Safe Passage  | (413) 586-5066 Intimate Partner Violence Hotline 24 hours a day

New England Learning Center for Women in Transition | (413) 772-0806
Confidential rape crisis hotline for men and women 24 hours a day

Hampshire County Toll-Free Rape Crisis Hotline | (888) 337-0800, Text Telephone, (413) 577-0940 or MA Relay 711

Cooley Dickinson Hospital | (413) 582-2000

Sexual Assault Nurse Examiners Cooley Dickinson Hospital | 413.582.2000
These Massachusetts Department of Public Health trained and certified nurses and physicians  provide quality care and forensic evidence collection to sexual assault survivors.

University of Massachusetts Health Services | (413) 577-5000
Open Monday through Friday 8 a.m. - 8 p.m.; Weekends and holidays 11:00 a.m. - 5:00 p.m.

Victim's Witness Program | (413) 586-9225
Accessible (through the District Attorney’s Office in Northampton) to victims of rape or sexual assault who are going through the court process

online anonymous reporting option

You can make an anonymous report by phone at 888-497-1022 or online at www.amherst.ethicspoint.com.  Both give you the means to enter detailed information if you have it.  While anyone can use the service to report any type of ethical violation, all reports go to the Title IX Coordinator. If the matter is related to Title IX or sexual misconduct, the coordinator will determine if there is sufficient information to initiate an investigation. If the matter is not related to Title IX or sexual misconduct, the coordinator will refer the matter for assessment by a colleague in a more relevant department.

for faculty and staff

The Employee Assistance Plan (EAP) is a confidential resource and referral service that the College makes available to all Amherst College employees, their spouses and their dependents.  Employees and their families may call (800) 828-6025 to speak with a professional counselor, or to schedule an appointment.

Whether you were subjected to sexual misconduct recently or in the past, we encourage you to use all available support services.


          WFMU MP3 Archive: Bitslap with KBC from Jun 27, 2017   
Listen to MP3 audio archive from Bitslap with KBC on WFMU, from Jun 27, 2017
          WFMU MP3 Archive: Nickel and Dime Radio with $mall ¢hange from Jun 29, 2017   
Listen to MP3 audio archive from Nickel and Dime Radio with $mall ¢hange on WFMU, from Jun 29, 2017
          Daily m3u playlist 2 July 2017 (New)   




http://81.230.200.187:1967/get.php?username=code&password=demo&type=m3u

http://193.70.44.113:2500/get.php?username=jason&password=123456&type=m3u

http://vip.groupiptv.com:7000/get.php?username=raphael&password=raphael&type=m3u

http://uk-mega-iptv.is-found.org:25461/get.php?username=kirk&password=kirk1&type=m3u

http://62.210.139.14:8000/get.php?username=Vdh9g0AE1AA5F7u&password=1rFoFno8SexvEwD&type=m3u

http://s1.iptv66.tv/get.php?username=1870256194682&password=1870256194682&type=m3u

http://nextiptv.ddns.net:2580/get.php?username=7057F2CBdb&password=7057F2CBdb&type=m3u

http://nextiptv.ddns.net:2580/get.php?username=7061F2CBdb&password=7061F2CBdb&type=m3u

http://nextiptv.ddns.net:2580/get.php?username=7062F2CBdb&password=7062F2CBdb&type=m3u

http://nextiptv.ddns.net:2580/get.php?username=1026F2CBdb&password=1026F2CBdb&type=m3u

http://vip.groupiptv.com:7000/get.php?username=abela&password=abela&type=m3u

http://51.15.12.65:8000/get.php?username=q2345246twefa&password=jakdsklasduhasjdqiwuqjdlaksjdghasildkjaiysgduhjasoidn&type=m3u

http://130.193.122.241:8000/playlist.m3u8

http://91.229.62.231:8000/playlist.m3u8

http://46.150.192.10:5002/playlist.m3u8

http://46.150.192.10:7777/playlist.m3u8

http://62.167.57.5:1010/playlist.m3u8

http://62.167.57.5:1011/playlist.m3u8

http://62.167.57.5:1012/playlist.m3u8

http://62.167.57.5:1013/playlist.m3u8

http://62.167.57.5:1014/playlist.m3u8

http://62.167.57.5:1015/playlist.m3u8

http://62.167.57.5:1016/playlist.m3u8
 

          Ростелеком сибирь ip плейлист   

==================================
Скачать Ростелеком сибирь ip плейлист >> http://bit.ly/1KcDkVG
==================================

http://bit.ly/1KcDkVG



9 авг. 2015 г. - Новый плейлист айпи тв ростелеком сибирь Программа для удобного просмотра IP-телевидения Внимание! Ростелеком закрыл

Playlist iptv , iptv бесплатные плейлисты , iptv tv каналы

WebStream Drive ETTH от омского филиала «Ростелеком-Сибирь» . Тарифы на услуги Интерактивного телевидения IP-TV, продвигаемые под Плейлист для просмотра всех нешифрованных каналов можно скачать здесь.

Омский форум :: (IP TV «ТВист» от омского филиала

3 апр. 2013 г. - плейлист iptv 2013 года , IPTV playlist , скачать плейлист iptv бесплатно плейлист iptv zala . плейлист iptv ростелеком . плейлист iptv волгателеком + Доп ip 212.164.2.47 212.164.3.139 212.164.4.108 212.164.5.32

Ростелеком сибирь ip плейлист скачать - Progresemos.org

11 марта 2015 г. - Ростелеком сибирь ip плейлист скачать. Во вспышке циклоспориаза в США оказались виноваты листовые Я хочу, я могу, я делаю.

IP-TV Плеер / ADSL club — сообщество пользователей

Программа для удобного просмотра IP-телевидения. просмотр открытых IP-TV Player для Ростелеком-Сибирь. При первом запуске плеера выбрать

Скачать плейлист iptv ростелеком барнаул - petergriffyn

5 мая 2015 г. - Ростелеком-Сибирь Барнаул, Ростелеком-Сибирь Абакан, playlist.m3u Адрес ссылки плейлиста у Ростелеком IP-TV Player
7 апр. 2014 г. - Вам надо будет скачать оригинальную версию IP-TV Player и получить плейлисты от Вашего провайдера (их наверняка можно будет
Плеер является оболочкой VideoLAN VLC Список провайдеров. ? Интернет, Российское ТВ и радио ? Новосибирск, Ростелеком-Сибирь ? Новосибирск
Iptv Rostelekom сибирь - отправлено в Плагины для плееров Dune HD (c Пришлите мне ваш плейлист IP TV Ростелеком Сибирь вIptv Сибирские сети (Новосибирск) - Страница 5Сообщений: 1619 янв 2014"Домашнее ТВ" от РОСТЕЛЕКОМСообщений: 2017 янв 2013Другие результаты с сайта forum.hdtv.ruПлейлист Ростелеком | Настройка оборудованияnastroisam.ru/plejlist-rostelekom-tv/СохраненнаякопияПохожие4 янв. 2013 г. - Скачать плейлист цифрового телевидения Ростелеком. Актуальные плейлисты интерактивного телевидения Ростелеком. только в IP-сеть провайдера используемую для работы цифрового ТВ. МРФ Сибирь:


          Party, down: Fyre Festival founder Billy McFarland arrested and charged with wire fraud   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f5%2f398a6713 b681 c4d9%2fthumb%2f00001 Read more...

More about Fyre Festival, Fyre Fest, Billy Mcfarland, Entertainment, and Music
          Party, down: Fyre Festival founder Billy McFarland arrested and charged with wire fraud   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f5%2f398a6713 b681 c4d9%2fthumb%2f00001 Read more...

More about Fyre Festival, Fyre Fest, Billy Mcfarland, Entertainment, and Music

          WFMU MP3 Archive: Beastin' The Airwaves! with Keili from Dec 25, 2016   
Listen to MP3 audio archive from Beastin' The Airwaves! with Keili on WFMU, from Dec 25, 2016
          Comments: ТВ бокс U BOX i one (i828) на чипе Amlogic S802   
Я давал ссылку на тот плейлист который пробовал
www.dropbox.com/s/lm32tje3v0yrawc/tvtest.m3u?dl=0
А вообще хорошие плейлисты быстро или пропадают или становятся платными.
Читать далее
          Commentaires sur Pas sage en seine 2017 par Cadence   
Pour ceux qui n'auraient pas eu l'info: Pas Sage En Seine @passageenseine En plus du stream video live sur (link: https://stream.pseshsf.org) stream.pseshsf.org on a un stream audio ! HTTP: (link: http://stream.tmplab.org:8000) stream.tmplab.org:8000 VLC: (link: http://stream.tmplab.org:8000/pseshsf.m3u) stream.tmplab.org:8000/pseshsf.m3u11:06 AM · 1 juil. 2016
          WFMU MP3 Archive: Inflatable Squirrel Carcass with Rich Hazelton from Jul 1, 2017   
Listen to MP3 audio archive from Inflatable Squirrel Carcass with Rich Hazelton on WFMU, from Jul 1, 2017
          #5748: M3U8 playback broken after seek in Safari OSX/iOS   

I recently tried upgrading to ffmpeg 3.1 and a number of videos that previously worked without issue in Safari on OSX and iOS are now broken when remuxed into M3U8 format.

The specific behavior is that the video starts playing without any issues and if you watch from beginning to end there won't be any problem. However, if at any point you try to seek (sometimes it might take two or three attempts) the video stream will crash. Playback will either stop entirely, or the video stream will crash but audio stream will continue playing.

I ran a git bisect on ffmpeg and this is what I came up with:

# git bisect log
git bisect start
# good: [c66f4d1ae64dffaf456d05cbdade02054446f499] Changelog: Fix minor formating inconsistency
git bisect good c66f4d1ae64dffaf456d05cbdade02054446f499
# bad: [18ce5a4d1b3f87b3b45651401cdf3352de34cfa1] configure: use c++98 for c++ files
git bisect bad 18ce5a4d1b3f87b3b45651401cdf3352de34cfa1
# good: [bb9f7bf1a21d6e00dcb2afaf94d8f84e410cf89c] Changelog/APIChanges Put 3.0 release marker
git bisect good bb9f7bf1a21d6e00dcb2afaf94d8f84e410cf89c
# good: [bb9f7bf1a21d6e00dcb2afaf94d8f84e410cf89c] Changelog/APIChanges Put 3.0 release marker
git bisect good bb9f7bf1a21d6e00dcb2afaf94d8f84e410cf89c
# bad: [36dad146935a500ef6fd7246b5c216f7af26f9db] Merge commit 'eaeba6f241e0de0e797be10f8fda967ef8489e64'
git bisect bad 36dad146935a500ef6fd7246b5c216f7af26f9db
# good: [9f6e63f6f2f289e429c9354c80c21a9dbcd21d1a] avfilter/vf_waveform: add >8 bit support for other filters
git bisect good 9f6e63f6f2f289e429c9354c80c21a9dbcd21d1a
# bad: [0dfbca73bbb3319af49554f7f844e1d7b8d2192c] Merge commit 'dc4983d78af2a666461654067d2e5d45b835358a'
git bisect bad 0dfbca73bbb3319af49554f7f844e1d7b8d2192c
# skip: [e6053b3b19c070e994a501fe0cc20255d15c4aa8] Merge commit 'a8068346e48e123f8d3bdf4d64464d81e53e5fc7'
git bisect skip e6053b3b19c070e994a501fe0cc20255d15c4aa8
# skip: [3fafde6cbe345d2f84cfe61b94d4a823990969b3] lavc: Add seek_preroll to AVCodecParameters
git bisect skip 3fafde6cbe345d2f84cfe61b94d4a823990969b3
# good: [4d251723c0a157b77fa9d3c84c74507d399f7254] lavfi: Add coreimage filter for GPU based image filtering on OSX.
git bisect good 4d251723c0a157b77fa9d3c84c74507d399f7254
# good: [cf4d050b7231d7d96ed4d9a1bfaad87b8981e19d] avformat/wavdec: Remove direct s->pb->buffer access
git bisect good cf4d050b7231d7d96ed4d9a1bfaad87b8981e19d
# good: [38a6242b271fad4917a1c6201ff61e10160c965b] avformat/mpegts: Remove unused argument from analyze()
git bisect good 38a6242b271fad4917a1c6201ff61e10160c965b
# bad: [030e69b4dcb92f3b0372c9af1cefba60e9135010] Merge commit 'a9e1f2cc61cbd5606a087a60565e87923c39de5a'
git bisect bad 030e69b4dcb92f3b0372c9af1cefba60e9135010
# bad: [bc91bc1d8b2baa29267b5181d805f5286466cade] Merge commit '0705f5960c9d272cef1309c090000865b991c9c7'
git bisect bad bc91bc1d8b2baa29267b5181d805f5286466cade
# bad: [6f69f7a8bf6a0d013985578df2ef42ee6b1c7994] Merge commit '9200514ad8717c63f82101dc394f4378854325bf'
git bisect bad 6f69f7a8bf6a0d013985578df2ef42ee6b1c7994
# good: [571aa7d25edc414c3da9253af8b80508c5275b4b] avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMES
git bisect good 571aa7d25edc414c3da9253af8b80508c5275b4b
# good: [60b75186b2c878b6257b43c8fcc0b1356ada218e] avcodec/wmalosslessdec: do not discard last frame
git bisect good 60b75186b2c878b6257b43c8fcc0b1356ada218e
# skip: [9200514ad8717c63f82101dc394f4378854325bf] lavf: replace AVStream.codec with AVStream.codecpar
git bisect skip 9200514ad8717c63f82101dc394f4378854325bf
# only skipped commits left to test
# possible first bad commit: [6f69f7a8bf6a0d013985578df2ef42ee6b1c7994] Merge commit '9200514ad8717c63f82101dc394f4378854325bf'
# possible first bad commit: [9200514ad8717c63f82101dc394f4378854325bf] lavf: replace AVStream.codec with AVStream.codecpar

It looks like this is the suspect commit:

http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9200514ad8717c63f82101dc394f4378854325bf

I also took a look at the API change log:

2016-04-14 - afccfaf / b1f01e8 - lavu 55.21.100 / 55.7.0 - hwcontext.h
  Add AVHWFramesConstraints and associated API.
2016-04-11 - 6f69f7a / 9200514 - lavf 57.33.100 / 57.5.0 - avformat.h
  Add AVStream.codecpar, deprecate AVStream.codec.
2016-04-02 - e8a9b64 - lavu 55.20.100 - base64.h
  Add AV_BASE64_DECODE_SIZE(x) macro.

and can confirm that revision e8a9b64 does not exhibit any problems. The issue is easily replicated with changeset 6f69f7a/9200514.

I have a sample input video here (Big Buck Bunny):

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/safariissue/input.mp4

I've already remuxed this video with the two referenced revisions. This was remuxed with 6f69f7a and exhibits the behavior:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/safariissue/6f69f7a/6f69f7a.m3u8

This was remuxed with e8a9b64 and plays back without issue:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/safariissue/e8a9b64/e8a9b64.m3u8

The command I used to remux the videos is as follows:

ffmpeg -y -i input.mp4 -c "copy" -map "0" -f "segment" -segment_time "10" -vbsf "h264_mp4toannexb" -segment_list_type m3u8 -segment_list "e8a9b64/e8a9b64.m3u8" "e8a9b64/e8a9b64.m3u8.%05d.ts"

I can currently reproduce this with Safari Version 9.1.1 (11601.6.17).


          #6287: HLS: error with no sync m3u8 playlist file and chunks   

ffmpeg version:

[root@stream-1 ~]# ffmpeg ffmpeg version N-84010-ge2adbcb Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6) configuration: --libdir=/usr/lib64 libavutil 55. 48.100 / 55. 48.100 libavcodec 57. 83.100 / 57. 83.100 libavformat 57. 66.104 / 57. 66.104 libavdevice 57. 3.100 / 57. 3.100 libavfilter 6. 76.100 / 6. 76.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100

Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

hls streaming string:

/usr/local/bin/ffmpeg -probesize 2000k -fifo_size 512k -buffer_size 256k -overrun_nonfatal 1 -i udp://239.192.29.223:1234 -sn -dn -vcodec copy -acodec aac -hls_allow_cache 0 -hls_base_url /ts/1KANAL_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -r 50 -copyts -g 1 -ignore_unknown -shortest -avoid_negative_ts make_zero -fflags +genpts -use_localtime 1 -hls_segment_filename /hls/ts/1KANAL_HD/stream_%Y%m%d-%s.ts /hls/pl/1KANAL_HD.m3u8

playlist file:

[root@stream-2 1KANAL_HD]# cat ./1KANAL_HD.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:6 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:5.706211, /ts/1KANAL_HD/stream_20170403-1491212046.ts #EXTINF:5.440000, /ts/1KANAL_HD/stream_20170403-1491212050.ts #EXTINF:4.640000, /ts/1KANAL_HD/stream_20170403-1491212055.ts #EXTINF:4.960000, /ts/1KANAL_HD/stream_20170403-1491212060.ts

first problem is: bad param is: #EXT-X-MEDIA-SEQUENCE:0

second problem is: [root@stream-2 1KANAL_HD]# ls -l итого 202576 -rw-r--r-- 1 root root 5610860 Apr 3 16:31 stream_20170403-1491211857.ts -rw-r--r-- 1 root root 6053600 Apr 3 16:31 stream_20170403-1491211862.ts -rw-r--r-- 1 root root 4212704 Apr 3 16:31 stream_20170403-1491211868.ts -rw-r--r-- 1 root root 4167584 Apr 3 16:31 stream_20170403-1491211873.ts -rw-r--r-- 1 root root 3556584 Apr 3 16:31 stream_20170403-1491211877.ts -rw-r--r-- 1 root root 4489440 Apr 3 16:31 stream_20170403-1491211882.ts -rw-r--r-- 1 root root 4538132 Apr 3 16:31 stream_20170403-1491211887.ts -rw-r--r-- 1 root root 6555748 Apr 3 16:31 stream_20170403-1491211892.ts -rw-r--r-- 1 root root 5907336 Apr 3 16:31 stream_20170403-1491211897.ts -rw-r--r-- 1 root root 162323336 Apr 3 16:34 stream_20170403-1491211902.ts

last string contains to big chunk!!!

about once a day, sometimes such a problem that the chunks stop being generated and ffmpeg starts to write everything in one file, but the playlist continues to be updated and the chunks in it are recorded. The new are not created, as all is written in one file. And in the nginx logs written error that file not found. The server runs about 250 threads ffmpeg. But mostly this error occurs with HD streams.


          #2576: Downloading HLS streams from svtplay.se fails after random time.   

The below is a first attempt to report a bug possibly dependant on specifics of my network, and which seems to disappear when increasing the verbosity of ffmpeg. Please tell me how to find more info if needed.

Summary of the bug: How to reproduce:

ffmpeg -i "http://svtplay10i-f.akamaihd.net/i/se/open/20130510/1283828-004A/ENDEAVOUR_1-004A-8b76d2f9d0abebda_,900,348,564,1680,2800,.mp4.csmil/index_4_av.m3u8?null=&id=" -acodec copy -vcodec copy -absf aac_adtstoasc "Endeavour.S01E05.mp4"
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  9 2013 18:18:22 with gcc 4.6.3 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin/pentium_pro+mmx --libdir=/usr/lib/pentium_pro+mmx --shlibdir=/usr/lib/pentium_pro+mmx --mandir=/usr/share/man --cc=gcc --cpu=prescott --enable-mmx --enable-sse --enable-ssse3 --disable-debug --enable-nonfree --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-avfilter --enable-swscale --enable-libgsm --enable-libxvid --enable-libx264 --enable-libfaac --enable-libtheora --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libspeex --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-static --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-vdpau --enable-libass --enable-openssl --enable-openal --enable-shared
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[h264 @ 8523300] non-existing SPS 0 referenced in buffering period
[h264 @ 8523300] non-existing SPS 32 referenced in buffering period
[h264 @ 8523300] non-existing SPS 0 referenced in buffering period
[h264 @ 8523300] non-existing SPS 32 referenced in buffering period
[mpegts @ 80bcd80] Estimating duration from bitrate, this may be inaccurate
[h264 @ 8a8be00] non-existing SPS 0 referenced in buffering period
[h264 @ 8a8be00] non-existing SPS 32 referenced in buffering period
Input #0, hls,applehttp, from 'http://svtplay10i-f.akamaihd.net/i/se/open/20130510/1283828-004A/ENDEAVOUR_1-004A-8b76d2f9d0abebda_,900,348,564,1680,2800,.mp4.csmil/index_4_av.m3u8?null=&id=':
  Duration: 01:32:02.00, start: 0.100667, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 12.50 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 87 kb/s
Output #0, mp4, to 'Endeavour.S01E05.mp4':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 12.50 fps, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 87 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help

Download occasionally works, but most times stops flat in its tracks after 1MB or several hundred megabytes or just before finishing or any other time.

It always works perfectly, at a slight cost in speed (5%???) if one presses '+' once, so that verbosity increases slightly, which then is a almost usable WA.

This has been verified to occur exactly the same on all my computers, Ubuntu 13.04 and Openindiana 151a7 and Windows XP. The WA is the same in all OSes. It is also the same for the latest git-ed main branch ffmpeg (brought over yesterday and today, with identical problems. ) Note: Increasing verbosity slightly also adds this to the output.

Current profile doesn't provide more RBSP data in PPS, skippingrate=2815.0kbits/s
Current profile doesn't provide more RBSP data in PPS, skippingrate=2815.6kbits/s
Current profile doesn't provide more RBSP data in PPS, skippingrate=2817.3kbits/s
[NULL @ 8523300] Current profile doesn't provide more RBSP data in PPS, skipping
Current profile doesn't provide more RBSP data in PPS, skippingrate=2811.7kbits/s
[NULL @ 8523300] Current profile doesn't provide more RBSP data in PPS, skipping
Current profile doesn't provide more RBSP data in PPS, skippingrate=2796.8kbits/s
Current profile doesn't provide more RBSP data in PPS, skippingrate=2800.2kbits/s
[NULL @ 8523300] Current profile doesn't provide more RBSP data in PPS, skipping
Current profile doesn't provide more RBSP data in PPS, skippingrate=2806.8kbits/s
[NULL @ 8523300] Current profile doesn't provide more RBSP data in PPS, skipping
Current profile doesn't provide more RBSP data in PPS, skippingrate=2808.2kbits/s

          #2814: rtmp tp hls fails to produce reliable stream   

using the head on windows 8 the following command C:\Dev\Tools\ffmpeg\ffmpeg.exe -loglevel 99 -i "rtmp://123.30.108.77/live/THVL1/THVL1 live=1" -c:v copy -c:a aac -strict experimental -bsf h264_mp4toannexb -bsf:a aac_adtstoasc -hls_time 10 -hls_list_size 6 -hls_wrap 60 -start_number 1 -y "C:\Dev\Tools\Test\stream.m3u8"

produced hls streams with files which are 1 second long.

attached is a report file.


          #2829: failed to read from a valid rtmp stream with error Invaid data found when processing input   

I run on windows this command with a build from the head: C:\Dev\Tools\ffmpeg\ffmpeg.exe -report -loglevel 99 -i "rtmp://x3282azmedc12001.f.l.f.lb.core-cdn.net/12001centertvkoeln/live/3282azmedia/live_de_500 live=1" -c:v copy -c:a copy -bsf h264_mp4toannexb -bsf:a aac_adtstoasc -hls_time 10 -hls_list_size 6 -hls_wrap 60 -start_number 1 -y "C:\Dev\Tools\Test\stream.m3u8"

Failed to read the stream even so it is valid: HandleInvoke?, server invoking <_onbwdone> RTMP_ReadPacket: fd=300 RTMPSockBuf_Fill, recv returned -1. GetSockError?(): 10060 (Unknown error) RTMP_ReadPacket, failed to read RTMP packet header [AVIOContext @ 000000000415c3a0] Statistics: 0 bytes read, 0 seeks RTMP_SendPacket: fd=300, size=34 Invoking deleteStream rtmp://x3282azmedc12001.f.l.f.lb.core-cdn.net/12001centertvkoeln/live/3282azmedia/live_de_500 live=1: Invalid data found when processing input


          #3268: CRLF problem with custom headers when playing hls streams on windows   

HTTP headers must be terminated by a CRLF, but when invoking ffmpeg from windows cmd there is no possibility to add CRLF:

ffmpeg -v 9 -loglevel 99 -headers "User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16" -i http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_900_av-p.m3u8?sd=6&b=0-1000&rebase=on
ffmpeg version N-59488-g8a1714a Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  2 2014 22:01:54 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-headers' ... matched as AVOption 'headers' with argument 'User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16'.
Reading option '-i' ... matched as input file with argument 'http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_900_av-p.m3u8?sd=6'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_900_av-p.m3u8?sd=6.
Successfully parsed a group of options.
Opening an input file: http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_900_av-p.m3u8?sd=6.
[http @ 02b23200] No trailing CRLF found in HTTP header.
[http @ 02b23200] request: GET /i/daserste_1@97481/index_900_av-p.m3u8?sd=6 HTTP/1.1
Accept: */*
Range: bytes=0-
Connection: close
Host: pebbles112-lh.akamaihd.net
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
[http @ 02b23200] header='HTTP/1.0 408 Request Time-out'
[http @ 02b23200] http_code=408
[http @ 02b23200] HTTP error 408 Request Time-out
http://pebbles112-lh.akamaihd.net/i/daserste_1@97481/index_900_av-p.m3u8?sd=6: Input/output error

in linux bash you can work around with:

ffmpeg -headers 'User-Agent: bar'$'\r\n' -i http://hard.com/foo.flv

... but there is no similar workaround for windows, so I guess the CRLF has to be hardcoded.

I'm wondering why CRLF isn't already hardcoded in http.c or is there any other solution?


          #3483: live stream with a gopro (hero 3)   

Summary of the bug:

I want to restream a gopro video stream on the internet.

I use a PC windows 7, it has a wifi connection to a gopro (wifi node, address 10.5.5.9) and the fix connection to the internet used to restream to a wowza server.

It seems that ffmpeg does not like the format of the video :

mpegts @ 02820ca0] PES packet size mismatch
skipping 2 segments ahead, expired from playlists

and I assume that , by skipping the packets,it makes that the stream I get from the wowza server freezes every 5 secondes =>

the freeze is the issue

If I acccess the gopro stream with an ipad or an android smartphone, the stream is fluid.

How to reproduce:

I use this command line that I found on the internet:

ffmpeg -re -i "http://10.5.5.9:8080/live/amba.m3u8"
 -an -c copy  -s 400x300 -strict experimental  -b:v 300k -f flv "rtmp://my.wowza.server/application/mp4:direct live=1"

This is the console output:

fmpeg version N-60274-gdce9321 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 31 2014 22:01:13 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.101 / 55. 49.101
  libavformat    55. 28.101 / 55. 28.101
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.101 /  4.  1.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[mpegts @ 02820ca0] PES packet size mismatch
    Last message repeated 2 times
[hls,applehttp @ 02835160] Estimating duration from bitrate, this may be inaccur
ate
Input #0, hls,applehttp, from 'http://10.5.5.9:8080/live/amba.m3u8':
  Duration: 00:00:00.02, start: 4.695467, bitrate: 159 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuvj420p(pc, bt709), 43
2x240 [SAR 1:1 DAR 9:5], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 15
9 kb/s
Output #0, flv, to 'rtmp://stream.chronovideo.eu/cv_live/mp4:direct live=1':
  Metadata:
    encoder         : Lavf55.28.101
    Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuvj420p, 432x240 [SAR 1:1
 DAR 9:5], q=2-31, 300 kb/s, 25 fps, 1k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=   15 fps=0.0 q=-1.0 size=      44kB time=00:00:00.52 bitrate= 696.9kbits/
frame=   28 fps= 27 q=-1.0 size=      87kB time=00:00:01.04 bitrate= 687.1kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=   34 fps= 22 q=-1.0 size=     100kB time=00:00:01.92 bitrate= 425.5kbits/
frame=   38 fps= 18 q=-1.0 size=     108kB time=00:00:02.08 bitrate= 424.0kbits/
[mpegts @ 02820ca0] PES packet size mismatch
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=   49 fps= 19 q=-1.0 size=     135kB time=00:00:02.52 bitrate= 438.0kbits/
frame=   50 fps= 16 q=-1.0 size=     136kB time=00:00:03.20 bitrate= 349.0kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=   60 fps= 17 q=-1.0 size=     162kB time=00:00:03.60 bitrate= 368.6kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=   66 fps= 16 q=-1.0 size=     183kB time=00:00:04.48 bitrate= 334.9kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=   71 fps= 15 q=-1.0 size=     192kB time=00:00:04.68 bitrate= 336.3kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=   82 fps= 16 q=-1.0 size=     230kB time=00:00:05.76 bitrate= 327.5kbits/
frame=   83 fps= 14 q=-1.0 size=     231kB time=00:00:05.80 bitrate= 326.7kbits/
[mpegts @ 02820ca0] PES packet size mismatch
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=   95 fps= 15 q=-1.0 size=     259kB time=00:00:06.28 bitrate= 338.4kbits/
frame=   98 fps= 14 q=-1.0 size=     272kB time=00:00:07.04 bitrate= 316.2kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=  105 fps= 14 q=-1.0 size=     293kB time=00:00:07.32 bitrate= 327.4kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=  114 fps= 14 q=-1.0 size=     320kB time=00:00:08.32 bitrate= 314.9kbits/
frame=  118 fps= 14 q=-1.0 size=     331kB time=00:00:08.48 bitrate= 320.2kbits/
[mpegts @ 02820ca0] PES packet size mismatch
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=  127 fps= 14 q=-1.0 size=     362kB time=00:00:08.84 bitrate= 335.3kbits/
frame=  130 fps= 14 q=-1.0 size=     372kB time=00:00:09.60 bitrate= 317.5kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=  142 fps= 14 q=-1.0 size=     394kB time=00:00:10.08 bitrate= 320.5kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=  146 fps= 14 q=-1.0 size=     412kB time=00:00:10.88 bitrate= 309.9kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=  151 fps= 14 q=-1.0 size=     421kB time=00:00:11.08 bitrate= 311.4kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch
frame=  162 fps= 14 q=-1.0 size=     459kB time=00:00:12.16 bitrate= 309.0kbits/
frame=  163 fps= 13 q=-1.0 size=     461kB time=00:00:12.20 bitrate= 309.3kbits/
[mpegts @ 02820ca0] PES packet size mismatch
frame=  174 fps= 14 q=-1.0 size=     495kB time=00:00:12.64 bitrate= 320.8kbits/
skipping 2 segments ahead, expired from playlists
[mpegts @ 02820ca0] PES packet size mismatch

You need a gopro and streaming server to reproduce the bug.

I can provide access to my streaming server on demand.


          #3744: green benetian blinds on the video   

Summary of the bug: I use the dvblast to generate UDP streams for the input of ffmpeg. When the ffmpeg starts to transcode, it is very stable and normal. But, I don't know what exactly time the video become cross green lines on the video. It can't no longer return to normal. http://imgur.com/vijc7oJ.jpg

How to reproduce: I don't know how can reproduce this. When I restart the ffmpeg process, it returns to normal.

But, I upload the input file(generated by dvblast, recorded by vlc) and the output file(HLS format, generated by ffmpeg via the below command) to the ftp. In addition, a complete console output also on the ftp(about 283MB).

And, the input file and the output file is not the same program segment, but they are also in the period in problem in the case.

I have uploaded files to the ftp server.

input: 1403781705_input_small.ts output: 0800200c9a66.m3u8, 0800200c9a66[24-47].ts complete console output: 1403781705_complete_Output_Log.log

The command:

/home/andy/ffmpeg -re -f mpegts -i udp://127.0.0.1:50000 -c:v libx264 -preset slow -deinterlace -crf 23 -pix_fmt yuv420p -g 150 -acodec libfdk_aac -b:a 128k -ac 2 -ar 44100 -loglevel debug -threads 0 -hls_time 5 -hls_wrap 100 -hls_list_size 24 -f hls /mnt/video/7/0800200c9a66.m3u8

The console output(segment, due to complete console output about 259MB):

ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 19 2014 13:29:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/root/ffmpeg_build --enable-static --extra-cflags='-I/root/ffmpeg_build/include -static' --extra-ldflags='-L/root/ffmpeg_build/lib -static' --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --disable-shared --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-gray --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libfdk_aac
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 67.100 / 55. 67.100
  libavformat    55. 43.100 / 55. 43.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  8.100 /  4.  8.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option '-i' ... matched as input file with argument 'udp://127.0.0.1:50000'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'slow'.
Reading option '-deinterlace' ... matched as option 'deinterlace' (this option is deprecated, use the yadif filter instead) with argument '1'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '23'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-g' ... matched as AVOption 'g' with argument '150'.
Reading option '-g' ... matched as AVOption 'g' with argument '150'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfdk_aac'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128k'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '0'.
Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '5'.
Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with argument '100'.
Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' with argument '24'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'hls'.
Reading option '/mnt/video/7/0800200c9a66.m3u8' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option deinterlace (this option is deprecated, use the yadif filter instead) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file udp://127.0.0.1:50000.
Applying option re (read input at native frame rate) with argument 1.
Applying option f (force format) with argument mpegts.
Successfully parsed a group of options.
Opening an input file: udp://127.0.0.1:50000.
[udp @ 0x2b85100] end receive buffer size reported is 131072
[mpegts @ 0x2b85920] stream=0 stream_type=2 pid=7ef prog_reg_desc=
[mpegts @ 0x2b85920] stream=1 stream_type=4 pid=7f0 prog_reg_desc=
[mpegts @ 0x2b85920] stream=2 stream_type=4 pid=7f1 prog_reg_desc=
[mpegts @ 0x2b85920] Before avformat_find_stream_info() pos: 0 bytes read:65800 seeks:0
[mpegts @ 0x2b85920] All programs have pmt, headers found
[mpeg2video @ 0x2b99880] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[mpegts @ 0x2b85920] All info found
[mpegts @ 0x2b85920] After avformat_find_stream_info() pos: 350432 bytes read:351372 seeks:0 frames:75
Input #0, mpegts, from 'udp://127.0.0.1:50000':
  Duration: N/A, start: 45961.778000, bitrate: 215 kb/s
  Program 203
    Stream #0:0[0x7ef], 21, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], 1001/60000, max. 15000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x7f0], 24, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 122 kb/s
    Stream #0:2[0x7f1], 30, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 92 kb/s
Successfully opened the file.
Parsing a group of options: output file /mnt/video/7/0800200c9a66.m3u8.
Applying option c:v (codec name) with argument libx264.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfdk_aac.
Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
Applying option ac (set number of audio channels) with argument 2.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option f (force format) with argument hls.
Successfully parsed a group of options.
Opening an output file: /mnt/video/7/0800200c9a66.m3u8.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'video_size' to value '704x480'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'time_base' to value '1/90000'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'pixel_aspect' to value '10/11'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0x2ba0ba0] w:704 h:480 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:10/11 sws_param:flags=2
[format @ 0x2b74800] compat: called with args=[yuv420p]
[format @ 0x2b74800] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2b74980] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[graph 1 input from stream 0:1 @ 0x2becaa0] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:1 @ 0x2becaa0] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:1 @ 0x2becaa0] Setting 'sample_fmt' to value 's16p'
[graph 1 input from stream 0:1 @ 0x2becaa0] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0x2becaa0] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0x2ba46c0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:1 @ 0x2ba46c0] Setting 'sample_rates' to value '44100'
[audio format for output stream 0:1 @ 0x2ba46c0] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 0:1 @ 0x2ba46c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0x2bee800] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0x2b6f320] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
[libx264 @ 0x2ba3a80] using mv_range_thread = 24
[libx264 @ 0x2ba3a80] using SAR=10/11
[libx264 @ 0x2ba3a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x2ba3a80] profile High, level 3.0
[mpegts @ 0x328ba80] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, hls, to '/mnt/video/7/0800200c9a66.m3u8':
  Metadata:
    encoder         : Lavf55.43.100
    Stream #0:0, 0, 1/90000: Video: h264 (libx264), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 1001/30000, q=-1--1, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc55.67.100 libx264
    Stream #0:1, 0, 1/90000: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc55.67.100 libfdk_aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpegts @ 0x2b85920] Correcting start time by 34678
*** 6 dup!
frame=   17 fps=0.0 q=0.0 size=N/A time=00:00:00.51 bitrate=N/A dup=6 drop=0    ^Mframe=   32 fps= 32 q=0.0 size=N/A time=00:00:00.95 bitrate=N/A dup=6 drop=0    ^Mframe=   48 fps= 32 q=0.0 size=N/A time=00:00:01.53 bitrate=N/A dup=6 drop=0    ^Mframe=   63 fps= 31 q=0.0 size=N/A time=00:00:01.81 bitrate=N/A dup=6 drop=0    ^M[libx264 @ 0x2ba3a80] frame=   0 QP=22.64 NAL=3 Slice:I Poc:0   I:1320 P:0    SKIP:0    size=50354 bytes
[libx264 @ 0x2ba3a80] frame=   1 QP=21.34 NAL=2 Slice:P Poc:8   I:3    P:108  SKIP:1209 size=290 bytes
[libx264 @ 0x2ba3a80] frame=   2 QP=25.41 NAL=2 Slice:B Poc:4   I:0    P:39   SKIP:1281 size=66 bytes
[libx264 @ 0x2ba3a80] frame=   3 QP=34.00 NAL=0 Slice:B Poc:2   I:0    P:37   SKIP:1283 size=60 bytes
[libx264 @ 0x2ba3a80] frame=   4 QP=34.00 NAL=0 Slice:B Poc:6   I:0    P:14   SKIP:1306 size=35 bytes
[libx264 @ 0x2ba3a80] frame=   5 QP=19.05 NAL=2 Slice:P Poc:12  I:2    P:35   SKIP:1283 size=116 bytes
[libx264 @ 0x2ba3a80] frame=   6 QP=34.00 NAL=0 Slice:B Poc:10  I:1    P:13   SKIP:1306 size=40 bytes
[libx264 @ 0x2ba3a80] frame=   7 QP=24.58 NAL=2 Slice:P Poc:20  I:71   P:955  SKIP:294  size=21280 bytes
[libx264 @ 0x2ba3a80] frame=   8 QP=29.92 NAL=2 Slice:B Poc:16  I:9    P:764  SKIP:485  size=6281 bytes
[libx264 @ 0x2ba3a80] frame=   9 QP=32.31 NAL=0 Slice:B Poc:14  I:5    P:809  SKIP:471  size=4916 bytes
[libx264 @ 0x2ba3a80] frame=  10 QP=31.20 NAL=0 Slice:B Poc:18  I:0    P:536  SKIP:744  size=3175 bytes
[libx264 @ 0x2ba3a80] frame=  11 QP=25.12 NAL=2 Slice:P Poc:28  I:18   P:957  SKIP:345  size=14448 bytes
frame=   78 fps= 31 q=29.0 size=N/A time=00:00:02.25 bitrate=N/A dup=6 drop=0    ^M[libx264 @ 0x2ba3a80] frame=  12 QP=28.63 NAL=2 Slice:B Poc:24  I:2    P:682  SKIP:586  size=4726 bytes
[libx264 @ 0x2ba3a80] frame=  13 QP=30.22 NAL=0 Slice:B Poc:22  I:1    P:723  SKIP:573  size=2142 bytes
[libx264 @ 0x2ba3a80] frame=  14 QP=32.25 NAL=0 Slice:B Poc:26  I:0    P:442  SKIP:863  size=1438 bytes
[libx264 @ 0x2ba3a80] frame=  15 QP=26.41 NAL=2 Slice:P Poc:36  I:7    P:809  SKIP:504  size=9990 bytes
[libx264 @ 0x2ba3a80] frame=  16 QP=29.60 NAL=2 Slice:B Poc:32  I:1    P:608  SKIP:672  size=3361 bytes
[libx264 @ 0x2ba3a80] frame=  17 QP=32.65 NAL=0 Slice:B Poc:30  I:1    P:457  SKIP:848  size=1330 bytes
[libx264 @ 0x2ba3a80] frame=  18 QP=32.99 NAL=0 Slice:B Poc:34  I:0    P:432  SKIP:877  size=1218 bytes
[libx264 @ 0x2ba3a80] frame=  19 QP=25.53 NAL=2 Slice:P Poc:40  I:96   P:952  SKIP:272  size=12548 bytes
[libx264 @ 0x2ba3a80] frame=  20 QP=30.98 NAL=0 Slice:B Poc:38  I:1    P:643  SKIP:643  size=2703 bytes
[libx264 @ 0x2ba3a80] frame=  21 QP=26.19 NAL=2 Slice:P Poc:48  I:288  P:838  SKIP:194  size=20491 bytes
[libx264 @ 0x2ba3a80] frame=  22 QP=30.68 NAL=2 Slice:B Poc:44  I:17   P:714  SKIP:507  size=7318 bytes
ignore due to the amount of frames is too large....
[libx264 @ 0x2ba3a80] frame=869747 QP=33.62 NAL=0 Slice:B Poc:132 I:1    P:704  SKIP:611  size=4585 bytes
[libx264 @ 0x2ba3a80] frame=869748 QP=26.57 NAL=2 Slice:P Poc:140 I:92   P:964  SKIP:264  size=18256 bytes
[libx264 @ 0x2ba3a80] frame=869749 QP=33.79 NAL=2 Slice:B Poc:138 I:0    P:641  SKIP:673  size=3488 bytes
[libx264 @ 0x2ba3a80] frame=869750 QP=34.04 NAL=0 Slice:B Poc:136 I:4    P:652  SKIP:654  size=3260 bytes
[libx264 @ 0x2ba3a80] frame=869751 QP=26.85 NAL=2 Slice:P Poc:148 I:24   P:1025 SKIP:271  size=14111 bytes
frame=869818 fps= 30 q=29.0 size=N/A time=08:03:42.51 bitrate=N/A dup=366 drop=0    ^M[libx264 @ 0x2ba3a80] frame=869752 QP=32.24 NAL=2 Slice:B Poc:144 I:2    P:687  SKIP:624  size=3982 bytes
[libx264 @ 0x2ba3a80] frame=869753 QP=33.87 NAL=0 Slice:B Poc:142 I:1    P:568  SKIP:746  size=2371 bytes
[libx264 @ 0x2ba3a80] frame=869754 QP=33.56 NAL=0 Slice:B Poc:146 I:0    P:496  SKIP:823  size=2127 bytes
[libx264 @ 0x2ba3a80] frame=869755 QP=26.95 NAL=2 Slice:P Poc:156 I:19   P:1060 SKIP:241  size=15556 bytes
[libx264 @ 0x2ba3a80] frame=869756 QP=32.15 NAL=2 Slice:B Poc:152 I:0    P:654  SKIP:656  size=3453 bytes
[libx264 @ 0x2ba3a80] frame=869757 QP=33.85 NAL=0 Slice:B Poc:150 I:0    P:512  SKIP:805  size=2133 bytes
[libx264 @ 0x2ba3a80] frame=869758 QP=33.63 NAL=0 Slice:B Poc:154 I:0    P:479  SKIP:833  size=1958 bytes
[libx264 @ 0x2ba3a80] frame=869759 QP=26.90 NAL=2 Slice:P Poc:164 I:141  P:994  SKIP:185  size=21599 bytes
[libx264 @ 0x2ba3a80] frame=869760 QP=32.08 NAL=2 Slice:B Poc:160 I:2    P:773  SKIP:537  size=5915 bytes
[libx264 @ 0x2ba3a80] frame=869761 QP=33.42 NAL=0 Slice:B Poc:158 I:0    P:463  SKIP:854  size=1724 bytes
[libx264 @ 0x2ba3a80] frame=869762 QP=33.48 NAL=0 Slice:B Poc:162 I:0    P:724  SKIP:594  size=4491 bytes
[libx264 @ 0x2ba3a80] frame=869763 QP=26.93 NAL=2 Slice:P Poc:172 I:133  P:995  SKIP:192  size=21349 bytes

          #3861: mpegts malformed in specifc circumstances   

This is tricky one, because it's very hard to reproduce and many criteria are involved.

It is a definitely a regression because it does not happen with git-2014-04-17-a8d01a7

Also I haven't found a way so far to generalize this more than below. Subtle changes to:

  • filter combination (e.g. using -filter:v or omitting swf_flags)
  • 1 pass encoding
  • bitrate, maxrate, or bufsize setting (otherwise exactly the same commandline)

and all seems to go well. But does it?

Here's how far I got to abstracting and shortening it:

$ ffmpeg -y -v verbose -i BigBuckBunny_640x360.m4v -sn -f mpegts -filter:a aresample=osr=44100:ocl=stereo -filte
r_complex 'sws_flags=spline;scale=w=384:h=216,fps=24/1' -c:v libx264 -profile:v baseline -x264opts level=3.0:ref=1 -bufs
ize 1058348 -maxrate 1058348 -force_key_frames 'expr:gte(t,n_forced*10)' -b:v 529174 -c:a libfdk_aac -profile:a aac_he -
b:a 64000 -pass 1 test.ts
ffmpeg version N-65628-g6c36b3a Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 14 2014 15:21:41 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
  libavutil      54.  3.100 / 54.  3.100
  libavcodec     56.  0.100 / 56.  0.100
  libavformat    56.  1.100 / 56.  1.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.100 /  5.  0.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  0.100 /  1.  0.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V M4A mp42isom
    creation_time   : 2008-06-03 05:23:28
    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
    title           : Big Buck Bunny
    artist          : Peach Open Movie Team
    composer        : Sacha Goedegebure / Ton Roosendaal
    date            : 2008
  Duration: 00:09:56.46, start: 0.000000, bitrate: 1626 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 640x360, 1495 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Video Media Handler
[Parsed_scale_0 @ 0x7fb733d00140] w:384 h:216 flags:'spline' interl:0
[Parsed_fps_1 @ 0x7fb733d00580] fps=24/1
[graph 0 input from stream 0:1 @ 0x7fb733d008e0] w:640 h:360 pixfmt:yuv420p tb:1/2400 fr:24/1 sar:0/1 sws_param:flags=2
[Parsed_scale_0 @ 0x7fb733d00140] w:640 h:360 fmt:yuv420p sar:0/1 -> w:384 h:216 fmt:yuv420p sar:0/1 flags:0x400
[graph 1 input from stream 0:0 @ 0x7fb733d0a600] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[Parsed_aresample_0 @ 0x7fb733d0a260] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
[libx264 @ 0x7fb734804800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fb734804800] profile Constrained Baseline, level 3.0
[mpegts @ 0x7fb734803c00] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test.ts':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V M4A mp42isom
    date            : 2008
    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
    title           : Big Buck Bunny
    artist          : Peach Open Movie Team
    composer        : Sacha Goedegebure / Ton Roosendaal
    encoder         : Lavf56.1.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 384x216, q=-1--1, pass 1, 529 kb/s, 24 fps, 90k tbn, 24 tbc (default)
    Metadata:
      encoder         : Lavc56.0.100 libx264
    Stream #0:1(eng): Audio: aac (libfdk_aac) (HE-AAC), 44100 Hz, stereo, s16, 64 kb/s (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Sound Media Handler
      encoder         : Lavc56.0.100 libfdk_aac
Stream mapping:
  Stream #0:1 (h264) -> scale (graph 0)
  fps (graph 0) -> Stream #0:0 (libx264)
  Stream #0:0 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
No more output streams to write to, finishing.e=00:09:46.88 bitrate= 675.0kbits/s
frame=14316 fps=485 q=-1.0 Lsize=   48818kB time=00:09:56.50 bitrate= 670.4kbits/s
video:38799kB audio:4661kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 12.328111%
Input file #0 (BigBuckBunny_640x360.m4v):
  Input stream #0:0 (audio): 25688 packets read (9508842 bytes); 25688 frames decoded (26304512 samples);
  Input stream #0:1 (video): 14316 packets read (111513310 bytes); 14316 frames decoded;
  Total: 40004 packets (121022152 bytes) demuxed
Output file #0 (test.ts):
  Output stream #0:0 (video): 14316 frames encoded; 14316 packets muxed (39729896 bytes);
  Output stream #0:1 (audio): 12844 frames encoded (26304512 samples); 12847 packets muxed (4773112 bytes);
  Total: 27163 packets (44503008 bytes) muxed
[Parsed_fps_1 @ 0x7fb733d00580] 14316 frames in, 14316 frames out; 0 frames dropped, 0 frames duplicated.
[libx264 @ 0x7fb734804800] frame I:211   Avg QP:14.89  size: 22308
[libx264 @ 0x7fb734804800] frame P:14105 Avg QP:19.36  size:  2483
[libx264 @ 0x7fb734804800] mb I  I16..4: 18.5%  0.0% 81.5%
[libx264 @ 0x7fb734804800] mb P  I16..4:  2.8%  0.0%  0.0%  P16..4: 46.5%  0.0%  0.0%  0.0%  0.0%    skip:50.7%
[libx264 @ 0x7fb734804800] final ratefactor: 19.08
[libx264 @ 0x7fb734804800] coded y,uvDC,uvAC intra: 68.9% 71.3% 53.7% inter: 25.2% 18.6% 6.4%
[libx264 @ 0x7fb734804800] i16 v,h,dc,p: 33% 34% 21% 12%
[libx264 @ 0x7fb734804800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 10%  7%  8%  9%  8%  8%  9%
[libx264 @ 0x7fb734804800] i8c dc,h,v,p: 50% 25% 15%  9%
[libx264 @ 0x7fb734804800] kb/s:532.84
~$ ffmpeg -y -v verbose -i BigBuckBunny_640x360.m4v -sn -f mpegts -filter:a aresample=osr=44100:ocl=stereo -filter_complex 'sws_flags=spline;scale=w=384:h=216,fps=24/1' -c:v libx264 -profile:v baseline -x264opts level=3.0:ref=1 -bufsize 1058348 -maxrate 1058348 -force_key_frames 'expr:gte(t,n_forced*10)' -b:v 529174 -c:a libfdk_aac -profile:a aac_he -b:a 64000 -pass 2 test.ts
ffmpeg version N-65628-g6c36b3a Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 14 2014 15:21:41 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
  libavutil      54.  3.100 / 54.  3.100
  libavcodec     56.  0.100 / 56.  0.100
  libavformat    56.  1.100 / 56.  1.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.100 /  5.  0.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  0.100 /  1.  0.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V M4A mp42isom
    creation_time   : 2008-06-03 05:23:28
    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
    title           : Big Buck Bunny
    artist          : Peach Open Movie Team
    composer        : Sacha Goedegebure / Ton Roosendaal
    date            : 2008
  Duration: 00:09:56.46, start: 0.000000, bitrate: 1626 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 640x360, 1495 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Video Media Handler
[Parsed_scale_0 @ 0x7fe209600000] w:384 h:216 flags:'spline' interl:0
[Parsed_fps_1 @ 0x7fe209600440] fps=24/1
[graph 0 input from stream 0:1 @ 0x7fe2096007a0] w:640 h:360 pixfmt:yuv420p tb:1/2400 fr:24/1 sar:0/1 sws_param:flags=2
[Parsed_scale_0 @ 0x7fe209600000] w:640 h:360 fmt:yuv420p sar:0/1 -> w:384 h:216 fmt:yuv420p sar:0/1 flags:0x400
[graph 1 input from stream 0:0 @ 0x7fe20940e1c0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[Parsed_aresample_0 @ 0x7fe20940a7c0] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
[libx264 @ 0x7fe20a800c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fe20a800c00] profile Constrained Baseline, level 3.0
[mpegts @ 0x7fe20a800000] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test.ts':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V M4A mp42isom
    date            : 2008
    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
    title           : Big Buck Bunny
    artist          : Peach Open Movie Team
    composer        : Sacha Goedegebure / Ton Roosendaal
    encoder         : Lavf56.1.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 384x216, q=-1--1, pass 2, 529 kb/s, 24 fps, 90k tbn, 24 tbc (default)
    Metadata:
      encoder         : Lavc56.0.100 libx264
    Stream #0:1(eng): Audio: aac (libfdk_aac) (HE-AAC), 44100 Hz, stereo, s16, 64 kb/s (default)
    Metadata:
      creation_time   : 2008-06-03 05:23:28
      handler_name    : Apple Sound Media Handler
      encoder         : Lavc56.0.100 libfdk_aac
Stream mapping:
  Stream #0:1 (h264) -> scale (graph 0)
  fps (graph 0) -> Stream #0:0 (libx264)
  Stream #0:0 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
No more output streams to write to, finishing.e=00:09:56.35 bitrate= 666.1kbits/s
frame=14316 fps=433 q=-1.0 Lsize=   48523kB time=00:09:56.50 bitrate= 666.4kbits/s
video:38508kB audio:4661kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 12.401180%
Input file #0 (BigBuckBunny_640x360.m4v):
  Input stream #0:0 (audio): 25688 packets read (9508842 bytes); 25688 frames decoded (26304512 samples);
  Input stream #0:1 (video): 14316 packets read (111513310 bytes); 14316 frames decoded;
  Total: 40004 packets (121022152 bytes) demuxed
Output file #0 (test.ts):
  Output stream #0:0 (video): 14316 frames encoded; 14316 packets muxed (39432182 bytes);
  Output stream #0:1 (audio): 12844 frames encoded (26304512 samples); 12847 packets muxed (4773112 bytes);
  Total: 27163 packets (44205294 bytes) muxed
[Parsed_fps_1 @ 0x7fe209600440] 14316 frames in, 14316 frames out; 0 frames dropped, 0 frames duplicated.
[libx264 @ 0x7fe20a800c00] frame I:211   Avg QP:15.41  size: 22122
[libx264 @ 0x7fe20a800c00] frame P:14105 Avg QP:19.60  size:  2465
[libx264 @ 0x7fe20a800c00] mb I  I16..4: 19.9%  0.0% 80.1%
[libx264 @ 0x7fe20a800c00] mb P  I16..4:  0.8%  0.0%  2.2%  P16..4: 29.6% 12.1%  5.6%  0.0%  0.0%    skip:49.7%
[libx264 @ 0x7fe20a800c00] coded y,uvDC,uvAC intra: 73.3% 80.8% 65.7% inter: 24.1% 27.7% 8.8%
[libx264 @ 0x7fe20a800c00] i16 v,h,dc,p: 35% 32% 11% 22%
[libx264 @ 0x7fe20a800c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 20% 12%  6%  8%  8%  8%  7%  8%
[libx264 @ 0x7fe20a800c00] i8c dc,h,v,p: 49% 24% 16% 11%
[libx264 @ 0x7fe20a800c00] kb/s:528.85
$ ffmpeg -i test.ts -f segment -c copy -map 0 -segment_time 10 -segment_list test.m3u8 test%02d.ts
ffmpeg version N-65628-g6c36b3a Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 14 2014 15:21:41 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
  libavutil      54.  3.100 / 54.  3.100
  libavcodec     56.  0.100 / 56.  0.100
  libavformat    56.  1.100 / 56.  1.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.100 /  5.  0.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  0.100 /  1.  0.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, mpegts, from 'test.ts':
  Duration: 00:09:56.61, start: 1.400000, bitrate: 666 kb/s
  Program 1
    Metadata:
      service_name    : Big Buck Bunny
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 384x216, 24 fps, 24 tbr, 90k tbn, 48 tbc
    Stream #0:1[0x101](eng): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 58 kb/s
[mpegts @ 0x7faa99826800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
    Last message repeated 1 times
Output #0, segment, to 'test%02d.ts':
  Metadata:
    encoder         : Lavf56.1.100
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 384x216, q=2-31, 24 fps, 24 tbn, 24 tbc
    Stream #0:1(eng): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, 58 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x7faa99826800] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
    Last message repeated 37 times
[mpegts @ 0x7faa99826800] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
av_interleaved_write_frame(): Invalid data found when processing input
frame= 4565 fps=0.0 q=-1.0 Lsize=N/A time=00:03:10.33 bitrate=N/A
video:11145kB audio:1486kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

Sometimes I also get:

[mpegts @ 0x7fecbd800000] H.264 bitstream error, startcode missing

while the segmentation seems to succeed, but does it?


          #4091: Unable Mux to mpegts using an HLS stream   
ffmpeg -i "http://video23.fra01.hls.twitch.tv/hls69/hotshotgg_11681581744_161216111/chunked/index-live.m3u8?token=id=811310623639913253,bid=11681581744,exp=1415456667,node=video23-1.fra01.hls.justin.tv,nname=video23.fra01,fmt=chunked&sig=ff44bc201ed90617892fabd165fbf2af3d11fac9" -codec copy -f mpegts /tmp/test.ts

ffmpeg version N-41933-gc11f731-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov  7 2014 01:22:26 with gcc 4.8 (Debian 4.8.3-13)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8
  libavutil      54. 11.100 / 54. 11.100
  libavcodec     56. 12.100 / 56. 12.100
  libavformat    56. 12.101 / 56. 12.101
  libavdevice    56.  2.100 / 56.  2.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://video23.fra01.hls.twitch.tv/hls69/hotshotgg_11681581744_161216111/chunked/index-live.m3u8?token=id=811310623639913253,bid=11681581744,exp=1415456667,node=video23-1.fra01.hls.justin.tv,nname=video23.fra01,fmt=chunked&sig=ff44bc201ed90617892fabd165fbf2af3d11fac9':
  Duration: N/A, start: 20962.069200, bitrate: 196 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 196 kb/s
    Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709/bt709/iec61966-2-1), 1280x720, 45 fps, 45 tbr, 90k tbn, 90 tbc
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
File '/tmp/test.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to '/tmp/test.ts':
  Metadata:
    encoder         : Lavf56.12.101
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720, q=2-31, 45 fps, 90k tbn, 45 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, 196 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x30c12a0] H.264 bitstream malformed, no startcode found, use the video bitstream filter 'h264_mp4toannexb' to fix it ('-bsf:v h264_mp4toannexb' option with ffmpeg)
av_interleaved_write_frame(): Invalid data found when processing input
[mpegts @ 0x30c12a0] H.264 bitstream malformed, no startcode found, use the video bitstream filter 'h264_mp4toannexb' to fix it ('-bsf:v h264_mp4toannexb' option with ffmpeg)
frame=    3 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.06 bitrate=   0.0kbits/s
video:77kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

However, even if i entered the -bsf:v h264_mp4toannexb filter the restream doesnt start. (and it shouldn't tell to import the filter as the containers are the same).

Using the following command:

ffmpeg -i "url" -c:a copy -c:v copy -f matroska pipe:1 | ffmpeg -i - -c copy -bsf:v h264_mp4toannexb -f mpegts test.ts

the restream started successfully. However it doesn't work when i directly mux it to mpegts.

Thank you


          #4260: hqdn3d usage in segment input creation creates invalid last segment   

Summary of the bug: With some NTSC frame rate input conversion using the hqdn3d filter and then hls segmenting the result an invalid last segment without video is created.

How to reproduce: The following boiled down command creates 5 valid segments if the hqdn3d filter is ommitted, and 6 with hqdn3d (the last one invalid):

$ ffmpeg -y -i hqdn3d-test.mov -filter:v hqdn3d,scale=480:270,fps=30000/1001 -filter:a aresample=osr=44100 -f mpegts -c:v libx264 -profile:v baseline -x264opts level=3.1:ref=1 -force_key_frames 'expr:gte(t,n_forced*5)' -c:a libfdk_aac -b:a 64k - | ffmpeg -i - -c copy -map 0 -f segment -segment_list_type hls -segment_time 5 -segment_time_delta `awk 'BEGIN { print 1 / (2 * 30000/1001) }'` -segment_list test.m3u8 %d.ts
ffmpeg version N-68781-ge405a8a Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 30 2014 11:15:15 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib --enable-openssl
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 19.100 / 56. 19.100
  libavformat    56. 16.102 / 56. 16.102
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  6.100 /  5.  6.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
ffmpeg version N-68781-ge405a8a Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 30 2014 11:15:15 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib --enable-openssl
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 19.100 / 56. 19.100
  libavformat    56. 16.102 / 56. 16.102
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  6.100 /  5.  6.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'hqdn3d-test.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2014-04-15 04:54:41
  Duration: 00:00:30.03, start: 0.000000, bitrate: 165031 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 163491 kb/s, SAR 1920:1920 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2014-04-15 04:54:41
      handler_name    : Apple Alias Data Handler
      encoder         : H.264
      timecode        : 00:00:00;00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2014-04-15 04:54:41
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00;00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2014-04-15 05:05:56
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00;00
[libx264 @ 0x7fb2f4829e00] using SAR=1/1
[libx264 @ 0x7fb2f4829e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fb2f4829e00] profile Constrained Baseline, level 3.1
Output #0, mpegts, to 'pipe:':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf56.16.102
    Stream #0:0(eng): Video: h264 (libx264), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2014-04-15 04:54:41
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00;00
      encoder         : Lavc56.19.100 libx264
    Stream #0:1(eng): Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 64 kb/s (default)
    Metadata:
      creation_time   : 2014-04-15 04:54:41
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00;00
      encoder         : Lavc56.19.100 libfdk_aac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Input #0, mpegts, from 'pipe:':=     425kB time=00:00:05.94 bitrate= 586.2kbits/s
  Duration: N/A, start: 1.400000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 67 kb/s
Output #0, segment, to '%d.ts':
  Metadata:
    encoder         : Lavf56.16.102
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0:1(eng): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, 67 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
frame=  900 fps= 72 q=-1.0 Lsize=    3419kB time=00:00:30.04 bitrate= 932.2kbits/s
video:2820kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.871079%
[libx264 @ 0x7fb2f4829e00] frame I:21    Avg QP:22.38  size: 17633
[libx264 @ 0x7fb2f4829e00] frame P:879   Avg QP:25.79  size:  2864
[libx264 @ 0x7fb2f4829e00] mb I  I16..4: 23.6%  0.0% 76.4%
[libx264 @ 0x7fb2f4829e00] mb P  I16..4:  3.4%  0.0%  3.0%  P16..4: 35.7% 15.1%  5.2%  0.0%  0.0%    skip:37.5%
[libx264 @ 0x7fb2f4829e00] coded y,uvDC,uvAC intra: 49.6% 68.7% 34.7% inter: 22.6% 23.1% 4.2%
[libx264 @ 0x7fb2f4829e00] i16 v,h,dc,p: 19% 38%  9% 33%
[libx264 @ 0x7fb2f4829e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 31% 14%  6%  6%  6%  7%  5%  6%
[libx264 @ 0x7fb2f4829e00] i8c dc,h,v,p: 49% 30% 12%  9%
[libx264 @ 0x7fb2f4829e00] kb/s:769.35
frame=  900 fps= 93 q=-1.0 Lsize=N/A time=00:00:30.09 bitrate=N/A
video:2826kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
$ ffprobe 6.ts
ffprobe version N-68781-ge405a8a Copyright (c) 2007-2014 the FFmpeg developers
  built on Dec 30 2014 11:15:15 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib --enable-openssl
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 19.100 / 56. 19.100
  libavformat    56. 16.102 / 56. 16.102
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  6.100 /  5.  6.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg @ 0x7fa46880a000] Format mpeg detected only with low score of 25, misdetection possible!
[mp2 @ 0x7fa468826200] Header missing
[mpeg @ 0x7fa46880a000] decoding for stream 0 failed
[mpeg @ 0x7fa46880a000] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
6.ts: End of file

Unfortunately - for reproduction - this happens rather rarely. The smallest input sample I came across so far is 591MB. It was used for the above. I can provide it for download if it is too large to attach here. It can't be shortened because the issue depends on exact duration as well. The issue is reliably replicable also with intermediate mp4 (and h264_mp4toannexb filter for segmenting) or mpegts intermediate files. In practice this can be worked around by just omitting manually editing the m3u8 file to omit the last segment. The stream then works ok. But this is obviously less than optimal.


          #4491: hls applehttp with Invalid stream index   

Summary of the bug: It always happens when advertising How to reproduce:

ffplay -loglevel 48 http://cdn.djing.com/tv/h-05.m3u8
LOG:
[http @ 0x7fe7c8007900] header='HTTP/1.1 200 OK'B sq=    0B f=6/5
[http @ 0x7fe7c8007900] http_code=200
[http @ 0x7fe7c8007900] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:36:34 GMT'
[http @ 0x7fe7c8007900] header='Content-Type: application/x-mpegURL'
[http @ 0x7fe7c8007900] header='Cache-Control: no-cache'
[http @ 0x7fe7c8007900] header='Accept-Ranges: bytes'
[http @ 0x7fe7c8007900] header='Date: Fri, 17 Apr 2015 14:27:16 GMT'
[http @ 0x7fe7c8007900] header='Connection: close'
[http @ 0x7fe7c8007900] header='X-Cacheable: Not cacheable: no cache'
[http @ 0x7fe7c8007900] header='X-CDN-Geo: ams'
[http @ 0x7fe7c8007900] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c8007900] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c8007900] header='Content-Length: 868'
[http @ 0x7fe7c8007900] header=''
[AVIOContext @ 0x7fe7c8009720] Statistics: 868 bytes read, 0 seeks
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./stimming-aufgang-kyrie-stimming-remix-infine/05-26.ts', offset 0, playlist 0
[http @ 0x7fe7c805ab00] request: GET /tv/./stimming-aufgang-kyrie-stimming-remix-infine/05-26.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c805ab00] header='HTTP/1.1 200 OK'B sq=    0B f=6/5
[http @ 0x7fe7c805ab00] http_code=200
[http @ 0x7fe7c805ab00] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:36:34 GMT'
[http @ 0x7fe7c805ab00] header='Content-Type: video/MP2T'
[http @ 0x7fe7c805ab00] header='Last-Modified: Wed, 19 Jun 2013 02:05:55 GMT'
[http @ 0x7fe7c805ab00] header='ETag: "2862309-ce5c-4df78451646c0"'
[http @ 0x7fe7c805ab00] header='Accept-Ranges: bytes'
[http @ 0x7fe7c805ab00] header='Date: Fri, 17 Apr 2015 14:27:16 GMT'
[http @ 0x7fe7c805ab00] header='Connection: close'
[http @ 0x7fe7c805ab00] header='X-Cacheable: Matched cache'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo: ams'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c805ab00] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c805ab00] header='Content-Length: 52828'
[http @ 0x7fe7c805ab00] header=''
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 225571506/5
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:7905:(snd_pcm_recover) underrun occurred
[NULL @ 0x7fe7c8015760] Current profile doesn't provide more RBSP data in PPS, skipping
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 22560750
[h264 @ 0x7fe7c8151ba0] Delayed frames seen. Reenabling low delay requires a codec flush.
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 225643506/5
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 22567950
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./djing-agenda-DE/05-0.ts', offset 0, playlist 0
[http @ 0x7fe7c805ab00] request: GET /tv/./djing-agenda-DE/05-0.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c805ab00] header='HTTP/1.1 200 OK'B sq=    0B f=6/5
[http @ 0x7fe7c805ab00] http_code=200
[http @ 0x7fe7c805ab00] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:39:26 GMT'
[http @ 0x7fe7c805ab00] header='Content-Type: video/MP2T'
[http @ 0x7fe7c805ab00] header='Last-Modified: Fri, 17 Apr 2015 13:06:28 GMT'
[http @ 0x7fe7c805ab00] header='ETag: "2847f6f-24cf8-513eb3f930e18"'
[http @ 0x7fe7c805ab00] header='Accept-Ranges: bytes'
[http @ 0x7fe7c805ab00] header='Date: Fri, 17 Apr 2015 14:27:17 GMT'
[http @ 0x7fe7c805ab00] header='Connection: close'
[http @ 0x7fe7c805ab00] header='X-Cacheable: Cacheable'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo: ams'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c805ab00] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c805ab00] header='Content-Length: 150776'
[http @ 0x7fe7c805ab00] header=''
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 0 expected 3 got 0
[mpegts @ 0x7fe7c8006d00] stream=2 stream_type=f pid=102 prog_reg_desc=
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 257 expected 6 got 0
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 22571550
[NULL @ 0x7fe7c8015760] Current profile doesn't provide more RBSP data in PPS, skipping
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2
    Last message repeated 30 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=6/5
    Last message repeated 111 times
[h264 @ 0x7fe7c8112000] Reinit context to 1280x720, pix_fmt: yuvj420p
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2
    Last message repeated 63 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=6/5
    Last message repeated 7 times
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./djing-agenda-DE/05-1.ts', offset 0, playlist 0
[http @ 0x7fe7c805ab00] request: GET /tv/./djing-agenda-DE/05-1.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c805ab00] header='HTTP/1.1 200 OK'B sq=    0B f=6/5
[http @ 0x7fe7c805ab00] http_code=200
[http @ 0x7fe7c805ab00] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:40:39 GMT'
[http @ 0x7fe7c805ab00] header='Content-Type: video/MP2T'
[http @ 0x7fe7c805ab00] header='Last-Modified: Fri, 17 Apr 2015 13:06:28 GMT'
[http @ 0x7fe7c805ab00] header='ETag: "2847f70-20ae0-513eb3f967919"'
[http @ 0x7fe7c805ab00] header='Accept-Ranges: bytes'
[http @ 0x7fe7c805ab00] header='Date: Fri, 17 Apr 2015 14:27:17 GMT'
[http @ 0x7fe7c805ab00] header='Connection: close'
[http @ 0x7fe7c805ab00] header='X-Cacheable: Cacheable'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo: ams'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c805ab00] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c805ab00] header='Content-Length: 133856'
[http @ 0x7fe7c805ab00] header=''
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=6/5
    Last message repeated 46 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=6/5
    Last message repeated 63 times
Video frame changed from size:1280x720 format:yuv420p serial:1 to size:1280x720 format:yuvj420p serial:1
[ffplay_buffer @ 0x7fe7b41abd40] Setting 'video_size' to value '1280x720'
[ffplay_buffer @ 0x7fe7b41abd40] Setting 'pix_fmt' to value '12'
[ffplay_buffer @ 0x7fe7b41abd40] Setting 'time_base' to value '1/90000'
[ffplay_buffer @ 0x7fe7b41abd40] Setting 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 0x7fe7b41abd40] Setting 'frame_rate' to value '25/1'
[ffplay_buffer @ 0x7fe7b41abd40] w:1280 h:720 pixfmt:yuvj420p tb:1/90000 fr:25/1 sar:1/1 sws_param:
[ffplay_crop @ 0x7fe7b41ba0c0] Setting 'out_w' to value 'floor(in_w/2)*2'
[ffplay_crop @ 0x7fe7b41ba0c0] Setting 'out_h' to value 'floor(in_h/2)*2'
[auto-inserted scaler 0 @ 0x7fe7b41b5640] Setting 'flags' to value '4'
[auto-inserted scaler 0 @ 0x7fe7b41b5640] w:iw h:ih flags:'4' interl:0
[ffplay_crop @ 0x7fe7b41ba0c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'ffplay_buffer' and the filter 'ffplay_crop'
[AVFilterGraph @ 0x7fe7b41ab5e0] query_formats: 3 queried, 1 merged, 1 already done, 0 delayed
[swscaler @ 0x7fe7b41992c0] deprecated pixel format used, make sure you did set range correctly
[auto-inserted scaler 0 @ 0x7fe7b41b5640] w:1280 h:720 fmt:yuvj420p sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
[ffplay_crop @ 0x7fe7b41ba0c0] w:1280 h:720 sar:1/1 -> w:1280 h:720 sar:1/1
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2
    Last message repeated 63 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 39 times
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./djing-agenda-DE/05-2.ts', offset 0, playlist 0
[http @ 0x7fe7c805ab00] request: GET /tv/./djing-agenda-DE/05-2.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c805ab00] header='HTTP/1.1 200 OK'B sq=    0B f=7/6
[http @ 0x7fe7c805ab00] http_code=200
[http @ 0x7fe7c805ab00] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:35:18 GMT'
[http @ 0x7fe7c805ab00] header='Content-Type: video/MP2T'
[http @ 0x7fe7c805ab00] header='Last-Modified: Fri, 17 Apr 2015 13:06:28 GMT'
[http @ 0x7fe7c805ab00] header='ETag: "2847f71-212f4-513eb3f99d47a"'
[http @ 0x7fe7c805ab00] header='Accept-Ranges: bytes'
[http @ 0x7fe7c805ab00] header='Date: Fri, 17 Apr 2015 14:27:17 GMT'
[http @ 0x7fe7c805ab00] header='Connection: close'
[http @ 0x7fe7c805ab00] header='X-Cacheable: Cacheable'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo: ams'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c805ab00] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c805ab00] header='Content-Length: 135924'
[http @ 0x7fe7c805ab00] header=''
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 78 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 63 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 63 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 7 times
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./djing-agenda-DE/05-3.ts', offset 0, playlist 0
[http @ 0x7fe7c805ab00] request: GET /tv/./djing-agenda-DE/05-3.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c805ab00] header='HTTP/1.1 200 OK'B sq=    0B f=7/6
[http @ 0x7fe7c805ab00] http_code=200
[http @ 0x7fe7c805ab00] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:36:34 GMT'
[http @ 0x7fe7c805ab00] header='Content-Type: video/MP2T'
[http @ 0x7fe7c805ab00] header='Last-Modified: Fri, 17 Apr 2015 13:06:29 GMT'
[http @ 0x7fe7c805ab00] header='ETag: "2847f72-1afd0-513eb3f9ca33b"'
[http @ 0x7fe7c805ab00] header='Accept-Ranges: bytes'
[http @ 0x7fe7c805ab00] header='Date: Fri, 17 Apr 2015 14:27:17 GMT'
[http @ 0x7fe7c805ab00] header='Connection: close'
[http @ 0x7fe7c805ab00] header='X-Cacheable: Cacheable'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo: ams'
[http @ 0x7fe7c805ab00] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c805ab00] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c805ab00] header='Content-Length: 110544'
[http @ 0x7fe7c805ab00] header=''
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2
    Last message repeated 14 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 95 times
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 2  0B f=7/6
    Last message repeated 105 times
[hls,applehttp @ 0x7fe7c8000920] HLS request for url 'http://cdn.djing.com/tv/./massive-attack-paradise-circus-good-morning-records/05-1.ts', offset 0, playlist 0
[http @ 0x7fe7c8317ee0] request: GET /tv/./massive-attack-paradise-circus-good-morning-records/05-1.ts HTTP/1.1
User-Agent: Lavf/56.30.100
Accept: */*
Connection: close
Host: cdn.djing.com
Cookie: OVHCDN=R2163897887
Icy-MetaData: 1
[http @ 0x7fe7c8317ee0] header='HTTP/1.1 200 OK'
[http @ 0x7fe7c8317ee0] http_code=200
[http @ 0x7fe7c8317ee0] header='Set-Cookie: OVHCDN=R2163897887; path=/; expires=Mon, 20-Apr-2015 02:39:26 GMT'
[http @ 0x7fe7c8317ee0] header='Content-Type: video/MP2T'
[http @ 0x7fe7c8317ee0] header='Last-Modified: Wed, 24 Apr 2013 06:16:51 GMT'
[http @ 0x7fe7c8317ee0] header='ETag: "284ff4d-36e8ac-4db153f619ac0"'
[http @ 0x7fe7c8317ee0] header='Accept-Ranges: bytes'
[http @ 0x7fe7c8317ee0] header='Date: Fri, 17 Apr 2015 14:27:18 GMT'
[http @ 0x7fe7c8317ee0] header='Connection: close'
[http @ 0x7fe7c8317ee0] header='X-Cacheable: Matched cache'
[http @ 0x7fe7c8317ee0] header='X-CDN-Geo: ams'
[http @ 0x7fe7c8317ee0] header='X-CDN-Geo-IP: 46.105.196.101'
[http @ 0x7fe7c8317ee0] header='X-CDN-Any-IP: 46.105.198.208'
[http @ 0x7fe7c8317ee0] header='Content-Length: 3598508'
[http @ 0x7fe7c8317ee0] header=''
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 17 expected 5 got 0
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 0 expected 4 got 0
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 4096 expected 3 got 0
[mpegts @ 0x7fe7c8006d00] stream=3 stream_type=f pid=100 prog_reg_desc=
[mpegts @ 0x7fe7c8006d00] Continuity check failed for pid 257 expected 12 got 0
[NULL @ 0x7fe7c8015760] Current profile doesn't provide more RBSP data in PPS, skipping
[mpegts @ 0x7fe7c8006d00] DTS 60750 < 4496400 out of order
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 60750
[hls,applehttp @ 0x7fe7c8000920] DTS 60750 < 4496400 out of order
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 64350 f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 67950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 71550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 75150 f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 78750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 82350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 85950 f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 89550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 93150 f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 96750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 100350
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 103950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 107550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 111150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 114750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 118350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 121950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 125550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 129150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 132750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 136350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 139950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 143550f=7/6
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 147150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 150750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 154350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 157950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 161550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 165150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 168750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 172350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 175950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 179550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 183150f=7/6
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 186750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 190350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 193950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 197550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 201150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 204750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 208350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 211950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 215550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 219150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 222750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 226350
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 229950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 233550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 237150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 240750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 244350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 247950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 251550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 255150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 258750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 262350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 265950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 269550
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3  0B f=7/6
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 273150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 276750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 280350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 283950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 287550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 291150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 294750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 298350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 301950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 305550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 309150
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 312750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 316350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 319950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 323550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 327150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 330750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 334350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 337950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 341550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 345150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 348750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 352350
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 355950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 359550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 363150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 366750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 370350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 373950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 377550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 381150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 384750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 388350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 391950
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 395550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 399150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 402750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 406350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 409950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 413550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 417150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 420750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 424350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 427950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 431550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 435150f=7/6
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 438750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 442350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 445950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 449550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 453150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 456750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 460350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 463950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 467550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 471150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 474750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 478350
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 481950f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 485550
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 489150f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 492750
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 496350f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 499950
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 503550f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 507150
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 510750f=7/6
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 514350
[mpegts @ 0x7fe7c8006d00] invalid dts/pts combination 517950f=7/6
[hls,applehttp @ 0x7fe7c8000920] Invalid stream index 3
    Last message repeated 9 times

          #4668: Subtle HLS segmenting playback glitch   

I'm running into a problem using ffmpeg to segment files into HLS (m3u8) format for playback on iOS devices. In the ffmpeg segmented version of this file, there is a very subtle stutter just as the two adults walk underneath the 9. This appears to be some kind of single-frame glitch.

The stutter always happen at HLS segment boundaries. When it happens it is always visible on iOS devices (play it in Safari on an iPad) and only sometimes visible in QuickTime? on OSX.

I have never been able to reproduce this glitch using Apple's media file segmenter and the glitch is not present in the source video.

I've tried various permutations of the segment list, segment duration, and segment format settings when experimenting with ffmpeg and none consistently address this issue across multiple videos. All they do is move the glitch around depending on where the segment boundaries line up.

Here is a 30 second clip that exhibits this behavior. The input video which does not have the glitch is here:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/input.ts

Here is the ffmpeg version which shows the glitch at 11 seconds just as the two adults walk under the 9 on both iOS and QuickTime? on OSX (version 10.4 (833.6)):

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/ffmpeg/output.m3u8

And here is a version segmented with Apple's media file segmenter that does not exhibit any issues.

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/mediafilesegmenter/output.m3u8

Here is the complete ffmpeg output from segmenting the ts file:

$ ffmpeg -y -i ../input.ts -c copy -segment_list output.m3u8 -hls_list_size
0 -segment_time 10 -f segment 'output.m3u8.%03d.ts'
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --disable-debug --disable-devices --disable-doc
--disable-ffplay --disable-ffserver --disable-shared --enable-gpl
--enable-libaacplus --enable-libfaac --enable-libfaac --enable-libfdk_aac
--enable-libmp3lame --enable-libtheora --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxvid --enable-nonfree --enable-postproc --enable-pthreads
--enable-runtime-cpudetect --enable-version3
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0x20440e0] non-existing SPS 0 referenced in buffering period
    Last message repeated 1 times
Input #0, mpegts, from '../input.ts':
  Duration: 00:00:30.06, start: 1.415333, bitrate: 3982 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95
tbc
    Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F),
48000 Hz, stereo, fltp, 120 kb/s
Output #0, segment, to 'output.m3u8.%03d.ts':
  Metadata:
    encoder         : Lavf56.25.101
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
    Stream #0:1(und): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, 120 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x20440e0] non-existing SPS 0 referenced in buffering period
frame=  720 fps=0.0 q=-1.0 Lsize=N/A time=00:00:30.02 bitrate=N/A
video:12992kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
$

Can anybody help me understand what is going on here and how we can fix this issue? It is particularly bad when using an iPad play high quality high-motion video on a large format television.


          #4733: HLS segmenting generates different EXT-X-TARGETDURATION values for different resolutions/framerates   

Summary of the bug: I am trying to encode a video to HLS in multiple bitrates (and, therefore, according to apple's recommendations, multiple frame rates).

I can get one HLS working fine when I have a single variant. But when I have variants, I sometimes get different segment durations and, therefore, different TARGETDURATION (since they have different maxes). This means that the variants can't be used together.

For example, here are the first few lines of the m3u8 file of the same video encoded a 15 fps and 30 fps. Note the durations of the first segments have _different_lengths_. Also the TARGETDURATION is different.

    #EXT-X-TARGETDURATION:10
    #EXTINF:9.023222,
    480_0.ts
    #EXT-X-TARGETDURATION:10
    #EXTINF:9.023222,
    640_0.ts
    #EXT-X-TARGETDURATION:9
    #EXTINF:9.000000,
    960_0.ts

I have already posted to ffmpeg-users and discussed it on #ffmpeg irc.

Here are the links to a more complete writeup: http://ffmpeg-users.933282.n4.nabble.com/HLS-segment-duration-for-multiple-framerate-encoding-td4671498.html http://pastebin.com/JqxiMe3U

How to reproduce: Source video file:http://www.caminandes.com/download/01_llama_drama_1080p.zip full logs with -v 9 -loglevel 99 are attached

ENCODING 1

%./ffmpeg   -y -i ../infile.mp4 -pix_fmt yuv420p -vbsf h264_mp4toannexb -flags -global_header -vcodec libx264 -strict -2 -acodec aac -r 15 -profile:v baseline -level 3 -b:v 1632k -maxrate 1746.24k -keyint_min 45 -g 45 -sc_threshold 0 -vf scale=480:-1 -hls_list_size 0 -hls_time 9 480_.m3u8
ffmpeg version N-48432-ga176bbc-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (Debian 4.9.3-1)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 52.100 / 56. 52.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 27.100 /  5. 27.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../infile.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-02-08 18:56:45
  Duration: 00:01:30.00, start: 0.000000, bitrate: 3120 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 2925 kb/s, 24 fps, 24 tbr, 48 tbn, 48 tbc (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2013-02-08 18:56:46
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
[libx264 @ 0x3a12de0] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x3a12de0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x3a12de0] profile Constrained Baseline, level 3.0
Output #0, hls, to '480_.m3u8':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.40.101
    Stream #0:0(und): Video: h264 (libx264), yuv420p, 480x270, q=-1--1, 1632 kb/s, 15 fps, 90k tbn, 15 tbc (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
      encoder         : Lavc56.52.100 libx264
    Stream #0:1(und): Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2013-02-08 18:56:46
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
      encoder         : Lavc56.52.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 1352 fps=123 q=-1.0 Lsize=N/A time=00:01:30.13 bitrate=N/A dup=0 drop=808
video:16495kB audio:1394kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x3a12de0] frame I:31    Avg QP: 3.48  size: 58339
[libx264 @ 0x3a12de0] frame P:1321  Avg QP: 5.84  size: 11418
[libx264 @ 0x3a12de0] mb I  I16..4: 31.5%  0.0% 68.5%
[libx264 @ 0x3a12de0] mb P  I16..4:  2.7%  0.0%  5.5%  P16..4: 45.3%  6.5%  8.2%  0.0%  0.0%    skip:31.8%
[libx264 @ 0x3a12de0] final ratefactor: 7.75
[libx264 @ 0x3a12de0] coded y,uvDC,uvAC intra: 86.8% 89.0% 88.6% inter: 45.3% 49.2% 47.7%
[libx264 @ 0x3a12de0] i16 v,h,dc,p: 34% 34% 18% 14%
[libx264 @ 0x3a12de0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 39% 12%  4%  5%  5%  8%  4%  7%
[libx264 @ 0x3a12de0] i8c dc,h,v,p: 46% 39%  8%  8%
[libx264 @ 0x3a12de0] ref P L0: 90.2%  6.3%  3.5%
[libx264 @ 0x3a12de0] kb/s:1499.21

ENCODING 2

%./ffmpeg   -y -i ../infile.mp4 -pix_fmt yuv420p -vbsf h264_mp4toannexb -flags -global_header -vcodec libx264 -strict -2 -acodec aac -r 30 -profile:v main -level 3.1 -b:v 1568k -maxrate 1677.76k -keyint_min 90 -g 90 -sc_threshold 0 -vf scale=960:-1 -hls_list_size 0 -hls_time 9 960_.m3u8
ffmpeg version N-48432-ga176bbc-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (Debian 4.9.3-1)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 52.100 / 56. 52.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 27.100 /  5. 27.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../infile.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-02-08 18:56:45
  Duration: 00:01:30.00, start: 0.000000, bitrate: 3120 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 2925 kb/s, 24 fps, 24 tbr, 48 tbn, 48 tbc (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2013-02-08 18:56:46
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
[libx264 @ 0x3350de0] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x3350de0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x3350de0] profile Main, level 3.1
Output #0, hls, to '960_.m3u8':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.40.101
    Stream #0:0(und): Video: h264 (libx264), yuv420p, 960x540, q=-1--1, 1568 kb/s, 30 fps, 90k tbn, 30 tbc (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
      encoder         : Lavc56.52.100 libx264
    Stream #0:1(und): Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2013-02-08 18:56:46
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
      encoder         : Lavc56.52.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 2700 fps=108 q=-1.0 Lsize=N/A time=00:01:30.00 bitrate=N/A dup=540 drop=0
video:16105kB audio:1394kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x3350de0] frame I:30    Avg QP:10.99  size: 99460
[libx264 @ 0x3350de0] frame P:974   Avg QP:13.39  size: 11549
[libx264 @ 0x3350de0] frame B:1696  Avg QP:17.09  size:  1332
[libx264 @ 0x3350de0] consecutive B-frames: 15.3%  2.1%  2.7% 80.0%
[libx264 @ 0x3350de0] mb I  I16..4: 29.2%  0.0% 70.8%
[libx264 @ 0x3350de0] mb P  I16..4:  5.9%  0.0%  6.1%  P16..4: 26.1%  8.0%  7.6%  0.0%  0.0%    skip:46.4%
[libx264 @ 0x3350de0] mb B  I16..4:  0.1%  0.0%  0.2%  B16..8: 16.1%  1.9%  0.7%  direct: 1.3%  skip:79.8%  L0:37.9% L1:56.3% BI: 5.8%
[libx264 @ 0x3350de0] final ratefactor: 15.30
[libx264 @ 0x3350de0] coded y,uvDC,uvAC intra: 52.5% 73.7% 39.7% inter: 7.3% 13.4% 1.9%
[libx264 @ 0x3350de0] i16 v,h,dc,p: 34% 38% 10% 18%
[libx264 @ 0x3350de0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 32% 16%  4%  5%  5%  6%  4%  6%
[libx264 @ 0x3350de0] i8c dc,h,v,p: 50% 33% 13%  5%
[libx264 @ 0x3350de0] Weighted P-Frames: Y:12.8% UV:6.7%
[libx264 @ 0x3350de0] ref P L0: 72.2% 10.2% 12.0%  5.3%  0.3%
[libx264 @ 0x3350de0] ref B L0: 92.6%  6.1%  1.3%
[libx264 @ 0x3350de0] ref B L1: 95.1%  4.9%
[libx264 @ 0x3350de0] kb/s:1465.93

          #4966: ffserver - no stream mapping with ffmpeg   

Hello,

i configured and started the ffserver without problems. Now, i will receive a http live stream and broadcast it with ffserver.

In any case the audio output stream from ffmpeg has the stream number 0:0 and the video stream the number 0:1. The ffmpeg commands for stream mapping does not work in the interaction with ffserver.

Report from ffmpeg:

./ffmpeg -i "http://daserste_live-lh.akamaihd.net/i/daserste_de@91204/index_608_av-p.m3u8?sd=10&rebase=on" -map 0:1 -map 0:0 http://localhost:8080/feed1.ffm
ffmpeg version 2.8.1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (Debian 4.9.3-4)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --cc=gcc-4.9
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://daserste_live-lh.akamaihd.net/i/daserste_de@91204/index_608_av-p.m3u8?sd=10&rebase=on':
  Duration: N/A, start: 89474.553378, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 512x288 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 102 kb/s
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
[libvpx @ 0x529cd20] v1.4.0-1523-gc2b8b5b
Output #0, ffm, to 'http://localhost:8080/feed1.ffm':
  Metadata:
    creation_time   : 2015-10-26 15:49:45
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: opus (libopus), 48000 Hz, stereo, s16, 64 kb/s
    Metadata:
      encoder         : Lavc56.60.100 libopus
    Stream #0:1: Video: vp8 (libvpx), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=10-42, 1000 kb/s, 25 fps, 1000k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libvpx
Stream mapping:
  Stream #0:1 -> #0:0 (aac (native) -> opus (libopus))
  Stream #0:0 -> #0:1 (h264 (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[http @ 0x4ffc080] No trailing CRLF found in HTTP header.1 bitrate=1127.1kbits/s dup=20 drop=0
[http @ 0x507c240] No trailing CRLF found in HTTP header.1 bitrate=1181.2kbits/s dup=20 drop=0
frame=  616 fps= 50 q=0.0 Lsize=    3732kB time=00:00:24.73 bitrate=1236.1kbits/s dup=20 drop=0
...

Is there a bugfix available?

P.S. Stream mapping from a local file to a local file without ffserver, only with ffmpeg does work without problems.


          #4974: Cannot download HLS streams (.m3u8 files) with "-codec copy" in latest versions   

Summary of the bug:

I was using ffmpeg to download HLS streams (from .m3u8 files) to .mkv files, with "-codec copy". I decided to upgrade to the latest ffmpeg version and noticed that it doesn't work anymore, and results in an error. I tried it on some versions available here (I am using Windows 7 64-bit): http://ffmpeg.zeranoe.com/builds/win64/static/?C=M;O=D and it works up until ffmpeg-20150109-git-d1c6b7b, and since ffmpeg-20150110-git-4df01d5 up to the latest version (ffmpeg-20151028-git-dd36749) it shows an error.

How to reproduce:

For the example I am using an HLS stream from the ones found here: http://stackoverflow.com/questions/10104301/hls-streaming-video-url-need-for-testing/13265943#13265943

% ffmpeg -i http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8 -codec copy vid.mkv
ffmpeg version N-68994-g4df01d5 Copyright (c) 2000-2015 the FFmpeg developers
  built on Jan  9 2015 22:13:35 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu
tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-
libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --ena
ble-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 16.100 / 54. 16.100
  libavcodec     56. 20.100 / 56. 20.100
  libavformat    56. 18.100 / 56. 18.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  7.100 /  5.  7.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8':
  Duration: 01:29:25.00, start: 0.100100, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 688301
    Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 688301
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 688301
  Program 1
    Metadata:
      variant_bitrate : 165135
    Stream #0:2: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224 [SAR 1:1 DAR 25:14], 10 fps, 9.99 tbr, 90k tbn, 19.98 tbc
    Metadata:
      variant_bitrate : 165135
    Stream #0:3: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 15 kb/s
    Metadata:
      variant_bitrate : 165135
  Program 2
    Metadata:
      variant_bitrate : 262346
    Stream #0:4: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 14.99 fps, 14.99 tbr, 90k tbn, 29.97 tbc
    Metadata:
      variant_bitrate : 262346
    Stream #0:5: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 10 kb/s
    Metadata:
      variant_bitrate : 262346
  Program 3
    Metadata:
      variant_bitrate : 481677
    Stream #0:6: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224 [SAR 1:1 DAR 25:14], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 481677
    Stream #0:7: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 481677
  Program 4
    Metadata:
      variant_bitrate : 1308077
    Stream #0:8: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 1308077
    Stream #0:9: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 1308077
  Program 5
    Metadata:
      variant_bitrate : 1927853
    Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 1927853
    Stream #0:11: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 1927853
  Program 6
    Metadata:
      variant_bitrate : 2650941
    Stream #0:12: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 2650941
    Stream #0:13: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 40 kb/s
    Metadata:
      variant_bitrate : 2650941
  Program 7
    Metadata:
      variant_bitrate : 3477293
    Stream #0:14: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 3477293
    Stream #0:15: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 3477293
[matroska @ 0000000008efa840] Error parsing AAC extradata, unable to determine samplerate.
Output #0, matroska, to 'vid.mkv':
  Metadata:
    encoder         : Lavf56.18.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
    Metadata:
      variant_bitrate : 3477293
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 8 kb/s
    Metadata:
      variant_bitrate : 688301
Stream mapping:
  Stream #0:14 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Error number -22 occurred
D:\temp>ffmpeg -i http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8 -codec copy vid.mkv
ffmpeg version N-76347-gdd36749 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu
tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab
le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena
ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e
nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      55.  5.100 / 55.  5.100
  libavcodec     57. 12.100 / 57. 12.100
  libavformat    57. 11.100 / 57. 11.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 14.101 /  6. 14.101
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hls,applehttp, from 'http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8':
  Duration: 01:29:25.00, start: 0.100100, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 688301
    Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 688301
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 688301
  Program 1
    Metadata:
      variant_bitrate : 165135
    Stream #0:2: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224 [SAR 1:1 DAR 25:14], 10 fps, 9.99 tbr, 90k tbn, 19.98 tbc
    Metadata:
      variant_bitrate : 165135
    Stream #0:3: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 15 kb/s
    Metadata:
      variant_bitrate : 165135
  Program 2
    Metadata:
      variant_bitrate : 262346
    Stream #0:4: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 14.99 fps, 14.99 tbr, 90k tbn, 29.97 tbc
    Metadata:
      variant_bitrate : 262346
    Stream #0:5: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 10 kb/s
    Metadata:
      variant_bitrate : 262346
  Program 3
    Metadata:
      variant_bitrate : 481677
    Stream #0:6: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224 [SAR 1:1 DAR 25:14], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 481677
    Stream #0:7: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 481677
  Program 4
    Metadata:
      variant_bitrate : 1308077
    Stream #0:8: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 1308077
    Stream #0:9: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 1308077
  Program 5
    Metadata:
      variant_bitrate : 1927853
    Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 1927853
    Stream #0:11: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 1927853
  Program 6
    Metadata:
      variant_bitrate : 2650941
    Stream #0:12: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 2650941
    Stream #0:13: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 40 kb/s
    Metadata:
      variant_bitrate : 2650941
  Program 7
    Metadata:
      variant_bitrate : 3477293
    Stream #0:14: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 3477293
    Stream #0:15: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 8 kb/s
    Metadata:
      variant_bitrate : 3477293
[matroska @ 0000000006822a80] Codec for stream 0 does not use global headers but container format requires global headers
[matroska @ 0000000006822a80] Codec for stream 1 does not use global headers but container format requires global headers
[matroska @ 0000000006822a80] Error parsing AAC extradata, unable to determine samplerate.
Output #0, matroska, to 'vid.mkv':
  Metadata:
    encoder         : Lavf57.11.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
    Metadata:
      variant_bitrate : 3477293
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 8 kb/s
    Metadata:
      variant_bitrate : 688301
Stream mapping:
  Stream #0:14 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

          #5192: Unplayable mpeg ts after converting mp3 to mp4 with image and then converting mp4 to mpeg ts   

I am having issues converting an mp3 to an mp4 with a single watermark image and then converting that mp4 into mpeg ts for streaming.

I have a folder out on dropbox containing the mp3 as well as a shell script to demonstrate the problem as well as my debugging. You can get it here: https://www.dropbox.com/sh/r4zc39y68gwzt7f/AAD6X2i_JbAU6nASeXBt90mXa?dl=0

Note: all of the below commands are in the test_bug.sh

What I have observed is that if I convert the mp3 to mp4 with single watermark image then the resulting mp4 has a duration that is a little longer than the original mp3. If I then try and convert this mp4 to mpeg ts then the last segment will not have an audio stream. ffprobe verifies this.

ffmpeg -i mack_the_knife.mp3 -loop 1 -i watermark.jpg -pix_fmt yuv420p -shortest out.mp4 ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers

built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100

[mp3 @ 0x7ff6f9800000] Skipping 0 bytes of junk at 292. [mp3 @ 0x7ff6f9800000] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'mack_the_knife.mp3':

Metadata:

title : Track 7 album : Commercial DEMO artist : Jon Novi genre : Other track : 7/17 encoder : Audiograbber 1.83.01, Fraunhofer acm, 56 kBit/s, 22,050 Hz, Stereo, HQ = off

Duration: 00:01:48.13, start: 0.000000, bitrate: 56 kb/s

Stream #0:0: Audio: mp3, 22050 Hz, stereo, s16p, 56 kb/s

[mjpeg @ 0x7ff6fa000c00] Changeing bps to 8 Input #1, image2, from 'watermark.jpg':

Duration: 00:00:00.04, start: 0.000000, bitrate: 11947 kb/s

Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 768x768, 25 fps, 25 tbr, 25 tbn, 25 tbc

[swscaler @ 0x7ff6f98bb800] deprecated pixel format used, make sure you did set range correctly [libx264 @ 0x7ff6f98b9a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x7ff6f98b9a00] profile High, level 3.1 [libx264 @ 0x7ff6f98b9a00] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'out.mp4':

Metadata:

title : Track 7 album : Commercial DEMO artist : Jon Novi genre : Other track : 7/17 encoder : Lavf56.40.101 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 768x768, q=-1--1, 25 fps, 12800 tbn, 25 tbc Metadata:

encoder : Lavc56.60.100 libx264

Stream #0:1: Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 22050 Hz, stereo, s16, 128 kb/s Metadata:

encoder : Lavc56.60.100 libvo_aacenc

Stream mapping:

Stream #1:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) Stream #0:0 -> #0:1 (mp3 (native) -> aac (libvo_aacenc))

Press [q] to stop, ? for help frame= 2767 fps=192 q=-1.0 Lsize= 1920kB time=00:01:50.60 bitrate= 142.2kbits/s video:152kB audio:1699kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.787704% [libx264 @ 0x7ff6f98b9a00] frame I:12 Avg QP: 7.92 size: 5646 [libx264 @ 0x7ff6f98b9a00] frame P:697 Avg QP: 9.25 size: 39 [libx264 @ 0x7ff6f98b9a00] frame B:2058 Avg QP:12.67 size: 29 [libx264 @ 0x7ff6f98b9a00] consecutive B-frames: 0.8% 0.0% 0.0% 99.2% [libx264 @ 0x7ff6f98b9a00] mb I I16..4: 65.4% 28.6% 6.0% [libx264 @ 0x7ff6f98b9a00] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0% [libx264 @ 0x7ff6f98b9a00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:34.1% L1:65.9% BI: 0.0% [libx264 @ 0x7ff6f98b9a00] 8x8 transform intra:28.6% inter:0.5% [libx264 @ 0x7ff6f98b9a00] coded y,uvDC,uvAC intra: 3.6% 0.0% 0.0% inter: 0.0% 0.0% 0.0% [libx264 @ 0x7ff6f98b9a00] i16 v,h,dc,p: 96% 0% 3% 0% [libx264 @ 0x7ff6f98b9a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 27% 42% 0% 0% 0% 0% 0% 0% [libx264 @ 0x7ff6f98b9a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 14% 21% 7% 4% 5% 3% 4% 3% [libx264 @ 0x7ff6f98b9a00] i8c dc,h,v,p: 100% 0% 0% 0% [libx264 @ 0x7ff6f98b9a00] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7ff6f98b9a00] ref P L0: 99.0% 0.0% 1.0% [libx264 @ 0x7ff6f98b9a00] ref B L0: 44.5% 55.5% [libx264 @ 0x7ff6f98b9a00] kb/s:11.17

## convert the mp4 to mpegts

ffmpeg -i out.mp4 -vcodec libx264 -bsf:v h264_mp4toannexb -strict strict -flags -global_header -dcodec copy -acodec copy -q:v 0 -map 0 -f segment -segment_list play.m3u8 -segment_time 10 -segment_list_flags +live -reset_timestamps 1 -segment_list_entry_prefix 'http://localhost:8000/' ./%06d.ts ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers

built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':

Metadata:

major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Track 7 artist : Jon Novi album : Commercial DEMO encoder : Lavf56.40.101 genre : Other track : 7/17

Duration: 00:01:50.68, start: 0.072562, bitrate: 142 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x768, 11 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata:

handler_name : VideoHandler?

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 127 kb/s (default) Metadata:

handler_name : SoundHandler?

[libx264 @ 0x7ff19d032200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x7ff19d032200] profile High, level 3.1 [segment @ 0x7ff19d031000] Codec for stream 0 does not use global headers but container format requires global headers [segment @ 0x7ff19d031000] Codec for stream 1 does not use global headers but container format requires global headers Output #0, segment, to './%06d.ts':

Metadata:

major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Track 7 artist : Jon Novi album : Commercial DEMO track : 7/17 genre : Other encoder : Lavf56.40.101 Stream #0:0(und): Video: h264 (libx264), yuv420p, 768x768, q=-1--1, 25 fps, 90k tbn, 25 tbc (default) Metadata:

handler_name : VideoHandler? encoder : Lavc56.60.100 libx264

Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, 127 kb/s (default) Metadata:

handler_name : SoundHandler?

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help frame= 2769 fps=420 q=-1.0 Lsize=N/A time=00:01:50.68 bitrate=N/A dup=2 drop=0 video:152kB audio:1699kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 0x7ff19d032200] frame I:12 Avg QP: 8.62 size: 5725 [libx264 @ 0x7ff19d032200] frame P:698 Avg QP: 9.15 size: 38 [libx264 @ 0x7ff19d032200] frame B:2059 Avg QP:12.67 size: 29 [libx264 @ 0x7ff19d032200] consecutive B-frames: 0.8% 0.1% 0.0% 99.1% [libx264 @ 0x7ff19d032200] mb I I16..4: 81.6% 12.5% 6.0% [libx264 @ 0x7ff19d032200] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0% [libx264 @ 0x7ff19d032200] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:84.5% L1:15.5% BI: 0.0% [libx264 @ 0x7ff19d032200] 8x8 transform intra:12.5% inter:21.1% [libx264 @ 0x7ff19d032200] coded y,uvDC,uvAC intra: 3.7% 0.0% 0.0% inter: 0.0% 0.0% 0.0% [libx264 @ 0x7ff19d032200] i16 v,h,dc,p: 97% 1% 3% 0% [libx264 @ 0x7ff19d032200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 57% 2% 40% 1% 0% 0% 0% 0% 0% [libx264 @ 0x7ff19d032200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 13% 20% 8% 4% 5% 3% 5% 4% [libx264 @ 0x7ff19d032200] i8c dc,h,v,p: 100% 0% 0% 0% [libx264 @ 0x7ff19d032200] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7ff19d032200] ref P L0: 96.2% 1.3% 2.6% [libx264 @ 0x7ff19d032200] ref B L0: 17.5% 82.5% 0.1% [libx264 @ 0x7ff19d032200] ref B L1: 98.2% 1.8% [libx264 @ 0x7ff19d032200] kb/s:11.25

## segment 11.ts is bad, here is some output

$ ffmpeg -v warning -i 000011.ts -f null - [NULL @ 0x7fc814025e00] start time for stream 1 is not set in estimate_timings_from_pts [mpegts @ 0x7fc814000000] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options [null @ 0x7fc81300a800] Encoder did not produce proper pts, making some up.

$ ffprobe 000011.ts ffprobe version 2.8.4 Copyright (c) 2007-2015 the FFmpeg developers

built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100

[NULL @ 0x7fa09a028800] start time for stream 1 is not set in estimate_timings_from_pts [mpegts @ 0x7fa09a002a00] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from '000011.ts':

Duration: 00:00:00.76, start: 1.480000, bitrate: 102 kb/s Program 1

Metadata:

service_name : Track 7 service_provider: FFmpeg

Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 768x768, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp

## Second experiment

I then modified my process to not include the watermark image. I found the resulting mp4 had a shorter duration than the output of first attempt. I then converted it to mpeg ts and saw it was one segment less. All the segments had an audio stream and played just fine in vlc and quicktime.

ffmpeg -i mack_the_knife.mp3 -shortest out2.mp4 > third.log 2>&1 ffmpeg -i out2.mp4 -vcodec libx264 -bsf:v h264_mp4toannexb -strict strict -flags -global_header -dcodec copy -acodec copy -q:v 0 -map 0 -f segment -segment_list play2.m3u8 -segment_time 10 -segment_list_flags +live -reset_timestamps 1 -segment_list_entry_prefix 'http://localhost:8000/' ./%06d_2.ts > fourth.log 2>&1 ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 out2.mp4 ffmpeg -v warning -i 000000_2.ts -f null - > verify_good_segment_2.log 2>&1 # of note there is no 11_2.ts ffmpeg -v warning -i 000010_2.ts -f null - > verify_good_segment_3.log 2>&1

This suggests to me that my mp3 is fine. The image is just an image so I don't know why it would change things so much.

## Third experiment

The mp4 duration changing concerned me. I then altered the first situation to specify the exact duration of the mp3 as reported by ffprobe. The resulting mp4 had a duration closer to the mp3. I then converted the mp4 to mpeg ts and saw it was one segment less than the first attempt. The file was playable.

ffmpeg -i mack_the_knife.mp3 -loop 1 -i watermark.jpg -pix_fmt yuv420p -t 108.127714 out3.mp4 > fifth.log 2>&1 ffmpeg -i out3.mp4 -vcodec libx264 -bsf:v h264_mp4toannexb -strict strict -flags -global_header -dcodec copy -acodec copy -q:v 0 -map 0 -f segment -segment_list play3.m3u8 -segment_time 10 -segment_list_flags +live -reset_timestamps 1 -segment_list_entry_prefix 'http://localhost:8000/' ./%06d_3.ts > sixth.log 2>&1 ffmpeg -v warning -i 000000_3.ts -f null - > verify_good_segment_4.log 2>&1 ffmpeg -v warning -i 000011_3.ts -f null - > verify_good_segment_5.log 2>&1


          #5525: hls_ts_options not applied to all ts packets   
  • What I am trying to do:

Create an HLS stream that is DVB compatible (mpegts's option system_b seems to do the job), the default hls stream is not compatible

  • What is my issue:

Using the above option (through -hls_ts_options) works for the first mpegts file. However, this option is not applied for all others files.

  • The cmd line I use:
    $ ffmpeg -nostats -i udp://@233.97.72.12:1234 -hls_ts_options mpegts_flags=system_b -map 0:v -map 0:a -c copy -threads 4 -hls_time 10 -hls_flags delete_segments -hls_base_url http://10.1.1.2/testing/ /data/testing/play.m3u8
    ffmpeg version 3.0.2-1 Copyright (c) 2000-2016 the FFmpeg developers
      built with gcc 5.3.1 (Debian 5.3.1-17) 20160429
      configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libx264
      libavutil      55. 17.103 / 55. 17.103
      libavcodec     57. 24.102 / 57. 24.102
      libavformat    57. 25.100 / 57. 25.100
      libavdevice    57.  0.101 / 57.  0.101
      libavfilter     6. 31.100 /  6. 31.100
      libavresample   3.  0.  0 /  3.  0.  0
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.101 /  2.  0.101
      libpostproc    54.  0.100 / 54.  0.100
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 2 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 0x1c995e0] decode_slice_header error
    [h264 @ 0x1c995e0] no frame!
    [h264 @ 0x1c995e0] mmco: unref short failure
        Last message repeated 2 times
    [h264 @ 0x1c995e0] Increasing reorder buffer to 2
    [h264 @ 0x1c995e0] Increasing reorder buffer to 3
    [h264 @ 0x1c995e0] mmco: unref short failure
        Last message repeated 1 times
    [h264 @ 0x1c995e0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mpegts @ 0x1c74ca0] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x1c74ca0] Could not find codec parameters for stream 7 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'udp://@233.97.72.12:1234':
      Duration: N/A, start: 28480.957233, bitrate: N/A
      Program 2001
        Metadata:
          service_name    : NRJ12
          service_provider: TCOAX
        Stream #0:0[0x42]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x44](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
        Stream #0:2[0x45](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
        Stream #0:3[0x46](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
        Stream #0:4[0x47](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
        Stream #0:5[0x48](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
        Stream #0:6[0x49]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:7[0x4a]: Unknown: none ([11][0][0][0] / 0x000B)
    Output #0, hls, to '/data/testing/play.m3u8':
      Metadata:
        encoder         : Lavf57.25.100
        Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 90k tbn, 25 tbc
        Stream #0:1(fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, 128 kb/s
        Stream #0:2(qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, 128 kb/s
        Stream #0:3(qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, 96 kb/s
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
      Stream #0:2 -> #0:2 (copy)
      Stream #0:3 -> #0:3 (copy)
    Press [q] to stop, [?] for help
    [hls @ 0x1ca3540] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [hls @ 0x1ca3540] Non-monotonous DTS in output stream 0:0; previous: 93484, current: 93484; changing to 93485. This may result in incorrect timestamps in the output file.
    [mpegts @ 0x1e8bdc0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    frame=  582 fps= 34 q=-1.0 Lsize=N/A time=00:00:22.75 bitrate=N/A speed=1.33x
    video:9430kB audio:948kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Exiting normally, received signal 2.
    

There is a tsinfo of the first file (play0.ts), which is OK:

$ tsinfo play0.ts
Reading from play0.ts
Scanning 1000 TS packets
Packet 2 is PAT
Program list:
    Program 1 -> PID 1000 (4096)
Packet 3 is PMT with PID 1000 (4096)
  Program 1, version 0, PCR PID 0100 (256)
  Program streams:
    PID 0100 ( 256) -> Stream type 1b ( 27) H.264/14496-10 video (MPEG-4/AVC)
    PID 0101 ( 257) -> Stream type 06 (  6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
        ES info (3 bytes): 7a 01 00
        Descriptor tag 7a (122) (1 byte): 00
    PID 0102 ( 258) -> Stream type 06 (  6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
        ES info (3 bytes): 7a 01 00
        Descriptor tag 7a (122) (1 byte): 00
    PID 0103 ( 259) -> Stream type 06 (  6) H.222.0/13818-1 PES private data (maybe Dolby/AC-3 in DVB)
        ES info (3 bytes): 7a 01 00
        Descriptor tag 7a (122) (1 byte): 00
Found 4 PAT packets and 2 PMT packets in 1000 TS packets

And this is the tsinfo for file #2, which is not OK (play1.ts):

tsinfo play1.ts
Reading from play1.ts
Scanning 1000 TS packets
Packet 2 is PAT
Program list:
    Program 1 -> PID 1000 (4096)
Packet 3 is PMT with PID 1000 (4096)
  Program 1, version 0, PCR PID 0100 (256)
  Program streams:
    PID 0100 ( 256) -> Stream type 1b ( 27) H.264/14496-10 video (MPEG-4/AVC)
    PID 0101 ( 257) -> Stream type 87 (135) User private
    PID 0102 ( 258) -> Stream type 87 (135) User private
    PID 0103 ( 259) -> Stream type 87 (135) User private
Found 2 PAT packets and 1 PMT packet in 1000 TS packets

Unless I'm mistaken, the option is only used in hls_write_header (from libavformat/hlsenc.c), which is only called once

Thank you for ffmpeg!


          #5578: Disabling Icy-Metadata header not working   

Trying to use -icy 0 does not disable Icy-Metadata header:

ffplay -icy 0 -loglevel debug http://cdn.rasset.ie/hls-live/_definst_/rte2/rte2-720.m3u8
ffplay version N-80038-g7494b49 Copyright (c) 2003-2016 the FFmpeg developers
  built with gcc 6.1.1 (GCC) 20160501
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 42.100 / 57. 42.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[http @ 0x7fb7b8007980] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x7fb7b8007980] request: GET /hls-live/_definst_/rte2/rte2-720.m3u8 HTTP/1.1
User-Agent: Lavf/57.36.100
Accept: */*
Range: bytes=0-
Connection: close
Host: cdn.rasset.ie
[hls,applehttp @ 0x7fb7b8009240] Format hls,applehttp probed with size=2048 and score=100
[hls,applehttp @ 0x7fb7b8009240] HLS request for url 'http://cdn.rasset.ie/hls-live/streams/events/_definst_/rte2/rte2-720Num2370.ts', offset 0, playlist 0
[https @ 0x7fb7b800fd00] request: GET /hls-key/rte2.bin HTTP/1.10
User-Agent: Lavf/57.36.100
Accept: */*
Connection: close
Host: www.rte.ie
Icy-MetaData: 1
[AVIOContext @ 0x7fb7b8587580] Statistics: 16 bytes read, 0 seeks
[http @ 0x7fb7b839d740] request: GET /hls-live/streams/events/_definst_/rte2/rte2-720Num2370.ts HTTP/1.1
User-Agent: Lavf/57.36.100
Accept: */*
Connection: close
Host: cdn.rasset.ie
Icy-MetaData: 1

          #5690: Codec hevc_nvenc (GPU M4000) + HLS memory leak   

Summary of the bug: driver: nvidia-358, CUDA 7.5, NVAPI 3.6

Hi, I have problem with hevc_nvenc encoding from DVB-S source into HLS. More encoding instances (channels) means faster loss of memory. For example 8xFullHD streams corresponds to loss 5MB/s of RAM.

I try to use valgrind and I see that some cuda 352 libraries are used. The cuda7.5 package is depended on 352 driver (?) and I can't change it.

==5808== 341,531 bytes in 109 blocks are possibly lost in loss record 1,631 of 1,655
==5808==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5808==    by 0x1DB5CF1D: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DB0D34C: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DB1E11F: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DB24D25: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DA9EC19: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DA9EECB: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DA82352: ??? (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x1DA50350: cuCtxCreate_v2 (in /usr/lib/x86_64-linux-gnu/libcuda.so.352.79)
==5808==    by 0x472136: ??? (in /usr/local/bin/ffmpeg)
==5808==    by 0xAF686D: ??? (in /usr/local/bin/ffmpeg)
==5808==    by 0x4A1562: ??? (in /usr/local/bin/ffmpeg)
==5808==
==5808== LEAK SUMMARY:
==5808==    definitely lost: 72 bytes in 1 blocks
==5808==    indirectly lost: 0 bytes in 0 blocks
==5808==      possibly lost: 999,476 bytes in 1,104 blocks
==5808==    still reachable: 1,883,507,503 bytes in 11,898 blocks
==5808==         suppressed: 0 bytes in 0 blocks
==5808== Reachable blocks (those to which a pointer was found) are not shown.
==5808== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==5808==
==5808== For counts of detected and suppressed errors, rerun with: -v
==5808== Use --track-origins=yes to see where uninitialised values come from
==5808== ERROR SUMMARY: 557 errors from 172 contexts (suppressed: 0 from 0)
ffmpeg version N-80900-g77eb05a Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --prefix=/FFMPEG --pkg-config-flags=--static --bindir=/root/bin --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-nvenc --enable-libmfx --enable-version3 --enable-pthreads --enable-runtime-cpudetect --disable-ffserver --enable-libfreetype --enable-filter=drawtext
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Hyper fast Audio and Video encoder

My command...

ffmpeg -i "udp://@SOURCE_IP?fifo_size=1000000&overrun_nonfatal=1" -flags -global_header -map v:0 -c:v hevc_nvenc -b:v 3000k -maxrate 4000k -bufsize 3000k -deinterlace -vf crop=in_w-0:in_h-0,scale=1920:1080,null -keyint_min 30 -g 100 -map a:0 -c:a libfdk_aac -b:a 128k -ar 44100 -ac 2 -hls_time 5 -hls_list_size 6 -hls_base_url http://A.B.C.D/101/ -hls_flags delete_segments -hls_segment_filename /hls/101/mystream-%08d.ts  /hls/101/mystream.m3u8

          #5692: problem with ":" sign in HLS / tee output   

N-80900-g77eb05a

Hi, I have problem with HLS parameters in tee output...

Problem is with parameter with ":" sign such as hls_base_url. I try escape this with \ and
(described in docs), but the problem remains.

sample:

[f=hls:hls_time=5:hls_list_size=6:hls_base_url=http\://X.X.X.X/101/:hls_flags=delete_segments...]]/hls/101/mystream.m3u8
[tee @ 0x3647e60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
[tee @ 0x3647e60] No option found near "//X.X.X.X/101/:hls_flags=delete_segments:hls_segment_filename=/hls/101/mystream-%08d.ts]/hls/101/mystream.m3u8"
[tee @ 0x3647e60] All tee outputs failed.

          #5705: m3u8 incorrect duration   

When transcoding a file using ffmpeg to a http stream all the involved duration are different and in the case of 2.m3u8 and 3.m3u8 they are totally wrong

As reported by ffprobe the "source.mxf", "dest.m3u8" and "dest.ts" all have different durations.

I have uploaded all files here together with console output and parsed durations:

https://www.dropbox.com/sh/y7ektsjrg8jw6kj/AADAEMuPnyJJDYcV2XR_lK7ca?dl=0


          #5858: HLS single file playback broken when encryption enabled   

HLS files generated with encryption enabled and the single segment (byte range) option result in videos that are unplayable in QuickTime? and Safari on OSX. The same videos play without issue when encryption is not utilized.

The specific behavior is that video playback starts, but there are periods where video playback gets stuck and then resumes, get stuck, and then resumes. It seems to be related to the different segment offsets where some segments play without issue while other segments get frozen on a single frame.

I can reproduce this with origin/master checked out on 9/22/16.

Using the following as input:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/input.ts

I created a "good" version here which does not utilize encryption and plays back without issue:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/encryption/good/good.m3u8

I also created a "bad" version here which utilizes encryption and exhibits the undesired behavior:

https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/encryption/bad/bad.m3u8

Here is the console log for generating the "bad" version:

bash-4.3# openssl rand 16 > output/bad/bad.key
bash-4.3# cat <<EOF > input.conf
> bad.key
> output/bad/bad.key
> EOF
bash-4.3# ffmpeg -y -i input.ts -c copy -map 0 -hls_flags single_file -hls_list_size 0 -hls_playlist_type vod -hls_key_info_file input.conf output/bad/bad.m3u8
ffmpeg version N-81723-g6d9a46e Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (Alpine 5.3.0)
  configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libmp3lame --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-x11grab --disable-stripping --disable-static --enable-vaapi --enable-libopus --enable-nonfree --enable-libfdk-aac
  libavutil      55. 30.100 / 55. 30.100
  libavcodec     57. 57.101 / 57. 57.101
  libavformat    57. 50.100 / 57. 50.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 62.100 /  6. 62.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0x7fb1ee66fae0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7fb1ee66fae0] SPS unavailable in decode_picture_timing
[h264 @ 0x7fb1ee66fae0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7fb1ee66fae0] SPS unavailable in decode_picture_timing
Input #0, mpegts, from 'input.ts':
  Duration: 00:00:30.06, start: 1.415333, bitrate: 3982 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 120 kb/s
Output #0, hls, to 'output/bad/bad.m3u8':
  Metadata:
    encoder         : Lavf57.50.100
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
    Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 120 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  720 fps=0.0 q=-1.0 Lsize=N/A time=00:00:29.99 bitrate=N/A speed=49.3x
video:13001kB audio:471kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

          #5932: HLS decoding - buffering/skipping when for example #EXTINF:0.76,   

recently a big adult cam site changed their hls manifest. since then the streams dont play correctly anymore in kodi. with ffmpeg/ffplay i get stutter too while using the following command line.

ffmpeg.exe -i http://xxxxx.m3u8 test.mp4 not sure if iam allowed to post the url to the stream...

as far as i can tell, they have two different manifest...sometimes there are only 3 chunks in the playlist

#### Option 1 ############ #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:3 #EXT-X-MEDIA-SEQUENCE:1655 #EXTINF:2.432, media_w1873264971_1655.ts #EXTINF:2.509, media_w1873264971_1656.ts #EXTINF:2.456, media_w1873264971_1657.ts #EXTINF:2.523, media_w1873264971_1658.ts #EXTINF:2.493, media_w1873264971_1659.ts #EXTINF:2.597, media_w1873264971_1660.ts

###### Option 2 ############## #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:2 #EXT-X-MEDIA-SEQUENCE:1732 #EXTINF:0.841, media_w1110844383_1732.ts #EXTINF:0.832, media_w1110844383_1733.ts #EXTINF:0.682, media_w1110844383_1734.ts #EXTINF:0.814, media_w1110844383_1735.ts #EXTINF:0.885, media_w1110844383_1736.ts #EXTINF:0.754, media_w1110844383_1737.ts

What you were trying to accomplish? -> play the stream without stuttering/skipping/buffering

The problem you encountered? -> skipping video, constant buffering within kodi making the streams unwatchable

The exact command line you were using -> ffmpeg.exe --report http://xxxxxxxxxxxxx.m3u8 option1.mp4 -> ffmpeg version N-82225-gb4e9252 Copyright (c) 2000-2016 the FFmpeg developers

maybe you guys have an idea why this is happening. thanks in advance


          #5948: Encrypted HLS stream lead to broken files   

Summary of the bug: How to reproduce:

Try to download an encrypted HLS stream with ffmpeg:

$ ffmpeg -i http://ipad-streaming.cbsnews.com/media/mpx/2016/11/13/808012355634/1113_FullEpisodeTrump_1179719_5000/1113_FullEpisodeTrump_1179719_5000.m3u8 -c copy output.mp4

Both mpv and VLC says output.mp4 is 17 minutes long, while actually is 42 minutes long.

I've noticed that there are lots of warnings like this:

[mp4 @ 0x558344ee2a00] Non-monotonous DTS in output stream 0:0; previous: 93640192, current: 3795083; changing to 93640193. This may result in incorrect timestamps in the output file.

Is it the main cause of wrong timestamps? If so how can I fix it?

The original video can be found here: http://www.cbs.com/shows/60_minutes/video/atW1AAfWvxA_TjuYUhMwDX4R0obUcW0N/president-elect-trump-letters-on-the-pot-vote-/

Environment: ffmpeg 1:3.2-2 vlc 2.2.4-5 mpv 1:0.21.0-2 OS: Arch Linux x86_64 latest

Downstream report: https://github.com/rg3/youtube-dl/issues/11191


          #5987: ffmpeg freezes while converting live stream to hls   

Hi guys i am just trying to restream a live stream as hls but ffmpeg doesnt give an error doesnt crash does not exit process it just hangs,stucks,freezes whatever you call because of that my live stream stops and i have to restart it every 5-10 minutes by my hand and not sure what is the reason

here is my commandline

ffmpeg -loglevel debug -thread_queue_size 32768 -i "http://goo.gl/MOFvg5" -preset veryfast -f hls -hls_time 5 -hls_list_size 5 -hls_allow_cache 1 -hls_flags delete_segments -segment_list_flags +live -hls_base_url "../ts/" -hls_segment_filename "C:\nginx\html\ts\stream-%%3d.ts" -y "C:\nginx\html\hls\stream.m3u8" > log.txt

i tried 32 bit , 64 bit , nightly builds, 3.2 version all are same

here is example output log

Clipping frame in rate conversion by 0.140266
[libx264 @ 000000000064dfc0] frame=3818 QP=20.23 NAL=2 Slice:B Poc:100 I:128  P:663  SKIP:2795 size=
2873 bytes
[h264 @ 0000000002c07120] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 0000000002c07120] nal_unit_type: 1, nal_ref_idc: 0
    Last message repeated 7 times
Clipping frame in rate conversion by 0.140266
[libx264 @ 000000000064dfc0] frame=3819 QP=21.74 NAL=0 Slice:B Poc:98  I:98   P:359  SKIP:3134 size=
1487 bytes
[h264 @ 0000000002c04f60] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 0000000002c04f60] nal_unit_type: 1, nal_ref_idc: 2
    Last message repeated 7 times
Clipping frame in rate conversion by 0.140266
[libx264 @ 000000000064dfc0] frame=3820 QP=22.39 NAL=0 Slice:B Poc:102 I:24   P:387  SKIP:3180 size=
1316 bytes
[h264 @ 00000000027f5020] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 00000000027f5020] nal_unit_type: 1, nal_ref_idc: 2
    Last message repeated 7 times
Clipping frame in rate conversion by 0.140266

this is the last log i receive

when i dont use loglevel i receive something like this

  Metadata:
    encoder         : Lavf57.52.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 90k t
bn, 30 tbc (default)
    Metadata:
      encoder         : Lavc57.63.103 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.63.103 aac
Stream mapping:
  Stream #0:0 (h264) -> overlay:main (graph 0)
  Stream #1:0 (png) -> overlay:overlay (graph 0)
  fps (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame=22033 fps= 30 q=29.0 size=N/A time=00:12:14.84 bitrate=N/A dup=2 drop=0 speed=1.01x

and it just stucks without giving error?


          #6238: Wrong first TS segment length in HLS output   

Hi All!

My original ffmpeg command is very complicated, so I reproduce this bug with a much simplier command, here it is:

ffmpeg -i 720.mp4 -c:a aac -ab 64k -c:v mpeg4 -b:v 1800k -r 25 -g 100 -f hls -hls_time 4 -hls_list_size 5400 -hls_flags +delete_segments+append_list+omit_endlist playlist.m3u8

output:

ffmpeg version N-83894-g4e3cc4b Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --enable-filter=drawtext --enable-nonfree --enable-libfreetype
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 83.100 / 57. 83.100
  libavformat    57. 66.104 / 57. 66.104
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 76.100 /  6. 76.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '720.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.66.101
  Duration: 00:44:51.20, start: 0.000000, bitrate: 1858 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1802 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 51 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, hls, to '2/playlist.m3u8':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.66.104
    Stream #0:0(und): Video: mpeg4, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1800 kb/s, 25 fps, 90k tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.83.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/1800000 buffer size: 0 vbv_delay: -1
    Stream #0:1(und): Audio: aac (LC), 16000 Hz, mono, fltp, 64 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc57.83.100 aac

the created m3u8:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:5
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXTINF:4.064000,
playlist0.ts
#EXTINF:4.000000,
playlist1.ts
#EXTINF:4.000000,
playlist2.ts
#EXTINF:4.000000,
playlist3.ts
#EXTINF:4.000000,
playlist4.ts
#EXTINF:4.000000,
playlist5.ts
#EXTINF:4.000000,
playlist6.ts
#EXTINF:4.000000,
playlist7.ts
#EXTINF:4.000000,

As you can see the first segment is 4.064 sec long, which is wrong.

Thank you!


          #6266: sometimes lost sound when hls streaming   

/usr/local/bin/ffmpeg -probesize 2000k -fifo_size 512k -buffer_size 256k -overrun_nonfatal 1 -i udp://239.192.28.7:1234 -sn -c copy -hls_allow_cache 0 -hls_base_url /ts/ANS/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -r 50 -async 1 -g 1 -ignore_unknown -shortest -avoid_negative_ts make_zero -fflags +genpts -use_localtime 1 -hls_segment_filename /hls/ts/ANS/stream_%Y%m%d-%s.ts /hls/pl/ANS.m3u8

attached is an example file


          #6300: cseq warning if i http stream more than 5 camera   

Hi All,

spent a significant time but not able to solve this. Any help will be highly appreciated.

Context is I am using ffmpeg to generate http streaming using below command

ffmpeg -rtsp_transport tcp -r 30 -i rtsp://root:kastle@192.168.17.153/axis-media/media.amp -c:v libx264 -video_size 640*480 -crf 35 -preset ultrafast -maxrate 500k -bufsize 500k -r 15 -g 30 -movflags +faststart -tune zerolatency -hls_time 1 -hls_list_size 4 -start_number 0 -hls_wrap 4 -hls_segment_filename S:/playlist_%RANDOM%_%1d.ts -hls_allow_cache 0 -threads 1 -loglevel warning -y S:/playlist.m3u8

it works well for upto 5 camera.

As and when I start 6th i started facing two errors:

  1. The delay in video start to increase, that is if single camera I have delay of 8 second with six it will increase more than 30 seconds. Sppedtest.net shows 32mbps speed.
  1. I started getting frequent warning of cseq once I start streaming sixth camera, like cseq 8 expected 7 received. Its continuous.

So it shows with increased number of camera there is some issue that might needs some command parameter updates? any suggestion.

Also how much maximum number of camera streaming I can support on following configuration 4cpu, 2 core, 7.5 GB Ram


          #6338: http cookies not set when using proxy   

Summary of the bug: when -http_proxy option is used, ffmpeg doesn't honour "Set-Cookie:" header and so doesn't send "Cookie:" headers in subsequent request How to reproduce:

ffprobe started on 2017-04-21 at 05:17:05
Report written to "ffprobe-20170421-051705.log"
Command line:
ffprobe -report http://cdn.rapticonsulting.in/gmtlive.php -http_proxy http://proxyuser:ffauth@144.217.86.183:8080
ffprobe version N-85595-g0f05f2c Copyright (c) 2007-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/home/developer/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-I/home/developer/ffmpeg_build/include -static' --extra-ldflags='-L/home/developer/ffmpeg_build/lib -static' --bindir=/home/developer/bin --disable-ffserver --disable-ffplay --disable-doc --enable-gray --enable-libx264 --enable-libmp3lame --enable-libfontconfig --enable-libfreetype --enable-gpl --enable-version3
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[http @ 0x31d5360] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x31d5360] request: GET http://cdn.rapticonsulting.in:80/gmtlive.php HTTP/1.1
User-Agent: Lavf/57.72.101
Accept: */*
Range: bytes=0-
Connection: close
Host: cdn.rapticonsulting.in
Icy-MetaData: 1
[http @ 0x31d5360] request: GET http://cdn.rapticonsulting.in:80/gmtlive.php HTTP/1.1
User-Agent: Lavf/57.72.101
Accept: */*
Range: bytes=0-
Connection: close
Host: cdn.rapticonsulting.in
Icy-MetaData: 1
Proxy-Authorization: Basic cHJveHl1c2VyOmZmYXV0aA==
[http @ 0x31d5360] request: GET http://cdn.rapticonsulting.in:80/live/gmtlive/playlist.m3u8 HTTP/1.1
User-Agent: Lavf/57.72.101
Accept: */*
Range: bytes=0-
Connection: close
Host: cdn.rapticonsulting.in
Icy-MetaData: 1
Proxy-Authorization: Basic cHJveHl1c2VyOmZmYXV0aA==
[http @ 0x31d5360] HTTP error 403 Forbidden
http://cdn.rapticonsulting.in/gmtlive.php: Server returned 403 Forbidden (access denied)

If you try the same command without using proxy, i.e., % ffprobe -loglevel debug http://cdn.rapticonsulting.in/gmtlive.php

It accepts the cookies from the first request and sends them in subsequent request.

Also, I checked both the scenario with tcpdump, and Set-Cookie header is received in both cases on request to initial url. I also checked the proxy scenario using curl,

% curl --verbose --location http://cdn.rapticonsulting.in/gmtlive.php --cookie /tmp/cookies.txt --cookie-jar /tmp/cookies.txt --proxy 144.217.86.183:8080 --proxy-user proxyuser:ffauth

and curl accepts the cookie and sends in them subsequent request.

and I did notice one difference. ffmpeg/ffprobe adds port number to domain part of url in proxy request whereas curl doesn't. like this,

with ffmpeg, GET http://cdn.rapticonsulting.in:80/gmtlive.php HTTP/1.1 Host: cdn.rapticonsulting.in ...

with curl, GET http://cdn.rapticonsulting.in/gmtlive.php HTTP/1.1 Host: cdn.rapticonsulting.in ......

Could this change in url be affecting cookie handling?

fyi, the cookies are actually for cloudfront secure access. and due to cookie not being set, access is denied on subsequent request. stream url given here is just for demo purpose to highlight this issue and for testing. Actual deployment will have even the first request secured with token.


          #6365: Invalid timestamps [ mpegts ] and bad hls chunks   

m3u8 playlist: cat ./Mute_HD.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:1 #EXT-X-MEDIA-SEQUENCE:1678 #EXTINF:0.000367, /ts/Mute_HD/stream_1493718278.ts #EXTINF:0.000367, /ts/Mute_HD/stream_1493718279.ts #EXTINF:0.000367, /ts/Mute_HD/stream_1493718280.ts #EXTINF:0.000367, /ts/Mute_HD/stream_1493718282.ts #EXTINF:0.000367, /ts/Mute_HD/stream_1493718283.ts

after error: [mpegts @ 0xa198c0] Invalid timestamps stream=0, pts=157053600, dts=8746977392, size=84361

size of chunks change to 1 sec and not restored

/usr/local/bin/ffmpeg -fflags nobuffer -overrun_nonfatal 1 -i udp://239.192.7.44:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/Mute_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -copyts -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/Mute_HD/stream_%s.ts -report /hls/pl/Mute_HD.m3u8 ffmpeg started on 2017-05-02 at 15:53:54 Report written to "ffmpeg-20170502-155354.log" ffmpeg version 2.8.10 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5) configuration: --enable-gpl --disable-static --enable-shared --enable-version3 --enable-nonfree --enable-pic --enable-libx264 --enable-libx265 --enable-libopus --enable-libv4l2 --enable-nvenc --enable-libvpx --enable-libspeex --enable-libmp3lame --enable-decoder=png --enable-encoder=png --prefix=/opt/flussonic --extra-ldflags='-L/opt/flussonic/lib -Wl,-rpath /opt/flussonic/lib' --extra-cflags=-I/opt/flussonic/include libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100

[h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0xa2e080] decode_slice_header error [h264 @ 0xa2e080] no frame! [h264 @ 0xa2e080] non-existing SPS 0 referenced in buffering period

Last message repeated 1 times

Input #0, mpegts, from 'udp://239.192.7.44:1234':

Duration: N/A, start: 1805.005333, bitrate: N/A Program 235

Stream #0:0[0xbb9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0xc27](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 207 kb/s

Output #0, hls, to '/hls/pl/Mute_HD.m3u8':

Metadata:

encoder : Lavf56.40.101 Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1(eng): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 207 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help [mpegts @ 0xa198c0] Invalid timestamps stream=0, pts=157053600, dts=8746977392, size=84361 [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984592, current: 157053600; changing to 8746984593. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984593, current: 157057200; changing to 8746984594. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987952, current: 157055280; changing to 8746987953. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987953, current: 157057200; changing to 8746987954. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987954, current: 157059120; changing to 8746987955. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987955, current: 157061040; changing to 8746987956. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987956, current: 157062960; changing to 8746987957. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984594, current: 157060800; changing to 8746984595. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984595, current: 157064400; changing to 8746984596. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987957, current: 157064880; changing to 8746987958. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987958, current: 157066800; changing to 8746987959. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987959, current: 157068720; changing to 8746987960. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987960, current: 157070640; changing to 8746987961. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987961, current: 157072560; changing to 8746987962. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984596, current: 157068000; changing to 8746984597. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984597, current: 157071600; changing to 8746984598. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984598, current: 157075200; changing to 8746984599. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987962, current: 157074480; changing to 8746987963. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987963, current: 157076400; changing to 8746987964. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987964, current: 157078320; changing to 8746987965. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987965, current: 157080240; changing to 8746987966. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987966, current: 157082160; changing to 8746987967. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984599, current: 157078800; changing to 8746984600. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984600, current: 157082400; changing to 8746984601. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:0; previous: 8746984601, current: 157086000; changing to 8746984602. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987967, current: 157084080; changing to 8746987968. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987968, current: 157086000; changing to 8746987969. This may result in incorrect timestamps in the output file. [hls @ 0xa5e700] Non-monotonous DTS in output stream 0:1; previous: 8746987969, current: 157087920; changing to 8746987970. This may result in incorrect timestamps in the output file.


          #6369: Memory leak on HLS segmenting without transcoding   

Summary of the bug: When segmenting a video stream into a HLS without transcoding (using -vcodec copy & -acodec copy), a memory leak occurs, approximately 30 MB per minute. There is no dependence on the input video stream, but all checks were carried out on a multicast input.

How to reproduce:

% /usr/local/bin/ffmpeg -re -i udp://@239.126.126.3:1300?fifo_size=5000000&overrun_nonfatal_option=1 -nostdin -threads 0 -acodec copy -vcodec copy -sn -flags -global_header -hls_time 5 -hls_list_size 5 -hls_flags second_level_segment_index+second_level_segment_size+second_level_segment_duration+delete_segments+discont_start -use_localtime 1 -start_number 1 -hls_segment_filename /opt/data/hls/stream/ch1_%Y%m%d%H%M%S_%%03d_%%08s_%%08t.ts /opt/data/hls/stream/playlist.m3u8
ffmpeg version N-85590-g8707147 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --pkg-config-flags=--static --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100

          #6384: Bug in URL decoding in Windows version   

I try to download a video using Ubuntu version and it's successful but when I use any windows version it gives me HTTP error 403 Forbidden

The problem is only with https links.

This is the command and log from Windows 8.1 I tried many versions of ffmpeg on windows but same problem.

ffmpeg -user_agent "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit?/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" -i "https://fbchdvod-f.akamaihd.net/i/Fox.com/209/75/PrisonBreak_1AZM06_9373875879,73_mp4_video_1280x720_2500000_primary_audio_8,72_mp4_video_1280x720_1800000_primary_audio_7,71_mp4_video_1024x576_1300000_primary_audio_6,70_mp4_video_640x360_800000_primary_audio_5,69_mp4_video_480x270_500000_primary_audio_4,68_mp4_video_480x270_300000_primary_audio_3,80_mp4_video_400x0_225000_primary_audio_2,78_mp4_video_400x0_150000_primary_audio_1,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBKyTkkF0P8FXYfE1nEwR%2f%2fV9FBSV6q1dFTtB1O6Zt0w6F0DEZvERLpnEcJXZTn0WXq5w8dJPb1tQ%3d%3d&hdntl=exp=1494511862~acl=%2fi%2fFox.com%2f209%2f75%2fPrisonBreak_1AZM06_9373875879*~data=hdntl~hmac=f7564e58f026f8dfed7e35a8e5fd32075d574124a71cdd3a3fee9eedd86f80d3" -c copy -bsf:a aac_adtstoasc video.mp4

ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 6.3.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e

nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth -- enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug - -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx

--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable

-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib

libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100

[https @ 0000000001cd37c0] HTTP error 403 Forbidden https://fbchdvod-f.akamaihd.net/i/Fox.com/209/75/PrisonBreak_1AZM06_9373875879,7 3_mp4_video_1280x720_2500000_primary_audio_8,72_mp4_video_1280x720_1800000_prima ry_audio_7,71_mp4_video_1024x576_1300000_primary_audio_6,70_mp4_video_640x360_80 0000_primary_audio_5,69_mp4_video_480x270_500000_primary_audio_4,68_mp4_video_48 0x270_300000_primary_audio_3,80_mp4_video_400x0_225000_primary_audio_2,78_mp4_vi deo_400x0_150000_primary_audio_1,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBKyTkkF0 P8FXYfE1nEwRffV9FBSV6q1dFTtB1O6Zt0w6F0DEZvERLpnEcJXZTn0WXq5w8dJPb1tQdd&hdntl=exp =1494511862~acl=fifFox.comf209f75fPrisonBreak_1AZM06_9373875879*~data=hdntl~hmac =f7564e58f026f8dfed7e35a8e5fd32075d574124a71cdd3a3fee9eedd86f80d3: Server return ed 403 Forbidden (access denied)

This is the same command on Ubuntu but with success:

ffmpeg -user_agent "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit?/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" -i "https://fbchdvod-f.akamaihd.net/i/Fox.com/209/75/PrisonBreak_1AZM06_9373875879,73_mp4_video_1280x720_2500000_primary_audio_8,72_mp4_video_1280x720_1800000_primary_audio_7,71_mp4_video_1024x576_1300000_primary_audio_6,70_mp4_video_640x360_800000_primary_audio_5,69_mp4_video_480x270_500000_primary_audio_4,68_mp4_video_480x270_300000_primary_audio_3,80_mp4_video_400x0_225000_primary_audio_2,78_mp4_video_400x0_150000_primary_audio_1,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBKyTkkF0P8FXYfE1nEwR%2f%2fV9FBSV6q1dFTtB1O6Zt0w6F0DEZvERLpnEcJXZTn0WXq5w8dJPb1tQ%3d%3d&hdntl=exp=1494511862~acl=%2fi%2fFox.com%2f209%2f75%2fPrisonBreak_1AZM06_9373875879*~data=hdntl~hmac=f7564e58f026f8dfed7e35a8e5fd32075d574124a71cdd3a3fee9eedd86f80d3" -c copy -bsf:a aac_adtstoasc video.mp4 ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100

[NULL @ 0x3198d40] non-existing SPS 0 referenced in buffering period [NULL @ 0x3198d40] SPS unavailable in decode_picture_timing [h264 @ 0x31a6420] non-existing SPS 0 referenced in buffering period [h264 @ 0x31a6420] SPS unavailable in decode_picture_timing Input #0, hls,applehttp, from 'https://fbchdvod-f.akamaihd.net/i/Fox.com/209/75/PrisonBreak_1AZM06_9373875879,73_mp4_video_1280x720_2500000_primary_audio_8,72_mp4_video_1280x720_1800000_primary_audio_7,71_mp4_video_1024x576_1300000_primary_audio_6,70_mp4_video_640x360_800000_primary_audio_5,69_mp4_video_480x270_500000_primary_audio_4,68_mp4_video_480x270_300000_primary_audio_3,80_mp4_video_400x0_225000_primary_audio_2,78_mp4_video_400x0_150000_primary_audio_1,.mp4.csmil/index_0_av.m3u8?null=0&id=AgBKyTkkF0P8FXYfE1nEwR%2f%2fV9FBSV6q1dFTtB1O6Zt0w6F0DEZvERLpnEcJXZTn0WXq5w8dJPb1tQ%3d%3d&hdntl=exp=1494511862~acl=%2fi%2fFox.com%2f209%2f75%2fPrisonBreak_1AZM06_9373875879*~data=hdntl~hmac=f7564e58f026f8dfed7e35a8e5fd32075d574124a71cdd3a3fee9eedd86f80d3':

Duration: 00:42:49.91, start: 0.100511, bitrate: 0 kb/s Program 0

Metadata:

variant_bitrate : 0

Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Metadata:

variant_bitrate : 0

Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp Metadata:

variant_bitrate : 0

Output #0, mp4, to 'video.mp4':

Metadata:

encoder : Lavf57.71.100 Stream #0:0: Video: h264 (Main) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 90k tbc Metadata:

variant_bitrate : 0

Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp Metadata:

variant_bitrate : 0

Stream mapping:

Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help frame= 6954 fps=759 q=-1.0 Lsize= 93261kB time=00:04:49.99 bitrate=2634.5kbits/s speed=31.6x video:88510kB audio:4447kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.327113% Exiting normally, received signal 2.


          #6457: Encrypted HLS - wrong ranges in .m3u8 file   

Summary of the bug: How to reproduce:

% ffmpeg -i input.mp4 -c:v libx264 -crf 28 -profile high -level 41 -keyint_min 25 -c:a libfdk_aac -vbr 1 -hls_time 6 -hls_list_size 0 '''-hls_flags single_file''' -hls_playlist_type vod -hls_key_info_file file.keyinfo -f hls fftest/cle.m3u8
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.3.2/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=haswell -mavx2 -msse4.2 -msse4.1 -O2 -pipe -mmmx -msse -msse2 -mssse3 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-outdev=oss --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --enable-lzma --enable-network --disable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --enable-libfdk-aac --enable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libflite --enable-frei0r --disable-libfribidi --disable-fontconfig --enable-ladspa --disable-libass --enable-libfreetype --disable-librubberband --disable-netcdf --disable-libzmq --disable-libzimg --enable-libvidstab --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=haswell --disable-doc --disable-htmlpages --enable-manpages
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libavresample   3.  5.  0 /  3.  5.  0
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100
$ cat file.keyinfo
file.key
fftest/file.key
file.key is 16-byte file genereted by
openssl rand 16 > fftest/file.key
----
$ cat cle.m3u8
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="file.key"
#EXTINF:12.000000,
#EXT-X-BYTERANGE:8383484@0
cle.ts
#EXTINF:2.208333,
#EXT-X-BYTERANGE:597088@8383484
cle.ts
#EXTINF:10.416667,
#EXT-X-BYTERANGE:1874548@8980572
cle.ts
#EXTINF:3.166667,
#EXT-X-BYTERANGE:497448@10855120
cle.ts
#EXTINF:8.458333,
#EXT-X-BYTERANGE:4049332@11352568
cle.ts
#EXTINF:10.416667,
#EXT-X-BYTERANGE:1993364@15401900
cle.ts
#EXTINF:3.333333,
#EXT-X-BYTERANGE:641456@17395264
cle.ts
#EXT-X-ENDLIST

As workaround I used this:

ffmpeg -i input.mp4 -c:v libx264 -crf 28 -profile high -level 41 -keyint_min 25 -c:a libfdk_aac -vbr 1 -hls_time 6 -hls_list_size 0 -hls_playlist_type vod -hls_key_info_file file.keyinfo -f hls fftest/cle_s.m3u8
cat cle_s*.ts > clex.ts
and computed ranges manually. And it works now.
----
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="file.key"
#EXTINF:12.000000,
#EXT-X-BYTERANGE:8383488@0
clex.ts
#EXTINF:2.208333,
#EXT-X-BYTERANGE:597280@8383488
clex.ts
#EXTINF:10.416667,
#EXT-X-BYTERANGE:1874752@8980768
clex.ts
#EXTINF:3.166667,
#EXT-X-BYTERANGE:497648@10855520
clex.ts
#EXTINF:8.458333,
#EXT-X-BYTERANGE:4049536@11353168
clex.ts
#EXTINF:10.416667,
#EXT-X-BYTERANGE:1993568@15402704
clex.ts
#EXTINF:3.333333,
#EXT-X-BYTERANGE:641648@17396272
clex.ts
#EXT-X-ENDLIST

It seems The ranges are counted right before encrypting since non-encrypted HLS encoding have same ranges. Fix seems to be made easy - count size of encrypted chunk instead of non-encrypted. But i really didn't search source, so I only guessing. Thanks.


          #6467: m3u8 to ts|mp4: Non-monotonous DTS in output stream 0:0... This may result in incorrect timestamps in the output file.   

thank you for the good apps when convering m3u8 to ts|mp4, Non-monotonous DTS....This may result in incorrect timestamps in the output file is displayed. i don't know the way to stop such a change.

The source is https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 in https://bitmovin.com/mpeg-dash-hls-examples-sample-streams/. This is the same as that of the comment in #3339.

i tried

ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy test.ts|mp4
ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy -fflags +genpts (-bsf:a aac_adtstoasc) test.ts|mp4
ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy -copyts test.ts|mp4
ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy -copytb 1 test.ts|mp4
ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy -vsync cfr -r 24 test.ts|mp4
ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy -vsync cfr -r 24 -fflags +genpts (-bsf:a aac_adtstoasc) test.ts|mp4

i don't know the relationship with #5948.

log

ffmpeg -y -i "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" -c copy test.ts
ffmpeg version N-86499-g1edbf5e20c Copyright (c) 2000-2017 the FFmpeg developers
  built with clang version 3.9.1 (tags/RELEASE_391/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.9 --cxx=clang++-mp-3.9 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-opengl --enable-opencl --disable-vda --pkg-config-flags=' --libs --static'
  libavutil      55. 66.100 / 55. 66.100
  libavcodec     57. 99.100 / 57. 99.100
  libavformat    57. 73.100 / 57. 73.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 92.100 /  6. 92.100
  libavresample   3.  6.  0 /  3.  6.  0
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/en/128kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/surround/en/320kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/250kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/500kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/800kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1100kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1500kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/4000kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/6000kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/10000kbit.m3u8' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/en/128kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/surround/en/320kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/250kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/500kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/800kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1100kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1500kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/4000kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/6000kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/10000kbit/seq-0.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/250kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/500kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/800kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1100kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/1500kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/4000kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/6000kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/10000kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/en/128kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/surround/en/320kbit/seq-1.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/stereo/none/128kbit/seq-1.ts' for reading
Input #0, hls,applehttp, from 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8':
  Duration: 00:14:48.00, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 258157
    Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp (default)
    Metadata:
      variant_bitrate : 831270
      comment         : English
    Stream #0:1(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 831270
      comment         : Dubbing
    Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 426x180 [SAR 7680:7739 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 258157
  Program 1
    Metadata:
      variant_bitrate : 520929
    Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp (default)
    Metadata:
      variant_bitrate : 831270
      comment         : English
    Stream #0:1(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 831270
      comment         : Dubbing
    Stream #0:5: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x272 [SAR 544:545 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 520929
  Program 2
    Metadata:
      variant_bitrate : 831270
    Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp (default)
    Metadata:
      variant_bitrate : 831270
      comment         : English
    Stream #0:1(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 831270
      comment         : Dubbing
    Stream #0:6: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x272 [SAR 544:545 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 831270
  Program 3
    Metadata:
      variant_bitrate : 1144430
    Stream #0:2(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
    Stream #0:3(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 10285391
      comment         : Dubbing
    Stream #0:7: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x408 [SAR 544:545 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 1144430
  Program 4
    Metadata:
      variant_bitrate : 1558322
    Stream #0:2(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
    Stream #0:3(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 10285391
      comment         : Dubbing
    Stream #0:8: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x544 [SAR 544:545 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 1558322
  Program 5
    Metadata:
      variant_bitrate : 4149264
    Stream #0:2(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
    Stream #0:3(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 10285391
      comment         : Dubbing
    Stream #0:9: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x818 [SAR 1636:1635 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 4149264
  Program 6
    Metadata:
      variant_bitrate : 6214307
    Stream #0:2(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
    Stream #0:3(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 10285391
      comment         : Dubbing
    Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x818 [SAR 1636:1635 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 6214307
  Program 7
    Metadata:
      variant_bitrate : 10285391
    Stream #0:2(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
    Stream #0:3(dubbing): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 10285391
      comment         : Dubbing
    Stream #0:11: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 4096x1744 [SAR 1:1 DAR 256:109], 24 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 10285391
Output #0, mpegts, to 'test.ts':
  Metadata:
    encoder         : Lavf57.73.100
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 4096x1744 [SAR 1:1 DAR 256:109], q=2-31, 24 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 10285391
    Stream #0:1(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp (default)
    Metadata:
      variant_bitrate : 10285391
      comment         : English
Stream mapping:
  Stream #0:11 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x7fca7100b600] Non-monotonous DTS in output stream 0:0; previous: 176250, current: 176250; changing to 176251. This may result in incorrect timestamps in the output file.
[mpegts @ 0x7fca7100b600] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 4rate=7266.3kbits/s speed= 6.9x
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 5
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 6
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 7
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 8
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 9
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 10
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/10000kbit/seq-2.ts' for reading
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 0
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 1
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/surround/en/320kbit/seq-2.ts' for reading
[hls,applehttp @ 0x7fca70801200] No longer receiving playlist 3
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/audio/surround/en/320kbit/seq-3.ts' for reading
[hls,applehttp @ 0x7fca70801200] Opening 'https://bitdash-a.akamaihd.net/content/sintel/hls/video/10000kbit/seq-3.ts' for reading
frame=  159 fps= 46 q=-1.0 Lsize=   11198kB time=00:00:06.59 bitrate=13916.3kbits/s speed=1.92x
video:10093kB audio:262kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.133783%
Exiting normally, received signal 2.

          #6470: Problem with getting bitrate from some udp mpegts streams   

ffmpeg version N-86436-g4f9e958 Copyright (c) 2000-2017 the FFmpeg developers

FFPROBE FROM UDP: ffprobe -i udp://239.192.18.17:1234 .... Input #0, mpegts, from 'udp://239.192.18.17:1234': Duration: N/A, start: 39884.335356, bitrate: N/A

Program 1680

Metadata:

service_name : MIR HD service_provider: GeoTelecon?

Stream #0:0[0x691]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x692](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s

but if i do same from file result is:

ffprobe -i ./mir.ts ... [mpegts @ 0x260ab00] PES packet size mismatch Input #0, mpegts, from './mir.ts':

Duration: 00:01:22.39, start: 38807.791356, bitrate: 8018 kb/s Program 1680

Metadata:

service_name : MIR HD service_provider: GeoTelecon?

Stream #0:0[0x691]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x692](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s

then if i want to stream this file to UDP stream then bitrate checked filed

ffmpeg -re -i ./mir.ts -f mpegts -c copy udp://239.192.66.66:1234 ... [mpegts @ 0x23b93c0] PES packet size mismatch Input #0, mpegts, from './mir.ts': Duration: 00:01:14.90, start: 38580.079356, bitrate: 8014 kb/s

Program 1680

Metadata:

service_name : MIR HD service_provider: GeoTelecon?

Stream #0:0[0x691]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x692](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s

Output #0, mpegts, to 'udp://239.192.66.66:1234':

Metadata:

encoder : Lavf57.73.100 Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 320 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help frame= 0 fps=0.0 q=-1.0 Lsize= 471kB time=00:00:10.92 bitrate= 353.6kbits/s speed=0.982x

Main problem is when i want to create hls from this udp mpegts stream...no chunks been creating

/usr/local/bin/ffmpeg -copytb 1 -avoid_negative_ts make_zero -overrun_nonfatal 1 -i udp://239.192.18.17:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/MIR_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -ignore_unknown -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/MIR_HD/stream_%s.ts /hls/pl/MIR_HD.m3u8

Link to recorded stream with VLC Multicat software: https://mycloud.g-service.ru/owncloud/index.php/s/RgeAY6aiUJSxi2E


          #6485: sound disappears after some time when creating hls chunks   

ffmpeg version N-86436-g4f9e958 Copyright (c) 2000-2017 the FFmpeg developers

/usr/local/bin/ffmpeg -copytb 1 -avoid_negative_ts make_zero -overrun_nonfatal 1 -i udp://239.192.7.246:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_ts_options pcr_period=0 -hls_base_url /ts/DomKino/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -ignore_unknown -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/DomKino/stream_%s.ts /hls/pl/DomKino.m3u8

I made a recording of the main stream https://mycloud.g-service.ru/owncloud/index.php/s/d8pn6oFYUrnpzwC

and kept hls chunks at the output of ffmpeg https://mycloud.g-service.ru/owncloud/index.php/s/jXd3dYhXhALuX3b

the output of ffmpeg hls is missing sound

after ffmpeg restart the sound on hls output appears


          #6493: filter_complex Segmentation fault (core dumped)   

Hi all, i use ffmpeg to add watermark at twitch stream, then i got Segmentation fault (core dumped)

i use:

ffmpeg -i 'https://video-edge-c67b10.cdg02.hls.ttvnw.net/v0/CtgBwk7ubWy8LXl_uWuOcaIIipDd9o29h7zCOdSVnqLjJIaF5P8u35ny6Q1fNDBA7HGiOwAiwnpmrC-BiI20okHgq4_JbIbkrnbq1J0rkL2LsrtpW1O1R2hPbdpMw_x59itrg3lKlSYjSfG8LbM857ZxkXgMpq05uyVy1_ZV7xNmPq2I_ekFiT4PJ4E5bzu7_kxiNVcRGB2Wp_ibP3Q2MBQtG2rRvbUOYfPZ4SlCzEAb0Mry26uSSCUiYNqgY0wRkW9fB6yhCo4s0KWLyIYynRi54xd2ak5cafVuEhDV49XnRCQ-DCVJABbF3BxeGgysR19eL9-xr8NFvWY/index-live.m3u8' -i /tmp/watermark.png -filter_complex 'overlay=0:0' -acodec aac -strict -2 -f flv -y 'rtmp://192.168.1.11/live/test2' -report

ffmpeg version:

root@9bd2d21e0670:/www# ffmpeg
ffmpeg version 3.3.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'

then i got a log

Here is the log:

https://ufile.io/719ba


          #6496: FFMPEG is not pushing the HLS chunks to remote server   

Summary of the bug: I am trying to create an HLS stream and to upload the HLS chunks and the manifest files to a remote server running NGINX using the HTTP PUT method. The script is working properly if I don't set up "-hls_segment_filename "index%04d.ts"" but when this option is present ffmpeg is not pushing the TS chunks to the remote server. On my remote server I see only the manifest files to be pushed, but not the chunks, at the same time I am seeing the chunks on the ffmpeg log:

[hls @ 0x559bceac83e0] Opening 'index0021.ts' for writing=N/A speed=1.49x [hls @ 0x559bceac83e0] Opening 'index0022.ts' for writing=N/A speed=1.47x [hls @ 0x559bceac83e0] Opening 'index0023.ts' for writing=N/A speed=1.47x [hls @ 0x559bceac83e0] Opening 'index0024.ts' for writing=N/A speed=1.49x [hls @ 0x559bceac83e0] Opening 'index0025.ts' for writing=N/A speed=1.51x

The /var/www/log/nginx/access.log on the remote machine is:

  • - [28/Jun/2017:12:53:49 +0000] "PUT /vod/index.m3u8 HTTP/1.1" 204 0 "-" "Lavf/57.71.100"
  • - [28/Jun/2017:12:53:52 +0000] "PUT /vod/index.m3u8 HTTP/1.1" 204 0 "-" "Lavf/57.71.100"
  • - [28/Jun/2017:12:53:54 +0000] "PUT /vod/index.m3u8 HTTP/1.1" 201 0 "-" "Lavf/57.71.100"
  • - [28/Jun/2017:12:53:54 +0000] "PUT /vod/index.m3u8 HTTP/1.1" 204 0 "-" "Lavf/57.71.100"

But in the same time the index.m3u8 file looks fine and all the chunks are defined with their name:

#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:6 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:6, http://IP.AD.DR.ES/vod/index0000.ts #EXTINF:6, http://IP.AD.DR.ES/vod/index0001.ts #EXTINF:6, http://IP.AD.DR.ES/vod/index0002.ts #EXT-X-ENDLIST

How to reproduce:

% ffmpeg -i input.mp4 \
-c:v libx264 \
-x264opts "keyint=48:min-keyint=48:no-scenecut" \
-profile:v high \
-level 5.2 \
-s 1920x1080 \
-c:a aac \
-strict -2 \
-start_number 0 \
-hls_time 6 \
-hls_list_size 0 \
-hls_segment_filename "index%04d.ts" \
-hls_playlist_type vod \
-hls_flags round_durations \
-hls_base_url http://IP.AD.DR.ES/vod/ \
-f hls \
-method PUT \
http://IP.AD.DR.ES/vod/index.m3u8
ffmpeg version: ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
built on Ubuntu 16.04: built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


          #2619: Unable to play HLS urls from uplynk.com   

Summary of the bug: ABC's O&O's recently switched to a new streaming provider for their live news streams. iOS can play these urls fine, but FFmpeg fails with a bunch of errors about cookies How to reproduce:

ffmpeg -i http://content.uplynk.com/channel/ext/72750b711f704e4a94b5cfe6dc99f5e1/WABCLive1.m3u8
ffmpeg version N-53690-g2886e80 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 30 2013 15:49:51 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-libopenjpeg --enable-libvpx --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac --cpu=amdfam10 --enable-x11grab --enable-libxavs --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libcelt --enable-openal --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-libpulse --enable-openssl --enable-libv4l2 --enable-libass --enable-libbluray --enable-avresample --enable-libiec61883 --enable-libopus --enable-libcaca --enable-libfdk-aac --enable-libilbc --enable-libtwolame --enable-librtmp --enable-libsoxr --disable-stripping --enable-libaacplus --enable-opencl --enable-libflite --enable-libquvi
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.100 / 55.  8.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[http @ 0x1f75400] Invalid cookie found, no value, path or domain specified
[http @ 0x1f7e840] Invalid cookie found, no value, path or domain specified
    Last message repeated 4 times
[https @ 0x1f7e840] Invalid cookie found, no value, path or domain specified
[http @ 0x1ffd3a0] Invalid cookie found, no value, path or domain specified
[http @ 0x20299e0] Invalid cookie found, no value, path or domain specified
[http @ 0x2055ca0] Invalid cookie found, no value, path or domain specified
    Last message repeated 2 times
[http @ 0x2082160] Invalid cookie found, no value, path or domain specified
[http @ 0x2098300] Invalid cookie found, no value, path or domain specified
    Last message repeated 2 times
[http @ 0x20da820] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x20f09e0] Invalid cookie found, no value, path or domain specified
[http @ 0x2106ba0] Invalid cookie found, no value, path or domain specified
[http @ 0x211cc60] Invalid cookie found, no value, path or domain specified
[http @ 0x2132fc0] Invalid cookie found, no value, path or domain specified
[http @ 0x2149220] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x215f340] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x218b7e0] Invalid cookie found, no value, path or domain specified
[mpegts @ 0x1f774a0] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x1f774a0] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[http @ 0x22596e0] Invalid cookie found, no value, path or domain specified
skipping 14 segments ahead, expired from playlists
[https @ 0x22ae740] Invalid cookie found, no value, path or domain specified
[http @ 0x22a5ba0] Invalid cookie found, no value, path or domain specified
[http @ 0x2233d40] Invalid cookie found, no value, path or domain specified
[http @ 0x22978a0] Invalid cookie found, no value, path or domain specified
[http @ 0x9bd6a20] Invalid cookie found, no value, path or domain specified
[http @ 0xbe69420] Invalid cookie found, no value, path or domain specified
[mpegts @ 0x22adf00] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x22adf00] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[http @ 0x23c00a0] Invalid cookie found, no value, path or domain specified
skipping 19 segments ahead, expired from playlists
[https @ 0x23c00a0] Invalid cookie found, no value, path or domain specified
[http @ 0x23c00a0] Invalid cookie found, no value, path or domain specified
skipping 1 segments ahead, expired from playlists
[http @ 0x23c00a0] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x40cda80] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[mpegts @ 0x2421800] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x2421800] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[http @ 0x23b0460] Invalid cookie found, no value, path or domain specified
skipping 25 segments ahead, expired from playlists
[https @ 0x23b0460] Invalid cookie found, no value, path or domain specified
[http @ 0x238b340] Invalid cookie found, no value, path or domain specified
skipping 1 segments ahead, expired from playlists
[http @ 0x238b340] Invalid cookie found, no value, path or domain specified
[mpegts @ 0x1f83880] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x1f83880] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[http @ 0x2367f80] Invalid cookie found, no value, path or domain specified
skipping 30 segments ahead, expired from playlists
[https @ 0x2367f80] Invalid cookie found, no value, path or domain specified
[http @ 0xe0c09a0] Invalid cookie found, no value, path or domain specified
    Last message repeated 3 times
[http @ 0x408c760] Invalid cookie found, no value, path or domain specified
[http @ 0x409ae00] Invalid cookie found, no value, path or domain specified
[http @ 0x2482a00] Invalid cookie found, no value, path or domain specified
[http @ 0x2491140] Invalid cookie found, no value, path or domain specified
    Last message repeated 2 times
[http @ 0x2327a20] Invalid cookie found, no value, path or domain specified
[http @ 0x2335ee0] Invalid cookie found, no value, path or domain specified
[http @ 0x2344580] Invalid cookie found, no value, path or domain specified
    Last message repeated 6 times
[http @ 0x1d7fbae0] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x1e949440] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x1f1f0380] Invalid cookie found, no value, path or domain specified
[http @ 0x1fa970c0] Invalid cookie found, no value, path or domain specified
[http @ 0x2033dd80] Invalid cookie found, no value, path or domain specified
[http @ 0x20be4c40] Invalid cookie found, no value, path or domain specified
    Last message repeated 2 times
[http @ 0x21d328e0] Invalid cookie found, no value, path or domain specified
[http @ 0x225d9700] Invalid cookie found, no value, path or domain specified
[http @ 0x22e80540] Invalid cookie found, no value, path or domain specified
[http @ 0x23727360] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x23fce180] Invalid cookie found, no value, path or domain specified
[http @ 0x24874fa0] Invalid cookie found, no value, path or domain specified
[http @ 0x2511bd00] Invalid cookie found, no value, path or domain specified
[http @ 0x259c2a60] Invalid cookie found, no value, path or domain specified
[http @ 0x26269880] Invalid cookie found, no value, path or domain specified
[http @ 0x26b107c0] Invalid cookie found, no value, path or domain specified
[http @ 0x273b7680] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x28505160] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x28dabec0] Invalid cookie found, no value, path or domain specified
[http @ 0x29652c60] Invalid cookie found, no value, path or domain specified
[http @ 0x29ef98e0] Invalid cookie found, no value, path or domain specified
[http @ 0x2a7a0700] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x2b047520] Invalid cookie found, no value, path or domain specified
[http @ 0x2b8ee280] Invalid cookie found, no value, path or domain specified
[http @ 0x2c195140] Invalid cookie found, no value, path or domain specified
[http @ 0x2ca3bf60] Invalid cookie found, no value, path or domain specified
[http @ 0x2d2e2d80] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x2e4309e0] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x2ecd7740] Invalid cookie found, no value, path or domain specified
[http @ 0x2f57e4a0] Invalid cookie found, no value, path or domain specified
[http @ 0x2fe25360] Invalid cookie found, no value, path or domain specified
[http @ 0x306cc0a0] Invalid cookie found, no value, path or domain specified
[http @ 0x30f73000] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x31819d60] Invalid cookie found, no value, path or domain specified
[http @ 0x320c0b80] Invalid cookie found, no value, path or domain specified
[http @ 0x32967980] Invalid cookie found, no value, path or domain specified
[http @ 0x3320e7a0] Invalid cookie found, no value, path or domain specified
[http @ 0x33ab5660] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x3435c5a0] Invalid cookie found, no value, path or domain specified
[http @ 0x34c031c0] Invalid cookie found, no value, path or domain specified
[http @ 0x354aa0c0] Invalid cookie found, no value, path or domain specified
[http @ 0x35d50ce0] Invalid cookie found, no value, path or domain specified
[http @ 0x365f7ba0] Invalid cookie found, no value, path or domain specified
[http @ 0x36e9e9c0] Invalid cookie found, no value, path or domain specified
[http @ 0x37745760] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x37fec6e0] Invalid cookie found, no value, path or domain specified
[http @ 0x38893300] Invalid cookie found, no value, path or domain specified
[http @ 0x3913a120] Invalid cookie found, no value, path or domain specified
[http @ 0x399e1020] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x3a287e40] Invalid cookie found, no value, path or domain specified
[http @ 0x3ab2eba0] Invalid cookie found, no value, path or domain specified
[http @ 0x3b3d5a60] Invalid cookie found, no value, path or domain specified
[http @ 0x3bc7c880] Invalid cookie found, no value, path or domain specified
[http @ 0x3c523540] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x3cdca2c0] Invalid cookie found, no value, path or domain specified
[mpegts @ 0x251b560] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x251b560] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[http @ 0x3d9bd9e0] Invalid cookie found, no value, path or domain specified
skipping 106 segments ahead, expired from playlists
[https @ 0x3d9bd9e0] Invalid cookie found, no value, path or domain specified
[http @ 0x12c1e240] Invalid cookie found, no value, path or domain specified
[http @ 0x33dfce0] Invalid cookie found, no value, path or domain specified
    Last message repeated 3 times
[http @ 0x466a0d80] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x4892a6c0] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x49a6f4a0] Invalid cookie found, no value, path or domain specified
[http @ 0x4abb4380] Invalid cookie found, no value, path or domain specified
[http @ 0x4bcf9360] Invalid cookie found, no value, path or domain specified
[http @ 0x4ce3e140] Invalid cookie found, no value, path or domain specified
[http @ 0x4df830e0] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x4f0c80a0] Invalid cookie found, no value, path or domain specified
[http @ 0x5020cee0] Invalid cookie found, no value, path or domain specified
[http @ 0x51351da0] Invalid cookie found, no value, path or domain specified
[http @ 0x52496c80] Invalid cookie found, no value, path or domain specified
[http @ 0x535dbb40] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x54720b60] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x569aaa60] Invalid cookie found, no value, path or domain specified
[http @ 0x57aef9c0] Invalid cookie found, no value, path or domain specified
[http @ 0x58c34880] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x5aebe720] Invalid cookie found, no value, path or domain specified
    Last message repeated 1 times
[http @ 0x5c003720] Invalid cookie found, no value, path or domain specified
^C[mpegts @ 0x251cc00] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x251cc00] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 2 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 5 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 8 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 11 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 14 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Could not find codec parameters for stream 17 (Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x1f57ee0] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from 'http://content.uplynk.com/channel/ext/72750b711f704e4a94b5cfe6dc99f5e1/WABCLive1.m3u8':
  Duration: 00:00:00.02, bitrate: 508 kb/s
  Program 0
    Metadata:
      variant_bitrate : 398585
    Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 78 kb/s
    Metadata:
      variant_bitrate : 398585
    Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 416x234, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 398585
    Stream #0:2: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 398585
  Program 1
    Metadata:
      variant_bitrate : 682203
    Stream #0:3: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      variant_bitrate : 682203
    Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 704x396, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 682203
    Stream #0:5: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 682203
  Program 2
    Metadata:
      variant_bitrate : 1200819
    Stream #0:6: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      variant_bitrate : 1200819
    Stream #0:7: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 896x504, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1200819
    Stream #0:8: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 1200819
  Program 3
    Metadata:
      variant_bitrate : 2537877
    Stream #0:9: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      variant_bitrate : 2537877
    Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 2537877
    Stream #0:11: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 2537877
  Program 4
    Metadata:
      variant_bitrate : 114966
    Stream #0:12: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 30 kb/s
    Metadata:
      variant_bitrate : 114966
    Stream #0:13: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 192x108, 15 tbr, 90k tbn, 30 tbc
    Metadata:
      variant_bitrate : 114966
    Stream #0:14: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 114966
  Program 5
    Metadata:
      variant_bitrate : 220310
    Stream #0:15: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 48 kb/s
    Metadata:
      variant_bitrate : 220310
    Stream #0:16: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 256x144, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 220310
    Stream #0:17: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p
    Metadata:
      variant_bitrate : 220310
At least one output file must be specified
Received signal 2: terminating.

The output is flooded non-stop with error messages about invalid cookies and unable to find codec parameters. The details about the stream didn't show up until I terminated the process with Ctrl+C.


          #4120: Spoofed Header via -header is "forgotten" after successfully opening a playlist. Actual streams then fail to play because of unspoofed HTTP-Header.   

Summary of the bug: How to reproduce:

ffplay -headers $'X-Forwarded-For: 195.186.136.21\r\n' -infbuf http://pebbles104-lh.akamaihd.net/i/dmax_1@97398/index_900_av-p.m3u8
ffplay version 1.2.6-7:1.2.6-1~trusty1
Ubuntu 64 Bit

          #6215: Fairplay Encryption for HLS m3u8 feeds not supported   

Summary of the bug: Fairplay Encryption for HLS m3u8 feeds not supported. How to reproduce:

ffmpeg -i "https://hlstvnz-a.akamaihd.net/963482467001/963482467001_5337729382001_5337696518001.m3u8?pubId=963482467001&videoId=5337696518001" -c copy sensingmurder.mkv
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100

I have an XML file that I sniffed out using Chrome's Web Developer (Network tab) and found that a "Licence URL" that might help in decrypting the file. Wondering if further development with ffmpeg could include an option/flag to insert such a URL to obtain a decryption licence/key?

A sample of the XML file, pertaining to the protected HLS feed, is below.

{"type":"application/vnd.apple.mpegurl","src":"http://hlstvnz-a.akamaihd.net/963482467001/963482467001_5337729382001_5337696518001.m3u8?pubId=963482467001&videoId=5337696518001","key_systems":{"com.apple.fps.1_0":{"key_request_url":"https://fps.brightcove.com/v1/fairplay_session_playback"}},"asset_id":"5337729382001"}

          #2833: can't parse HLS subtitles and alternate audio   

ffmpeg doesn't appear to be able to parse HLS master playlists that include subtitles and alternate audio playlists which are defined as rendition groups according to the specification.

As such it is not possible to use these for mapping to outputs or for playback or probing. Looking at the hlsproto.c it doesn't seem to include the required tags to parse from the latest specification. http://tools.ietf.org/html/draft-pantos-http-live-streaming-11#section-3.4.9.1

See this Apple reference URL: https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8 It has multiple alternate audio and subtitle tracks identified by the #EXT-X-MEDIA tag however ffmpeg only identifies 5 program streams.

ffmpeg -i https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8 ffmpeg version N-54152-g730e07f Copyright (c) 2000-2013 the FFmpeg developers

built on Jul 24 2013 16:08:47 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libvidstab --prefix=/usr/local --enable-librtmp --cc=clang libavutil 52. 37.101 / 52. 37.101 libavcodec 55. 16.100 / 55. 16.100 libavformat 55. 9.100 / 55. 9.100 libavdevice 55. 2.100 / 55. 2.100 libavfilter 3. 77.101 / 3. 77.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 3.100 / 52. 3.100

Input #0, hls,applehttp, from 'https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8':

Duration: 00:28:32.00, start: 0.000000, bitrate: 0 kb/s Program 0

Metadata:

variant_bitrate : 263851

Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 263851

Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 416x234, 29.97 tbr, 90k tbn, 180k tbc Metadata:

variant_bitrate : 263851

Stream #0:2: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p Metadata:

variant_bitrate : 263851

Program 1

Metadata:

variant_bitrate : 577610

Stream #0:3: Audio: aac ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 577610

Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360, 29.97 tbr, 90k tbn, 180k tbc Metadata:

variant_bitrate : 577610

Stream #0:5: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p Metadata:

variant_bitrate : 577610

Program 2

Metadata:

variant_bitrate : 915905

Stream #0:6: Audio: aac ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 915905

Stream #0:7: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x540, 29.97 tbr, 90k tbn, 180k tbc Metadata:

variant_bitrate : 915905

Stream #0:8: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p Metadata:

variant_bitrate : 915905

Program 3

Metadata:

variant_bitrate : 1030138

Stream #0:9: Audio: aac ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 1030138

Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 29.97 tbr, 90k tbn, 180k tbc Metadata:

variant_bitrate : 1030138

Stream #0:11: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p Metadata:

variant_bitrate : 1030138

Program 4

Metadata:

variant_bitrate : 1924009

Stream #0:12: Audio: aac ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 1924009

Stream #0:13: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, 29.97 tbr, 90k tbn, 180k tbc Metadata:

variant_bitrate : 1924009

Stream #0:14: Audio: mp3 ([21][0][0][0] / 0x0015), 0 channels, s16p Metadata:

variant_bitrate : 1924009

Program 5

Metadata:

variant_bitrate : 41457

Stream #0:15: Audio: aac, 22050 Hz, stereo, fltp, 41 kb/s Metadata:

variant_bitrate : 41457

For reference here is the output of the above reference URL's master playlist

#EXTM3U

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="bipbop_audio",LANGUAGE="eng",NAME="BipBop Audio 1",AUTOSELECT=YES,DEFAULT=YES #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="bipbop_audio",LANGUAGE="eng",NAME="BipBop Audio 2",AUTOSELECT=NO,DEFAULT=NO,URI="alternate_audio_aac/prog_index.m3u8"

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",AUTOSELECT=YES,FORCED=NO,LANGUAGE="eng",URI="subtitles/eng/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English (Forced)",DEFAULT=YES,AUTOSELECT=YES,FORCED=YES,LANGUAGE="eng",URI="subtitles/eng_forced/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Français",AUTOSELECT=YES,FORCED=NO,LANGUAGE="fra",URI="subtitles/fra/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Français (Forced)",AUTOSELECT=YES,FORCED=YES,LANGUAGE="fra",URI="subtitles/fra_forced/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Español",AUTOSELECT=YES,FORCED=NO,LANGUAGE="spa",URI="subtitles/spa/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Español (Forced)",AUTOSELECT=YES,FORCED=YES,LANGUAGE="spa",URI="subtitles/spa_forced/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="日本人",AUTOSELECT=YES,FORCED=NO,LANGUAGE="jpn",URI="subtitles/jpn/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="日本人 (Forced)",AUTOSELECT=YES,FORCED=YES,LANGUAGE="jpn",URI="subtitles/jpn_forced/prog_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=263851,CODECS="mp4a.40.2, avc1.4d400d",RESOLUTION=416x234,AUDIO="bipbop_audio",SUBTITLES="subs" gear1/prog_index.m3u8 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=28451,CODECS="avc1.4d400d",URI="gear1/iframe_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=577610,CODECS="mp4a.40.2, avc1.4d401e",RESOLUTION=640x360,AUDIO="bipbop_audio",SUBTITLES="subs" gear2/prog_index.m3u8 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=181534,CODECS="avc1.4d401e",URI="gear2/iframe_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=915905,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=960x540,AUDIO="bipbop_audio",SUBTITLES="subs" gear3/prog_index.m3u8 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=297056,CODECS="avc1.4d401f",URI="gear3/iframe_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1030138,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=1280x720,AUDIO="bipbop_audio",SUBTITLES="subs" gear4/prog_index.m3u8 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=339492,CODECS="avc1.4d401f",URI="gear4/iframe_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1924009,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=1920x1080,AUDIO="bipbop_audio",SUBTITLES="subs" gear5/prog_index.m3u8 #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=669554,CODECS="avc1.4d401f",URI="gear5/iframe_index.m3u8"

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=41457,CODECS="mp4a.40.2",AUDIO="bipbop_audio",SUBTITLES="subs" gear0/prog_index.m3u8


          #2886: HLS source with multiple variants is not optimally handled   

Currently when ffmpeg parses an HLS source it it performs a scan of all the available variants resulting in a very slow startup time. It also does not adapt to changes in network conditions to switch between the variants.

Both of these cases are some of purposes of the HLS protocol.

For startup the common convention with in formatting HLS master playlists is to make the first variant in the list the one that should be played first. So the reader should attempt to start playing this variant first without parsing all the variant playlists.

The reader should then maintain a buffer to detect how fast it is reading segments in the variant playlist and if the buffer is not filling fast enough to maintain playback for the current bitrate it should switch to a lower bitrate, if the low buffer continues then the reader should switch to a lower rate until it is as the lowest bitrate. If the buffer is full for a specified period then the reader should attempt to read the next higher bitrate and so on until the top rate is reached.

Note that the reader should also look at the bitrates recorded in the BANDWIDTH= field of the playlist as opposed to processing the segments as it should be assumed that the media honours the specification so as to reduce processing overhead and make for a faster experience.

A reasonable sample of a master playlist with multiple bitrate variants is available here: https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8

If someone starts on this I am happy to provide more detail.


          #3101: Support mp3 in m3u   

(videolan ticket 9769) vlc plays a "m3u" stream fine which contains a link to a mp3 stream, this fails with FFmpeg.

$ ffmpeg -i http://stream.krtu.org:9000/krtu_live-36kb.m3u
ffmpeg version N-57650-gcb52d6d Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 31 2013 01:03:43 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 48.100 / 52. 48.100
  libavcodec     55. 39.100 / 55. 39.100
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
http://stream.krtu.org:9000/krtu_live-36kb.m3u: Invalid data found when processing input

The content of the m3u file which works fine is:

http://stream.krtu.org:9000/krtu_live-36kb

(works with mplayer -playlist)


          #3493: ffmpeg unable to download when using AES-128 with https protocol   

Hi Recently I was able to download AES-128 encrypted videos using ffmpeg with normal http protocol but since protocol is changed to secure https I am unable to download any video.

Pls find below logs and help.

ffmpeg -i "http://hls.spuul.com/va/movies/12610001-c9e0f902/0011/s_renditions.m3u8" -c copy -absf aac_adtstoasc "Ankhon Dekhi 1080p.mkv" -loglevel verbose ffmpeg version N-61722-gfc567ac Copyright (c) 2000-2014 the FFmpeg developers

built on Mar 22 2014 22:01:33 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 67.100 / 52. 67.100 libavcodec 55. 52.103 / 55. 52.103 libavformat 55. 34.101 / 55. 34.101 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100

[https @ 02a0e160] HTTP error 404 Not Found Unable to open key file https://secure.spuul.com/keys/va/movies/12610001-c9e0f902/0011/renditions-encryption-00001.key Format mp3 detected only with low score of 1, misdetection possible! [mp3 @ 02a07180] Header missing

Last message repeated 1057 times

[mp3 @ 046e9a60] decoding for stream 0 failed [mp3 @ 046e9a60] Could not find codec parameters for stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options http://hls.spuul.com/va/movies/12610001-c9e0f902/0011/s_renditions.m3u8: Operation not permitted


          #5391: Allow option to use webproxy   

I'm trying to play a stream like the following: http://example.com/proxy.php?u=http://realhost.com/session/xxx/index.m3u8

The resulting m3u8 file looks like this:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:1438367455
#EXTINF:4.000,
1438367455.ts
#EXTINF:4.000,
1438367456.ts
#EXTINF:4.000,
1438367457.ts
#EXTINF:4.000,
1438367458.ts

The problem is that ffmpeg doesn't stay on the complete url but instead downloads the file and than generates the new chunks like: http://realhost.com/session/xxx/1438367455.ts

Obviously this won't work. So I want to request a command line arg like '--webproxy' which would include the full original url like this: http://example.com/proxy.php?u=http://realhost.com/session/xxx/1438367455.ts

VLC can handle this type of urls already without problems but my software uses ffmpeg.

(I used the latest build ffmpeg version N-79173-gbe746ae for testing and also older versions)

Thanks in advance!


          #5949: aviocat does not work for hls streams   

I believe there is currently no way to dump the transport stream(s) of a hls stream using FFmpeg.

$ ffmpeg -f lavfi -i testsrc=d=100 -vcodec mpeg1video out.m3u8

The following only dumps the playlist to the output file:

$ aviocat out.m3u8 out

Dumping streams with -f data is currently broken but it also used to only dump the playlist:

$ ffmpeg -f data -i out.m3u8 -map 0 -f data -codec copy out
ffmpeg version n3.0-4-geb46065 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, data, from 'out.m3u8':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Data: none
Output #0, data, to 'out':
  Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Data: none
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

          #6190: Support Netscape HTTP Cookie files   

Summary of the bug: How to reproduce:

$ ffmpeg -i http://aka-njpww-hls-vod-cm.uliza.jp/1239/995_440_1466_0c3b6a88e722a07df63c75d3977b9575_4943142_1904000_1280_720_47_20141118002654.m3u8 -c copy output.mp4
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.1 (GCC) 20170109
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[https @ 0x5566c892acc0] HTTP error 403 Forbidden
Unable to open key file https://www2.uliza.jp/IF/iphone/iPhoneCryptKey.aspx?v=4793799&s=0
[hls,applehttp @ 0x5566c890a560] Error when loading first segment 'http://aka-njpww-hls-vod-cm.uliza.jp/1239/995_440_1466_0c3b6a88e722a07df63c75d3977b9575_4943142_1904000_1280_720_47_20141118002654/25009-1.crypt.ts'
http://aka-njpww-hls-vod-cm.uliza.jp/1239/995_440_1466_0c3b6a88e722a07df63c75d3977b9575_4943142_1904000_1280_720_47_20141118002654.m3u8: Invalid data found when processing input

In this example, the key file https://www2.uliza.jp/IF/iphone/iPhoneCryptKey.aspx?v=4793799&s=0 requires cookies. Currently I use -headers or -cookies to specify those cookies. It would be great to have per-domain cookies. An approach is to support Netscape HTTP Cookie files.

A Python implementation can be found at https://github.com/python/cpython/blob/44b548d/Lib/http/cookiejar.py#L1961. Apparently either there's no official standard for this file format, or all standard documents have been vanished as Netscape goes by.


          #6213: support for autodetecting the best program in hls   

thank you for good apps and your work.

when treating with his, ffmpeg outputs, as the below log,

Stream #0:1 -> #0:0 (copy)
Stream #0:25 -> #0:1 (copy)

i think Program 9 is the best as long as seeing variant_bitrate, resolution and bit rate.

i request we can use the best Program, automatically.

source https://developer.apple.com/streaming/examples/advanced-stream-ts.html

ffmpeg -y -i "https://tungsten.aaplimg.com/VOD/bipbop_adv_example_v2/master.m3u8" -codec copy -t 1 test.ts
ffmpeg version N-83657-g7e4f32f Copyright (c) 2000-2017 the FFmpeg developers
  built with clang version 3.8.1 (tags/RELEASE_381/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libschroedinger --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 81.100 / 57. 81.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 74.100 /  6. 74.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, hls,applehttp, from 'https://tungsten.aaplimg.com/VOD/bipbop_adv_example_v2/master.m3u8':
  Duration: 00:10:00.00, start: 9.956011, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 2227464
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 2227464
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 1
    Metadata:
      variant_bitrate : 8178040
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 8178040
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 2
    Metadata:
      variant_bitrate : 6453202
    Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 6453202
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 3
    Metadata:
      variant_bitrate : 5054232
    Stream #0:3: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 5054232
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 4
    Metadata:
      variant_bitrate : 3289288
    Stream #0:4: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 3289288
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 5
    Metadata:
      variant_bitrate : 1296989
    Stream #0:5: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1296989
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 6
    Metadata:
      variant_bitrate : 922242
    Stream #0:6: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 922242
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 7
    Metadata:
      variant_bitrate : 553010
    Stream #0:7: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 553010
    Stream #0:24(en): Audio: aac (LC), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      comment         : English
  Program 8
    Metadata:
      variant_bitrate : 2448841
    Stream #0:8: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 2448841
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 9
    Metadata:
      variant_bitrate : 8399417
    Stream #0:9: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 8399417
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 10
    Metadata:
      variant_bitrate : 6674579
    Stream #0:10: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 6674579
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 11
    Metadata:
      variant_bitrate : 5275609
    Stream #0:11: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 5275609
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 12
    Metadata:
      variant_bitrate : 3510665
    Stream #0:12: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 3510665
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 13
    Metadata:
      variant_bitrate : 1518366
    Stream #0:13: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1518366
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 14
    Metadata:
      variant_bitrate : 1143619
    Stream #0:14: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1143619
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 15
    Metadata:
      variant_bitrate : 774387
    Stream #0:15: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 774387
    Stream #0:25(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
  Program 16
    Metadata:
      variant_bitrate : 2256841
    Stream #0:16: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 2256841
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 17
    Metadata:
      variant_bitrate : 8207417
    Stream #0:17: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 8207417
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 18
    Metadata:
      variant_bitrate : 6482579
    Stream #0:18: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 6482579
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 19
    Metadata:
      variant_bitrate : 5083609
    Stream #0:19: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 5083609
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 20
    Metadata:
      variant_bitrate : 3318665
    Stream #0:20: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 3318665
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 21
    Metadata:
      variant_bitrate : 1326366
    Stream #0:21: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1326366
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 22
    Metadata:
      variant_bitrate : 951619
    Stream #0:22: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 951619
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
  Program 23
    Metadata:
      variant_bitrate : 582387
    Stream #0:23: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 582387
    Stream #0:26(en): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
    Metadata:
      comment         : English
Output #0, mpegts, to 'test.ts':
  Metadata:
    encoder         : Lavf57.66.102
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 8178040
    Stream #0:1(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      comment         : English
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:25 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   58 fps= 34 q=-1.0 Lsize=    1120kB time=00:00:00.99 bitrate=9226.8kbits/s speed=0.587x
video:984kB audio:45kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.754848%

          #5067: crash on Mapping Multicast TV Stream to HLS with "Exactly one WebVTT stream is needed" as message   

Summary of the bug: i want to map a multicast TV Stream as is to HLS. Till ffmpeg 2.7.2 there was no Problem with the command line. With ffmpeg 2.8.0 till now with ffmpeg 2.8.3 ffmpeg says now "Exactly one WebVTT stream is needed" and crashes. The debug Output comes from ffmpeg 2.8.2, but with ffmpeg 2.8.3 it's the same Problem.

As should be: The command line should run without Problems, even without WebVTT streams, and should map all subtitles as is.

How to reproduce:

root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# ./ffmpeg -i udp://@239.100.1.1:1234 -map 0 -probesize 100 -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap 10 -hls_list_size 10 /var/www/test1_.m3u8 -loglevel debug
ffmpeg version 2.8.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2015 the FFmpeg developers
 built with gcc 5.2.1 (Debian 5.2.1-23) 20151028
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc
 libavutil 54. 31.100 / 54. 31.100
 libavcodec 56. 60.100 / 56. 60.100
 libavformat 56. 40.101 / 56. 40.101
 libavdevice 56. 4.100 / 56. 4.100
 libavfilter 5. 40.101 / 5. 40.101
 libswscale 3. 1.101 / 3. 1.101
 libswresample 1. 2.101 / 1. 2.101
 libpostproc 53. 3.100 / 53. 3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'udp://@239.100.1.1:1234'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-probesize' ... matched as AVOption 'probesize' with argument '100'.
Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration' with argument '100'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-copy_unknown' ... matched as option 'copy_unknown' (Copy unknown stream types) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'hls'.
Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '10'.
Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with argument '10'.
Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' with argument '10'.
Reading option '/var/www/test1_.m3u8' ... matched as output file.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option copy_unknown (Copy unknown stream types) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file udp://@239.100.1.1:1234.
Successfully parsed a group of options.
Opening an input file: udp://@239.100.1.1:1234.
[udp @ 0x3c048c0] end receive buffer size reported is 131072
[mpegts @ 0x3c04080] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x3c04080] stream=0 stream_type=3 pid=90 prog_reg_desc=
[mpegts @ 0x3c04080] stream=1 stream_type=6 pid=92 prog_reg_desc=
[mpegts @ 0x3c04080] stream=2 stream_type=2 pid=a8 prog_reg_desc=
[mpegts @ 0x3c04080] stream=3 stream_type=5 pid=585 prog_reg_desc=
[mpegts @ 0x3c04080] Before avformat_find_stream_info() pos: 0 bytes read:215824 seeks:0
[mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpegts @ 0x3c04080] parser not found for codec none, packets or times may be invalid.
[mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpeg2video @ 0x3c2a080] Invalid frame dimensions 0x0.
 Last message repeated 4 times
[mpegts @ 0x3c04080] max_analyze_duration 5000000 reached at 5000000 microseconds st:2
[mpegts @ 0x3c04080] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x3c04080] After avformat_find_stream_info() pos: 2948780 bytes read:2949156 seeks:0 frames:469
Input #0, mpegts, from 'udp://@239.100.1.1:1234':
 Duration: N/A, start: 85846.772444, bitrate: N/A
 Program 3394
 Metadata:
 service_name : QVC PLUS
 service_provider: SES ASTRA
 Stream #0:0[0x90](ger), 208, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
 Stream #0:1[0x92](ger), 131, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Stream #0:2[0xa8], 130, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, left), 720x576 [SAR 64:45 DAR 16:9], 1/50, max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Stream #0:3[0x585], 0, 1/90000: Unknown: none ([5][0][0][0] / 0x0005)
Successfully opened the file.
Parsing a group of options: output file /var/www/test1_.m3u8.
Applying option map (set input stream mapping) with argument 0.
Applying option c (codec name) with argument copy.
Applying option f (force format) with argument hls.
Successfully parsed a group of options.
Opening an output file: /var/www/test1_.m3u8.
Successfully opened the file.
[webvtt @ 0x3fb80c0] Exactly one WebVTT stream is needed.
[mpegts @ 0x3fb7ae0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Segmentation fault (core dumped)
root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static#

          #5914: FFmpeg not able to read a specific HLS stream   

Summary of the bug: Even I've succesfully played the stream in VLC, ffmpeg is not able to read it How to reproduce:

% ffmpeg -i http://sonlife-i.akamaihd.net/hls/live/250092/internationalvtt/internationalvtt1/internationalvtt1.m3u8
ffmpeg version N-82143-gbf14393 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
  configuration: --prefix=/ffmpeg --enable-static --disable-shared --enable-gpl --enable-libx264
  libavutil      55. 35.100 / 55. 35.100
  libavcodec     57. 65.100 / 57. 65.100
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 66.100 /  6. 66.100
  libswscale      4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[hls,applehttp @ 0x3d3f240] No longer receiving playlist 0
http://sonlife-i.akamaihd.net/hls/live/250092/internationalvtt/internationalvtt1/internationalvtt1.m3u8: could not find codec parameters

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


          #5921: Can not read mjpeg from IP camera   

Summary of the bug: I downloaded a FFmpeg demo from the internet. Tried to change the video source to IP camera, but it shows bugs as follows. BTW I use OC in Xcode How to reproduce:

self.video =[[XYQMovieObject alloc] initWithVideo:@"http://192.168.10.123:7060"];

The bug shows that

Input #0, mpjpeg, from 'http://192.168.10.123:7060':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 25 tbn, 25 tbc
[mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found a line of 8 bytes
[mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found a line of 2 bytes

I don't know what to do to fix it. It works when I use other internet source of video like

self.video = [[XYQMovieObject alloc] initWithVideo:@"http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8"];

Can any one tell me what to do to debug that? I would really appreciate that. Thanks guys.


          #2205: It does not be streaming a RTSP(H.264/AAC) using ffserver.   

Summary of the bug:

How to reproduce:

# ffmpeg -i http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8 -acodec copy -vcodec copy http://10.10.250.122:8090/feed1.ffm
ffmpeg version N-48413-gdc8b367 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 22 2013 15:58:23 with gcc 4.5 (SUSE Linux)
  configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --extra-cflags=-I/home/work/ffmpeg/x264 --extra-ldflags=-L/usr/local/lib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.101 / 54. 85.101
  libavformat    54. 59.102 / 54. 59.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x1564600] Estimating duration from bitrate, this may be inaccurate
[mpegts @ 0x16339a0] Estimating duration from bitrate, this may be inaccurate
[mpegts @ 0x174aca0] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from 'http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8':
  Duration: 00:03:51.00, start: 10.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 860000
    Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 65 kb/s
    Metadata:
      variant_bitrate : 860000
    Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 29.97 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 860000
  Program 1
    Metadata:
      variant_bitrate : 512000
    Stream #0:2: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 65 kb/s
    Metadata:
      variant_bitrate : 512000
    Stream #0:3: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 29.97 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 512000
  Program 2
    Metadata:
      variant_bitrate : 160000
    Stream #0:4: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, mono, fltp, 34 kb/s
    Metadata:
      variant_bitrate : 160000
    Stream #0:5: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 11.99 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 160000
Output #0, ffm, to 'http://10.10.250.122:8090/feed1.ffm':
  Metadata:
    creation_time   : now
    encoder         : Lavf54.59.102
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 400x224, q=2-31, 1000k tbn, 90k tbc
    Metadata:
      variant_bitrate : 860000
Stream mapping:
  Stream #0:1 -> #0:0 (copy)

# cat ffserver.conf Port 8090 BindAddress? 0.0.0.0 MaxHTTPConnections 5 MaxClients? 5 MaxBandwidth? 40000 CustomLog? - NoDaemon?

RTSPPort 5454 RTSPBindAddress 0.0.0.0

<Feed feed1.ffm> File /tmp/feed1.ffm FileMaxSize? 100M ACL allow localhost ACL allow 127.0.0.1 ACL allow 10.10.250.0 10.10.255.255 #Launch ffmpeg -i http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8 </Feed>

<Stream live.h264> Format rtp Feed feed1.ffm </Stream>

<Stream status.html> Format status ACL allow localhost #ACL allow 192.168.0.0 192.168.255.255 ACL allow 10.10.250.0 10.10.255.255 ACL allow 127.0.0.1 </Stream>

<Redirect index.html> URL http://www.ffmpeg.org/ </Redirect>

We run ffserver with ffserver.conf, and tried to play using VLC(rtsp://10.10.250.122:5454/live.h264) # ffsever -f ffserver.conf ffserver version N-48413-gdc8b367 Copyright (c) 2000-2013 the FFmpeg developers

built on Jan 22 2013 15:58:23 with gcc 4.5 (SUSE Linux) configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --extra-cflags=-I/home/work/ffmpeg/x264 --extra-ldflags=-L/usr/local/lib libavutil 52. 13.100 / 52. 13.100 libavcodec 54. 85.101 / 54. 85.101 libavformat 54. 59.102 / 54. 59.102 libavdevice 54. 3.102 / 54. 3.102 libavfilter 3. 30.102 / 3. 30.102 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100

Mon Jan 28 12:21:49 2013 FFserver started. Mon Jan 28 12:21:54 2013 10.10.250.122 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175

Mon Jan 28 12:22:02 2013 [NULL @ 0x14cc500]AAC with no global headers is currently not supported. Mon Jan 28 12:22:02 2013 10.10.250.85 - - [DESCRIBE] "rtsp://10.10.250.122:5454/live.h264 RTSP/1.0" 200 541 Mon Jan 28 12:22:02 2013 10.10.250.85 - - [OPTIONS] "rtsp://10.10.250.122:5454 RTSP/1.0" 200 85

ps : if it use a NoAudio? in ffserver.conf, we play well with vlc.

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


          #2547: -muxrate option doesn't work with stream_segment mpegts output   

When I use the -muxrate parameter with the mpegts muxer directly, it works fine without any errors and I get the desired muxrate. But it is not working when using the mpegts muxer indirectly via the stream_segment muxer (even after patching segment.c to pass the muxrate parameter to the mpegts muxer and verifying that the right value was passed - see below).

Using mpegts muxer directly: ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f mpegts -v verbose test.ts

Complete console output attached as: mpegts_output.txt

Quote from the output: [mpegts @ 0x7fc381829c00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

So, that looks good. Next I want to do the same thing when using mpegts via the stream_segment muxer.

First I edited libavformat/segment.c to enable the muxrate option to be passed to the muxer specified by -segment_format, via a new option called -segment_format_muxrate (see patch attached). There may be a better way to accomplish this, but it works for now. If you prefer, I can submit this patch first to ffmpeg-devel and then inquire about this bug.

Next, making use of this new option:

ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f ssegment -segment_list test.m3u8 -segment_list_flags +live -segment_time 10 -segment_format mpegts -segment_format_muxrate 1.25M -segment_time_delta 1.0 -v verbose test%05d.ts

Complete console output attached as: ssegment_output.txt

This message cofirms that the muxrate option was correctly passed to the mpegts muxer: [mpegts @ 0x7fdff3c16800] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

However, as you can see in the console output, I now get this error message repeated very often: [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid

Last message repeated 58 times

When this error occurs, I found that the size of each segment file (which should be all roughly the same size, since they are all approx. the same duration) is actually growing by multiples, e.g.: ls -al test0*.ts -rw-r--r-- 1 jasonlivingston admin 1657784 May 8 22:39 test00000.ts -rw-r--r-- 1 jasonlivingston admin 3273268 May 8 22:39 test00001.ts -rw-r--r-- 1 jasonlivingston admin 5023736 May 8 22:39 test00002.ts -rw-r--r-- 1 jasonlivingston admin 6452160 May 8 22:39 test00003.ts -rw-r--r-- 1 jasonlivingston admin 8077796 May 8 22:39 test00004.ts -rw-r--r-- 1 jasonlivingston admin 9741784 May 8 22:39 test00005.ts -rw-r--r-- 1 jasonlivingston admin 11516692 May 8 22:39 test00006.ts -rw-r--r-- 1 jasonlivingston admin 13087244 May 8 22:39 test00007.ts -rw-r--r-- 1 jasonlivingston admin 14500816 May 8 22:39 test00008.ts -rw-r--r-- 1 jasonlivingston admin 16241884 May 8 22:39 test00009.ts

Again, these are all the same duration and same CBR, so they should be roughly the same size.

Any ideas why this works fine for using mpegts directly, but not when using mpegts via ssegment?


          #2617: Playback of HLS fails when one of the variant streams are down   

Summary of the bug: In cases of poorly managed HLS streams where one of the variant streams inside the m3u8 playlist are down, ffmpeg fails to play as soon as it sees a 404 error for one of the variant streams, while iOS ignores the dead stream and just plays it with the ones that work. How to reproduce:

ffmpeg -i http://telly.powerrangermail.net/hlstest/playlist.m3u8
ffmpeg version N-53690-g2886e80 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 30 2013 15:49:51 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-libopenjpeg --enable-libvpx --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac --cpu=amdfam10 --enable-x11grab --enable-libxavs --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libcelt --enable-openal --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-libpulse --enable-openssl --enable-libv4l2 --enable-libass --enable-libbluray --enable-avresample --enable-libiec61883 --enable-libopus --enable-libcaca --enable-libfdk-aac --enable-libilbc --enable-libtwolame --enable-librtmp --enable-libsoxr --disable-stripping --enable-libaacplus --enable-opencl --enable-libflite --enable-libquvi
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.100 / 55.  8.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[http @ 0xf8d2c0] HTTP error 404 Not Found
http://telly.powerrangermail.net/hlstest/playlist.m3u8: Input/output error

Since the stream in question that I use is only available weekdays for one hour a day, the output above is with a sample I created that intentionally has the same error so you can reproduce.


          #5419: HLS EXT-X-DISCONTINUITY tag is not supported   

Summary of the bug:

I'm trying to read input from HLS and output to RTMP, this works fine if the HLS segments are all in one time sequence. However if the time changes e.g. segments generated from two video files, ffmpeg got error 'Non-monotonous DTS in output stream 0:1;'.

According to the HLS documentation, EXT-X-DISCONTINUITY should be used when time sequence changes. (https://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section-3.4.11) But I still got the same error after I added that tag to the m3u8 file. Look at hls.c file in libavformat, it doesn't handle EXT-X-DISCONTINUITY tag.

How to reproduce:

ffmpeg -re -i http://hls-server/playlist.m3u8 -acodec copy -vcodec copy -bsf:a aac_adtstoasc -f flv rtmp://rtmp-server/app

          #5696: ffmpeg broken for AES-encrypted HLS stream with Accept-Encoding header   

Summary of the bug: How to reproduce:

$ ffmpeg -loglevel debug -headers "Accept-Encoding: gzip, deflate" -i https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc output.mp4
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.1.1 (GCC) 20160602
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-headers' ... matched as AVOption 'headers' with argument 'Accept-Encoding: gzip, deflate'.
Reading option '-i' ... matched as input file with argument 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
Reading option '-bsf:a' ... matched as option 'bsf' (A comma-separated list of bitstream filters) with argument 'aac_adtstoasc'.
Reading option 'output.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8.
Successfully parsed a group of options.
Opening an input file: https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8.
[https @ 0x56373daa0320] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x56373daa0320] No trailing CRLF found in HTTP header.
[https @ 0x56373daa0320] request: GET /episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8 HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Range: bytes=0-
Connection: close
Host: d2sazdeahkz1yk.cloudfront.net
Icy-MetaData: 1
Accept-Encoding: gzip, deflate
[hls,applehttp @ 0x56373da9fb20] Format hls,applehttp probed with size=2048 and score=100
[hls,applehttp @ 0x56373da9fb20] HLS request for url 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts', offset 0, playlist 0
[https @ 0x56373e0c8700] request: GET /episodes/S01E03-loading-view-controllers/hls_key HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Connection: close
Host: talk.objc.io
Icy-MetaData: 1
Accept-Encoding: gzip, deflate
[https @ 0x56373e0c8700] inflate return value: -3, invalid code lengths set
    Last message repeated 1 times
Unable to read key file https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key
[AVIOContext @ 0x56373dc811a0] Statistics: 0 bytes read, 0 seeks
[https @ 0x56373deedc20] request: GET /episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Connection: close
Host: d2sazdeahkz1yk.cloudfront.net
Icy-MetaData: 1
Accept-Encoding: gzip, deflate
[hls,applehttp @ 0x56373da9fb20] Error when loading first segment 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts'
[AVIOContext @ 0x56373dbcc380] Statistics: 1050928 bytes read, 0 seeks
[AVIOContext @ 0x56373de18ce0] Statistics: 4997 bytes read, 0 seeks
https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8: Invalid data found when processing input

The key file is correctly gzipped:

$ curl "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    16    0    16    0     0     16      0 --:--:-- --:--:-- --:--:--    16
00000000: 9016 6c2e 9f21 f436 9478 2438 464e 917a  ..l..!.6.x$8FN.z
$ curl -H 'Accept-Encoding: gzip, deflate' "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | gunzip -c - | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    43    0    43    0     0     48      0 --:--:-- --:--:-- --:--:--    48
00000000: 9016 6c2e 9f21 f436 9478 2438 464e 917a  ..l..!.6.x$8FN.z
$ curl -H 'Accept-Encoding: gzip, deflate' "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    43    0    43    0     0     45      0 --:--:-- --:--:-- --:--:--    45
00000000: 1f8b 0800 2d89 7f57 0003 9a20 96a3 375f  ....-..W... ..7_
00000010: f18b d994 0a15 0b37 bf89 5500 0000 00ff  .......7..U.....
00000020: ff03 0070 464c a710 0000 00              ...pFL.....

          #5881: Allow writing subtitle only hls streams   

Hi,

I'm unable to mux dvb_teletext as webvtt hls (.m3u8). I always obtain the following error

(incorrect codec parameters ?): Invalid argument

It looks and issue of the hls mux as .webvtt output works well

How to reproduce: To reproduce you DVB MPTS or SPTS stresm that include dvb_teletext pid and your ffmpeg must be build libvzbi

--Doesn't works---

command line

/usr/local/bin/ffmpeg -v 9 -loglevel 99 -txt_format text -txt_page 801 -txt_duration 4000 -i "udp://@239.180.15.15:2000?localaddr=192.168.0.201&fifo_size=1000000&overrun_nonfatal=1"       -map 0:p:2000:3 -c:s:0 webvtt -f hls -hls_time 10 -hls_list_size 180 -hls_flags delete_segments -hls_segment_filename /mnt/sub0_%05d.vtt /mnt/sub0.m3u8

output

ffmpeg version N-81896-ga6bce3c Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --prefix=/home/scramatte/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/scramatte/ffmpeg_build/include --extra-ldflags=-L/home/scramatte/ffmpeg_build/lib --bindir=/home/scramatte/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libmfx --enable-libzvbi --enable-nonfree
  libavutil      55. 32.100 / 55. 32.100
  libavcodec     57. 60.101 / 57. 60.101
  libavformat    57. 51.102 / 57. 51.102
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
  libpostproc    54.  0.100 / 54.  0.100
Successfully opened the file.
Parsing a group of options: output file /mnt/sub0.m3u8.
Applying option map (set input stream mapping) with argument 0:p:29815:3.
Applying option c:s:0 (codec name) with argument webvtt.
Applying option f (force format) with argument hls.
Successfully parsed a group of options.
Opening an output file: /mnt/sub0.m3u8.
Successfully opened the file.
[libzvbi_teletextdec @ 0x2f35da0] page filter: 801
[file @ 0x2f3d1a0] Setting default whitelist 'file,crypto'
[file @ 0x2f30e60] Setting default whitelist 'file,crypto'
[mpegts @ 0x334a940] No streams to mux were specified
Output #0, hls, to '/mnt/sub0.m3u8':
  Metadata:
    encoder         : Lavf57.51.102
    Stream #0:0(spa,eng), 0, 1/1000: Subtitle: webvtt, 492x250
    Metadata:
      encoder         : Lavc57.60.101 webvtt
Stream mapping:
  Stream #0:26 -> #0:0 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[AVIOContext @ 0x2eef020] Statistics: 16653040 bytes read, 0 seeks

-- Works -- command line

/usr/local/bin/ffmpeg -txt_format text -txt_page 801 -txt_duration 4000 -i "udp://@239.180.15.15:2000?localaddr=192.168.0.201&fifo_size=1000000&overrun_nonfatal=1"       -map 0:p:29815:3 -c:s:0 webvtt -f webvtt sub.webvtt

output

File 'sub.webvtt' already exists. Overwrite ? [y/N] y
Output #0, webvtt, to 'sub.webvtt':
  Metadata:
    encoder         : Lavf57.51.102
    Stream #0:0(spa,eng): Subtitle: webvtt
    Metadata:
      encoder         : Lavc57.60.101 webvtt
Stream mapping:
  Stream #0:21 -> #0:0 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
Press [q] to stop, [?] for help
size=       0kB time=00:00:02.96 bitrate=   0.3kbits/s speed=1.17x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 109.259262%

          #1199: Playlist support   

Would it be too difficult to add the playlist support in FFmpeg in such way that it would help replace using "for", "while" and other loops, in batch scripts? Here is an example of possible implementation:

ffmpeg -f playlist -i list.m3u -acodec copy -vcodec copy -f mp4 %1.new.mp4

This would have an effect of looping through the entire list.m3u file, reading each file from the playlist and remuxing it into mp4 format, saving it to a new file name, using a file name pattern (just like -f image2 does with "img%03d.png"), where %1 might represent the original file name.

I'm willing to make a patch for this enhancement, I just need a little push in the right direction. Which files should I look at, to edit them? I'll try to write it and submit the patch here.

This enhancement could also be used with ffplay, to play a playlist instead of one file.


          #2600: print EXT-X-STREAM-INF and BANDWIDTH in output M3U8   

Summary of the ticket:

add support to EXT-X-STREAM-INF and BANDWIDTH field in the generated M3U8 output.

Here is spec from http://tools.ietf.org/html/draft-pantos-http-live-streaming-07

BANDWIDTH

The value is a decimal-integer of bits per second. It MUST be an upper bound of the overall bitrate of each media segment (calculated to include container overhead) that appears or will appear in the Playlist.

Every EXT-X-STREAM-INF tag MUST include the BANDWIDTH attribute

Here is command line:

C:\ffmpeg\ffmpeg.exe -re -i "rtmp://bar/foo.flv" -y -c:v copy -c:a copy -hls_time 6 -hls_list_size 5 -hls_wrap 30 -start_number 1 "C:\Tools\Foo\stream.m3u8"


          #2737: There are discontinuous phenomenon in playing HLS stream when changing another bitrate stream   

Dear all:

I use ffplay to play the hls stream (*.m3u8). It can play normally. However, as I try change the another bitrate stream by pressing 'a' (it will call stream_cycle_channel(cur_stream, AVMEDIA_TYPE_AUDIO)) or pressing 'a' (it will call stream_cycle_channel(cur_stream, AVMEDIA_TYPE_VIDEO)). There is discontinusous phenomenon people can perceive. Is there any method to change stream smoothly?


          #5375: Can't download a m3u playlist stream that uses AES encryption   

Summary of the bug: I am trying to download a video using a m3u8 playlist but I get the error saying "Sample-AES encryption is not yet supported; Failed to open segment of playlist 0". Then at the end I get "Error loading first segment: <very long url is here> Invalid data when processing input How to reproduce:

% ffmpeg -i "https://once.unicornmedia.com/now/od/aut
o/e62f13e1-cab4-4fca-bdbb-eaa84d793f41/523587ee-47d2-403b-a3d0-e5db30f6929c/cim
44emqp001i0fo5daa1yd3o/content.m3u8" -c copy test.ts
ffmpeg version: 3.0
built on: Unknown

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


          #5295: Unusual bug when file name starts with leading %20   

I think I have discovered an unusual bug when trying to download a video file that is an m3u8 file and the file name contains a leading space encoded as a %20.

Short form of the problem.

1) File is "http://d3fk8fzsguno39.cloudfront.net/Directory/%20VideoFile.m3u8"

2) Amazon cloud server returns header frame with resolution info in which the segment name is : #EXT-X-STREAM-INF..."(space)HLS_640).m3u8 HTTP/1.1"

3) ffmpeg formats the segment request list as : "GET /Directory/(space)HLS_640).m3u8".

4) Amazon cloud server returns "HTTP/1.1 400 Bad request (text/html)" and closes connection.

I believe the problem is that the GET request should be "%20" instead of (space).

I have trace other applications (specifically Flash Player) on a windows 7 system and have found that that is what is being sent.

I have looked at the ffmpeg code and I think (may be wrong) that problem is in the parse_playlist() function and the way it works with the function ff_make_absolute_url(). Without more research, I am not sure how to fix this particular issue.

Command line: ffmpeg http://d3fk8fzsguno39.cloudfront.net/Directory/%20FileName.m3u8 -vcodec copy -acodec copy -absf aac_adtstoasc "OutputFile?.mp4"

For security reasons, I cannot provide the actual file names until I am sure that I am on the correct line of thought. I can then provide actual test cases and wireshark traces of both working and failing situations in private conversations.

linux ffmpeg version info (7.3.0+git+trusty):

ffmpeg version N-78590-g5590ab4 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100

Note: ffmpeg works satisfactorily if a %20 is embedded in the file name (e.g., "File%20Name").

Thanks

Ralph


          WFMU MP3 Archive: Hinky Dinky Time with Uncle Michael from Jun 30, 2017   
Listen to MP3 audio archive from Hinky Dinky Time with Uncle Michael on WFMU, from Jun 30, 2017
          WFMU MP3 Archive: Sinner's Crossroads with Kevin Nutt from Jun 29, 2017   
Listen to MP3 audio archive from Sinner's Crossroads with Kevin Nutt on WFMU, from Jun 29, 2017
          WFMU MP3 Archive: Transpacific Sound Paradise with Rob Weisberg from Jul 1, 2017   
Listen to MP3 audio archive from Transpacific Sound Paradise with Rob Weisberg on WFMU, from Jul 1, 2017
          Party, down: Fyre Festival founder Billy McFarland arrested and charged with wire fraud   
TwitterFacebook

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2017%2f5%2f398a6713 b681 c4d9%2fthumb%2f00001 Read more...

More about Fyre Festival, Fyre Fest, Billy Mcfarland, Entertainment, and Music

          WFMU MP3 Archive: The Belly of the Beast with Stefan from Feb 9, 2007   
Listen to MP3 audio archive from The Belly of the Beast with Stefan on WFMU, from Feb 9, 2007
          WFMU MP3 Archive: Fool's Paradise with Rex from Jul 1, 2017   
Listen to MP3 audio archive from Fool's Paradise with Rex on WFMU, from Jul 1, 2017
          EZ CD Audio Converter Ultimate 6.0.8.1 RePack by D!akov [Ru/En]   
Категория: Работа с аудио Размер: 31.64 MB Статус: нет раздающих и 0 качающих(ий) Скорость: нет траффика Добавлен: 2017-07-02 14:30:43 Описание: Версия программы: 6.0.8.1
Официальный сайт: ссылка
Язык интерфейса: Русский, Английский

Лечение: не требуется (инсталлятор уже пролечен)

Системные требования:

Windows 10, 8, 7, Vista, and XP


Описание:
EZ CD Audio Converter - утилита для преобразования аудио-CD в качественные цифровые аудиофайлы, а также для записи MP3, WAV MP4, Windows Media Audio, FLAC, Ogg Vorbis, AAC и Monkey-s файлов на аудио-CD. Умеет преобразовывать аудиотреки непосредственно в MP3, WMA, VQF, OGG или WAV и конвертировать из одного аудиоформата в другой.

Дополнительная информация:

Одна из основных характерных черт - возможность использования как стандартных Windows ACM-драйверов, так внешних или внутренних кодеков (Wave/PCM, Wave/ADPCM, LAME MP3 Encoder, TwinVQ VQF Encoder, Fraunhofer MP3 Encoder, Windows Media Audio Encoder и др.). Поддерживается загрузка данных о диске из CDDB, использование и редактирование CDPlauer.ini, ID3/ID3V2/ID3W-тегов, нормализация уровня громкости, удаление пауз. Работает практически со всеми IDE/SCSI/USB/FIREWIRE-драйвами. Многоязыковой интерфейс, русский присутствует.

Ключевые возможности:

Поддержка множества аудио форматов
Высокопроизводительное копирование Audio CD
Работа с защищенными дисками
Чтение поврежденных дисков
Получение сведений о диске из базы freedb
Продвинутая система обработки звука
Создание .cue файлов и списков воспроизведения .m3u
Поддержка CD-Text
Мультиязычный интерфейс, включая русский язык
И многое другое...

Что нового:

Особенности RePack'a:

1. Не требует регистрации (патч SnD)
2. Опционная интеграция в контекстное меню Проводника (выбор при установке)
3. Язык интерфейса только английский и русский (немного мной модифицированный)
4. Подхватывается внешний файл настроек settings.reg, если таковой находится рядом с инсталлятором

"Тихая" установка с ключами /SILENT или /VERYSILENT
Для "Тихой" установки портативной версии дополнительный ключ /PORTABLE=1

Примечание!!! Во время установки будет предложено посетить сайт автора репака. Снимаем галочку по желанию.

          WFMU MP3 Archive: Bob Brainen's show from Jul 1, 2017   
Listen to MP3 audio archive from Bob Brainen's show on WFMU, from Jul 1, 2017
          http://81.92.105.135:5555/pl.m3u8?channel=526   
none
          http://mainstream.dyndns.tv:8000/live/conny/conny/935.m3u8   
none
          http://mainstream.dyndns.tv:8000/live/conny/conny/825.m3u8   
none
          WFMU MP3 Archive: Mudd Up! with DJ/Rupture from May 16, 2011   
Listen to MP3 audio archive from Mudd Up! with DJ/Rupture on WFMU, from May 16, 2011
          WFMU MP3 Archive: Mudd Up! with DJ/Rupture from Feb 8, 2010   
Listen to MP3 audio archive from Mudd Up! with DJ/Rupture on WFMU, from Feb 8, 2010
          WFMU MP3 Archive: Nazario Scenario from Jun 29, 2017   
Listen to MP3 audio archive from Nazario Scenario on WFMU, from Jun 29, 2017
          http://gourl.su/2a0?r24.m3u8   
none