| Summary: | Amarok displays incorrect track lengths | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Philip Ashmore <contact> |
| Component: | other (any) | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | bugwatch, contact, darrella, kb9vqf |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Philip Ashmore
2012-05-05 20:00:51 CDT
Any chance you could attach the mp3 file (as long as there is no potential copyright issue!) for testing? Thanks! I thought that by providing a URL I was neatly side-stepping the copyright issue :-P Like I said in the "Steps to reproduce", all you need is Firefox, UnPlug and ffmpeg to get the mp3 file. Your computer needs to do this anyway so you can hear the audio from YouTube. (In reply to comment #2) > I thought that by providing a URL I was neatly side-stepping the copyright > issue :-P No, as it opens me to liability for accessing copyrighted material without a license. > Like I said in the "Steps to reproduce", all you need is Firefox, UnPlug and > ffmpeg to get the mp3 file. > > Your computer needs to do this anyway so you can hear the audio from YouTube. Why? Philip, I noticed while playing the video in my browser the file was automatically segregated into 6 smaller files. Curious, I downloaded unplug but that plugin needs additional support tools for this particular video (rtmpdump). Therein lies a probable clue of what is happening. That is, this video is not an ordinary run-of-the-mill video. rtmp is the same protocol used by hulu.com, although those folks add encryption to the process to prevent copying. Extracting audio from most videos is a straightforward process with ffmpeg, but this particular video is streamed with rtmpdump. I'm no audio-video expert, but I have converted standard youtube videos and I never saw a timing problem in amarok. I only used ffmpeg and never used avconv. My first hunch is the conversion tools. Amarok could be using a flawed method to produce the timing information, but I'd like to see different conversion methods before debugging that path. Would you please use ffmpeg to extract the audio to an mp3 audio file and then test that particular conversion in amarok? To provide further data, please run some additional sample tests with other videos that don't use rtmpdump and see whether amarok still gets the timing incorrect. Can the OP still validate this report that problem is Amarok and not the conversion tools? I used youtube-dl to download the video linked in the original post. youtube-dl uses rtmpdump to download a full single video file. I used ffmpeg to extract the audio as an mp3 (ffmpeg -i -vn). Amarok showed a track length of 5:16 . The youtube video is 5:16 in length. Yeah, it looks like it was an ffmpeg problem - I just tried converting one of those problem webms and even the file size is different - Amarok and ffprobe now agree on the duration. Feel free to close this bug. Closing at request of reporter. |