Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-24-2014, 01:03 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Downloaded mp4 files are corrupt


I'm on Ubuntu....

ran:

Code:
rtmpdump -r "rtmp://neulionms.fcod.llnwd.net/a5306/e1/mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600" -o kcmia.mp4
Download completes:
Code:
869823.184 kB / 4772.39 sec (99.9%)
Download complete
But when I try to play the mp4 file in VLC it does not play. When I try to play in browser, it says the file is corrupt.

Any ideas what is happening and what I need to do to fix this?
Reply With Quote
  #2  
Old 09-24-2014, 02:14 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


Quote:
Originally Posted by hasomaso View Post
put original link
This is the only link I have:

rtmp://neulionms.fcod.llnwd.net/a5306/e1/mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600

This has worked for me streaming on Windows with VLC before, but not working with rtmpdump. I know it works for other people as well.
Reply With Quote
  #3  
Old 09-24-2014, 03:54 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


you must create extra a playpath -y line
Code:
-y "mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600"

try that

Code:
rtmpdump -r "rtmp://neulionms.fcod.llnwd.net/a5306/e1/" -y "mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600" -o "output.flv"
Code:
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                4772.42
INFO:   moovPosition            32.00
INFO:   width                   960.00
INFO:   height                  540.00
INFO:   videocodecid            avc1
INFO:   avcprofile              77.00
INFO:   avclevel                31.00
INFO:   videoframerate          29.97
INFO: trackinfo:
INFO:   length                  4772423.00
INFO:   timescale               1000.00
INFO:   language                und
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   length                  429518070.00
INFO:   timescale               90000.00
INFO:   language                und
INFO: sampledescription:
15847.985 kB / 87.42 sec (1.8%)
Reply With Quote
  #4  
Old 09-24-2014, 04:10 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


So you should also try to use the rtmp parameter -e to resume the download so I see for me it does stop many times...
Code:
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                4772.42
INFO:   moovPosition            32.00
INFO:   width                   960.00
INFO:   height                  540.00
INFO:   videocodecid            avc1
INFO:   avcprofile              77.00
INFO:   avclevel                31.00
INFO:   videoframerate          29.97
INFO: trackinfo:
INFO:   length                  4772423.00
INFO:   timescale               1000.00
INFO:   language                und
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   length                  429518070.00
INFO:   timescale               90000.00
INFO:   language                und
INFO: sampledescription:
255507.949 kB / 1404.46 sec (29.4%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
255656.735 kB / 1405.16 sec (29.4%)
INFO: Connection timed out, trying to resume.


Resuming download at: 255656.735 kB
259489.734 kB / 1428.65 sec (29.9%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
259642.604 kB / 1429.15 sec (29.9%)
INFO: Connection timed out, trying to resume.


Resuming download at: 259642.604 kB
263337.683 kB / 1449.84 sec (30.3%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
263414.453 kB / 1449.94 sec (30.3%)
INFO: Connection timed out, trying to resume.


Resuming download at: 263414.453 kB
267243.929 kB / 1469.96 sec (30.8%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
267447.229 kB / 1470.89 sec (30.8%)
INFO: Connection timed out, trying to resume.


Resuming download at: 267447.229 kB
273088.655 kB / 1503.22 sec (31.4%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
273315.418 kB / 1504.73 sec (31.5%)
INFO: Connection timed out, trying to resume.


Resuming download at: 273315.418 kB
296798.662 kB / 1634.32 sec (34.2%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
296873.858 kB / 1634.68 sec (34.2%)
INFO: Connection timed out, trying to resume.


Resuming download at: 296873.858 kB
312465.088 kB / 1720.94 sec (36.0%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
312705.939 kB / 1721.43 sec (36.0%)
INFO: Connection timed out, trying to resume.


Resuming download at: 312705.939 kB
328212.096 kB / 1808.09 sec (37.8%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
328460.891 kB / 1808.72 sec (37.8%)
INFO: Connection timed out, trying to resume.


Resuming download at: 328460.891 kB
346070.156 kB / 1904.38 sec (39.9%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
346158.915 kB / 1904.58 sec (39.9%)
INFO: Connection timed out, trying to resume.


Resuming download at: 346158.915 kB
349613.012 kB / 1923.40 sec (40.3%)
...the download will take a while.Will check whether the file after is ok or not.

greetz
Reply With Quote
  #5  
Old 09-24-2014, 04:13 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


Thanks for the help. Unfortunately I'm still getting corrupted file.
Reply With Quote
  #6  
Old 09-24-2014, 04:19 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


So what did you tried now?So I am still downloading the file (49% now) but I can play it already in VLC player without problems.

Here my link....
Code:
rtmpdump -r "rtmp://neulionms.fcod.llnwd.net/a5306" -a "a5306/e1/" -y "mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600" -e -o "football.flv"
greetz
Reply With Quote
  #7  
Old 09-24-2014, 04:28 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


Quote:
Originally Posted by troller12 View Post
So what did you tried now?So I am still downloading the file (49% now) but I can play it already in VLC player without problems.

Here my link....
Code:
rtmpdump -r "rtmp://neulionms.fcod.llnwd.net/a5306" -a "a5306/e1/" -y "mp4:u/nfl/nfl/coachtapes/2014/56214_all_1600" -e -o "football.flv"
greetz
I just tried this exact command. I cannot play in VLC.

I suspect this may be an issue with the installation? Is it possible for me to verify configuration to see if I need to re-install?
Reply With Quote
  #8  
Old 09-24-2014, 04:30 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


This is what I receive when I try to play the file:

Code:
~$ cvlc output.flv
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1937f18] dummy interface: using the dummy interface module...
[flv @ 0x7fc6ccc20b80] Unsupported audio codec (9)
[flv @ 0x7fc6ccc20b80] Could not find codec parameters (Audio: [9][0][0][0] / 0x0009, 5512 Hz, stereo)
[flv @ 0x7fc6bcc01c40] Unsupported audio codec (9)
[flv @ 0x7fc6bcc01c40] Could not find codec parameters (Audio: [9][0][0][0] / 0x0009, 5512 Hz, stereo)
[0x7fc6bcda0f58] main decoder error: no suitable decoder module for fourcc `undf'. VLC probably does not support this sound or video format.
[0x7fc6bcda0f58] main decoder error: No suitable decoder module
[0x7fc6bcda0f58] main decoder error: VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7fc6b4004f08] main vout display error: Failed to resize display
Reply With Quote
  #9  
Old 09-24-2014, 05:00 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


Ok download finished now.All working fine also if the file has no audio stream only video.Just try it again.I also use VLC 2.0.4 Twoflower.Anyway so I can play the file also in other players too.

greetz
Reply With Quote
  #10  
Old 09-24-2014, 05:04 PM
stringer bell stringer bell is offline
Junior Member
 
Join Date: Sep 2014
Posts: 9
stringer bell is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


Quote:
Originally Posted by troller12 View Post
Ok download finished now.All working fine also if the file has no audio stream only video.Just try it again.I also use VLC 2.0.4 Twoflower.Anyway so I can play the file also in other players too.

greetz
I have tried multiple times and always a corrupted file.

I may try downloading the KLV patched version. Do I just clone the git repository then use make command?
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:26 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons