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, 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
  #3  
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
  #4  
Old 09-24-2014, 06:25 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


I used the denobis patched version to download the file but I don't think that this should be the reason for your corrupted file.So you should try to check the downloaded file itself with any video tools what infos they give you.

Can you play the rtmp link with your VLC directly without to download?Try to check it with VirtualDub for exsample + any flv/mp4 filter plugin for directshow.

Maybe the problem is really your OS + rtmpdump compiled version.On the other hand if only this video link makes trouble then download the video via windows (VMWare).

greetz
Reply With Quote
  #5  
Old 09-24-2014, 07:02 PM
alsersawy alsersawy is offline
Senior Member
 
Join Date: Jul 2014
Posts: 128
alsersawy is on a distinguished road
Default

Re: Downloaded mp4 files are corrupt


can you help me in this problem

in this site

http://www.teledunet.com/

my link
Code:
rtmpdump -v -r "rtmp://www.teledunet.net:1935/teledunet" -a "teledunet" -f "WIN 13,0,0,214" -W "http://www.teledunet.com/mobile//player.swf?id0=1.10105792922E+12&channel=tunisia_national_1" -p "http://www.teledunet.com/mobile/" -C "S:OK" -y "saudisport" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

the problem
Download complete
how i can play it without stops

Code:
saudisport
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
KSV patched + Denobis patched
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   duration                0.00
INFO:   width                   768.00
INFO:   height                  432.00
INFO:   videodatarate           0.00
INFO:   framerate               1000.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           0.00
INFO:   audiosamplerate         22050.00
INFO:   audiosamplesize         16.00
INFO:   stereo                  FALSE
INFO:   audiocodecid            2.00
INFO:   encoder                 Lavf54.3.100
INFO:   filesize                0.00
3593.359 kB / 20.35 sec
ERROR: WriteN, RTMP send error 10054 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 16575
3597.431 kB / 20.40 sec
Download complete
thank you for help
Reply With Quote
  #6  
Old 09-24-2014, 07:32 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


Uninstalled and reinstalled the KSV patched version. Works now
Reply With Quote
  #7  
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
  #8  
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
  #9  
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
  #10  
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
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 11:07 PM.


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